Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.583/1.583, allocations: 288.2 MB / 303.2 MB, free: 8.105 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001011/0.001011, allocations: 179.4 kB / 371.8 MB, free: 10.28 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.514/1.514, allocations: 205.4 MB / 0.6305 GB, free: 9.961 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009035/0.0009035, allocations: 94.8 kB / 0.7439 GB, free: 5.883 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003833/0.0003836, allocations: 10.91 kB / 0.8669 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2339/0.2343, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.003701/0.2381, allocations: 2.197 MB / 0.9816 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00195/0.2401, allocations: 0.8817 MB / 0.9825 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003577/0.2405, allocations: 11.94 kB / 0.9825 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 6.046e-05/0.2406, allocations: 23.72 kB / 0.9825 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0005314/0.2411, allocations: 79.67 kB / 0.9826 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003934/0.2415, allocations: 141.9 kB / 0.9827 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004323/0.242, allocations: 264.1 kB / 0.983 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002445/0.2422, allocations: 144.4 kB / 0.9831 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.703e-05/0.2423, allocations: 83.52 kB / 0.9832 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001288/0.2425, allocations: 103.3 kB / 0.9833 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.131e-05/0.2425, allocations: 8 kB / 0.9833 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 2.533e-05/0.2425, allocations: 8 kB / 0.9833 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.312e-05/0.2426, allocations: 35.78 kB / 0.9833 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.72e-05/0.2427, allocations: 89.52 kB / 0.9834 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003388/0.243, allocations: 499 kB / 0.9839 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.243, allocations: 0 / 0.9839 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.743e-06/0.243, allocations: 0 / 0.9839 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.243, allocations: 0 / 0.9839 GB, free: 23.05 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0008368/0.2439, allocations: 0.5921 MB / 0.9845 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.2439, allocations: 12.02 kB / 0.9845 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.447e-05/0.244, allocations: 66.55 kB / 0.9846 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.781e-05/0.2441, allocations: 43.48 kB / 0.9846 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004618/0.2445, allocations: 374.2 kB / 0.985 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.724e-05/0.2446, allocations: 24.56 kB / 0.985 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.131e-05/0.2446, allocations: 27.91 kB / 0.985 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005513/0.2452, allocations: 333.3 kB / 0.9853 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.2452, allocations: 0 / 0.9853 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.926e-05/0.2452, allocations: 15.94 kB / 0.9853 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.272e-05/0.2453, allocations: 8 kB / 0.9853 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004313/0.2457, allocations: 242.2 kB / 0.9856 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001439/0.2471, allocations: 1.178 MB / 0.9867 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005126/0.2477, allocations: 262.7 kB / 0.987 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.912e-05/0.2477, allocations: 0 / 0.987 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.344e-05/0.2477, allocations: 34.56 kB / 0.987 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 1.132e-06/0.2478, allocations: 4 kB / 0.987 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16): time 0.0006135/0.2484, allocations: 323.2 kB / 0.9873 GB, free: 19.35 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.246e-05/0.2484, allocations: 85.11 kB / 0.9874 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003073/0.2487, allocations: 333.7 kB / 0.9877 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.942e-05/0.2488, allocations: 29.7 kB / 0.9877 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.965e-05/0.2489, allocations: 192.1 kB / 0.9879 GB, free: 18.69 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.528e-05/0.2489, allocations: 59.19 kB / 0.988 GB, free: 18.63 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.726e-05/0.249, allocations: 4 kB / 0.988 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.978e-05/0.2491, allocations: 342.8 kB / 0.9883 GB, free: 18.28 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002515/0.2493, allocations: 87.97 kB / 0.9884 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001995/0.2495, allocations: 120.9 kB / 0.9885 GB, free: 18.07 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001654/0.2497, allocations: 94.05 kB / 0.9886 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.2497, allocations: 0 / 0.9886 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003877/0.2501, allocations: 273 kB / 0.9889 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.819e-05/0.2502, allocations: 268.2 kB / 0.9891 GB, free: 17.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/0.2502, allocations: 0 / 0.9891 GB, free: 17.42 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.2502, allocations: 8.062 kB / 0.9891 GB, free: 17.41 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001588/0.2504, allocations: 35.97 kB / 0.9892 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.2504, allocations: 4 kB / 0.9892 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001241/0.2505, allocations: 27.78 kB / 0.9892 GB, free: 17.35 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.555e-05/0.2506, allocations: 8 kB / 0.9892 GB, free: 17.34 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.682e-06/0.2506, allocations: 4 kB / 0.9892 GB, free: 17.34 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002791/0.2509, allocations: 177.2 kB / 0.9894 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.925e-06/0.2509, allocations: 7.938 kB / 0.9894 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-06/0.2509, allocations: 0 / 0.9894 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001165/0.251, allocations: 27.98 kB / 0.9894 GB, free: 17.13 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.024e-06/0.251, allocations: 0 / 0.9894 GB, free: 17.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001032/0.2511, allocations: 27.78 kB / 0.9894 GB, free: 17.1 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.278e-06/0.2511, allocations: 4 kB / 0.9894 GB, free: 17.1 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 (expMod.oveWriSet_activate,expMod.oveWriAct_activate,expMod.mod.conPI.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001706/0.2513, allocations: 245.1 kB / 0.9897 GB, free: 16.85 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.735e-05/0.2514, allocations: 35.58 kB / 0.9897 GB, free: 16.81 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.187e-05/0.2514, allocations: 39.27 kB / 0.9897 GB, free: 16.77 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.2515, allocations: 7.938 kB / 0.9898 GB, free: 16.76 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.2515, allocations: 0 / 0.9898 GB, free: 16.76 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.2515, allocations: 0 / 0.9898 GB, free: 16.76 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003373/0.2518, allocations: 409.2 kB / 0.9901 GB, free: 16.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.2518, allocations: 0 / 0.9901 GB, free: 16.31 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001604/0.252, allocations: 31.94 kB / 0.9902 GB, free: 16.28 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.252, allocations: 4 kB / 0.9902 GB, free: 16.28 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.582e-05/0.252, allocations: 4 kB / 0.9902 GB, free: 16.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.252, allocations: 7.938 kB / 0.9902 GB, free: 16.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.252, allocations: 0 / 0.9902 GB, free: 16.27 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005943/0.2526, allocations: 451 kB / 0.9906 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001105/0.2528, allocations: 128.7 kB / 0.9907 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.763e-05/0.2528, allocations: 15.94 kB / 0.9908 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001418/0.253, allocations: 8 kB / 0.9908 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.39e-05/0.253, allocations: 12.05 kB / 0.9908 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.081e-05/0.253, allocations: 8 kB / 0.9908 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001961/0.2532, allocations: 239.2 kB / 0.991 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2532, allocations: 0 / 0.991 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003563/0.2536, allocations: 91.59 kB / 0.9911 GB, free: 15.3 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (expMod.mod.conPI.I.y,expMod.mod.firOrd.y) * Number of discrete variables: 2 (expMod.oveWriSet_activate,expMod.oveWriAct_activate) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007443/0.2543, allocations: 0.9827 MB / 0.9921 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005092/0.2549, allocations: 293.6 kB / 0.9923 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2549, allocations: 0 / 0.9923 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001692/0.2551, allocations: 108.1 kB / 0.9924 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004926/0.2556, allocations: 73.33 kB / 0.9925 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00275/0.2583, allocations: 2.094 MB / 0.9946 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002235/0.2586, allocations: 0.7872 MB / 0.9953 GB, free: 10.87 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001355/0.2587, allocations: 38.2 kB / 0.9954 GB, free: 10.83 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001326/0.2588, allocations: 99.41 kB / 0.9955 GB, free: 10.73 MB / 0.6198 GB Notification: Performance of SimCode: time 2.7e-07/0.2588, allocations: 0 / 0.9955 GB, free: 10.73 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01634/0.2752, allocations: 6.127 MB / 1.001 GB, free: 4.785 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001933/0.2754, allocations: 195.7 kB / 1.002 GB, free: 4.547 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.917/2.192, allocations: 4 kB / 1.002 GB, free: 4.543 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder_fmu --startTime=0 --stopTime=150 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder.fmu > Buildings_maint.8.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1)