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.61/1.61, allocations: 285.4 MB / 298 MB, free: 5.992 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.001078/0.001078, allocations: 176.8 kB / 366.4 MB, free: 2.105 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.638/1.638, allocations: 205.1 MB / 0.6248 GB, free: 7.754 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008599/0.00086, allocations: 100.8 kB / 0.738 GB, free: 40.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.621e-05/3.623e-05, allocations: 4 kB / 0.8584 GB, free: 13.01 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.729/0.7291, allocations: 115.3 MB / 0.971 GB, free: 77.86 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1993/0.9284, allocations: 144 MB / 1.112 GB, free: 7.832 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000284/0.9288, allocations: 84.47 kB / 1.112 GB, free: 7.75 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.0183/0.9471, allocations: 6.991 MB / 1.118 GB, free: 0.8359 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.393e-06/0.9471, allocations: 0 / 1.118 GB, free: 0.8359 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.986e-05/0.9472, allocations: 4 kB / 1.118 GB, free: 0.832 MB / 0.7136 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.0008013/0.948, allocations: 0.5605 MB / 1.119 GB, free: 232 kB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.948, allocations: 8.031 kB / 1.119 GB, free: 224 kB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.29e-05/0.9481, allocations: 61.36 kB / 1.119 GB, free: 156 kB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.564e-05/0.9482, allocations: 47.44 kB / 1.119 GB, free: 108 kB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005892/0.9488, allocations: 394.7 kB / 1.12 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.23e-05/0.9489, allocations: 21.78 kB / 1.12 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.678e-05/0.9489, allocations: 24 kB / 1.12 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005087/0.9494, allocations: 309.4 kB / 1.12 GB, free: 15.31 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.9494, allocations: 0 / 1.12 GB, free: 15.31 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.009e-05/0.9495, allocations: 12 kB / 1.12 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.709e-06/0.9495, allocations: 8 kB / 1.12 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003545/0.9499, allocations: 202.2 kB / 1.12 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00154/0.9514, allocations: 1.166 MB / 1.121 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004289/0.9518, allocations: 205.4 kB / 1.121 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000135/0.952, allocations: 84.86 kB / 1.121 GB, free: 13.58 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.835e-05/0.952, allocations: 224 / 1.121 GB, free: 13.58 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.311e-05/0.9521, allocations: 38.56 kB / 1.122 GB, free: 13.53 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=16): time 1.052e-06/0.9521, allocations: 3.938 kB / 1.122 GB, free: 13.53 MB / 0.7292 GB Notification: Performance of matching and sorting (n=16): time 0.0003861/0.9525, allocations: 205.4 kB / 1.122 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.343e-05/0.9525, allocations: 77.11 kB / 1.122 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003587/0.9529, allocations: 295.7 kB / 1.122 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.844e-05/0.953, allocations: 33.7 kB / 1.122 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001489/0.9531, allocations: 196 kB / 1.122 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 5.831e-05/0.9532, allocations: 59.19 kB / 1.122 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.127e-05/0.9532, allocations: 4 kB / 1.122 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.9534, allocations: 338.8 kB / 1.123 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001098/0.9535, allocations: 64 kB / 1.123 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001565/0.9536, allocations: 101.5 kB / 1.123 GB, free: 12.12 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001239/0.9538, allocations: 73.11 kB / 1.123 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.9538, allocations: 0 / 1.123 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003438/0.9541, allocations: 222.9 kB / 1.123 GB, free: 11.83 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001601/0.9543, allocations: 279 kB / 1.123 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.9543, allocations: 0 / 1.123 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.9543, allocations: 0 / 1.123 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001766/0.9545, allocations: 35.98 kB / 1.123 GB, free: 11.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.171e-05/0.9545, allocations: 5.391 kB / 1.123 GB, free: 11.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000146/0.9547, allocations: 19.84 kB / 1.123 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.833e-05/0.9547, allocations: 8 kB / 1.123 GB, free: 11.47 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.708e-06/0.9547, allocations: 11.95 kB / 1.123 GB, free: 11.46 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002575/0.955, allocations: 162.5 kB / 1.124 GB, free: 11.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.955, allocations: 7.984 kB / 1.124 GB, free: 11.3 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.615e-06/0.955, allocations: 0 / 1.124 GB, free: 11.3 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/0.9552, allocations: 27.92 kB / 1.124 GB, free: 11.27 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.336e-06/0.9552, allocations: 6.062 kB / 1.124 GB, free: 11.27 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001147/0.9553, allocations: 19.84 kB / 1.124 GB, free: 11.25 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.16e-05/0.9553, allocations: 4 kB / 1.124 GB, free: 11.24 MB / 0.7292 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 (actSet.y,actAct.y,expMod.mod.conPI.I.local_reset) * Number of discrete 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.0001016/0.9554, allocations: 118.3 kB / 1.124 GB, free: 11.12 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.73e-05/0.9555, allocations: 31.58 kB / 1.124 GB, free: 11.09 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.557e-05/0.9556, allocations: 39.05 kB / 1.124 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/0.9556, allocations: 4 kB / 1.124 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.9556, allocations: 1.875 kB / 1.124 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.9556, allocations: 0 / 1.124 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000483/0.9561, allocations: 405.3 kB / 1.124 GB, free: 10.61 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.9561, allocations: 3.938 kB / 1.124 GB, free: 10.6 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001732/0.9563, allocations: 35.98 kB / 1.124 GB, free: 10.57 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.9563, allocations: 0 / 1.124 GB, free: 10.57 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.071e-05/0.9563, allocations: 7.953 kB / 1.124 GB, free: 10.56 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.9563, allocations: 3.984 kB / 1.124 GB, free: 10.55 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.9563, allocations: 0 / 1.124 GB, free: 10.55 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005473/0.9569, allocations: 391 kB / 1.125 GB, free: 10.16 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001389/0.9571, allocations: 136.7 kB / 1.125 GB, free: 10 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.728e-05/0.9571, allocations: 7.812 kB / 1.125 GB, free: 10 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001558/0.9573, allocations: 20.02 kB / 1.125 GB, free: 9.98 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.763e-05/0.9573, allocations: 7.984 kB / 1.125 GB, free: 9.973 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.288e-06/0.9573, allocations: 4 kB / 1.125 GB, free: 9.969 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002447/0.9576, allocations: 234.2 kB / 1.125 GB, free: 9.738 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9576, allocations: 4 kB / 1.125 GB, free: 9.734 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003744/0.958, allocations: 95.67 kB / 1.125 GB, free: 9.641 MB / 0.7292 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 (actSet.y,actAct.y) * Number of discrete 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.0008819/0.9589, allocations: 0.9325 MB / 1.126 GB, free: 8.684 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004552/0.9593, allocations: 253.9 kB / 1.126 GB, free: 8.434 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.9593, allocations: 3 kB / 1.126 GB, free: 8.434 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001298/0.9595, allocations: 83.88 kB / 1.126 GB, free: 8.352 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005031/0.96, allocations: 79.11 kB / 1.126 GB, free: 8.277 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001074/0.9611, allocations: 475.3 kB / 1.127 GB, free: 7.773 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003745/0.9615, allocations: 0.7882 MB / 1.128 GB, free: 6.961 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002045/0.9617, allocations: 45.92 kB / 1.128 GB, free: 6.918 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001758/0.9618, allocations: 103.4 kB / 1.128 GB, free: 6.816 MB / 0.7292 GB Notification: Performance of SimCode: time 4.11e-07/0.9619, allocations: 3.938 kB / 1.128 GB, free: 6.812 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01813/0.98, allocations: 6.664 MB / 1.134 GB, free: 416 kB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001727/0.9802, allocations: 171 kB / 1.135 GB, free: 188 kB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.219/3.199, allocations: 0 / 1.135 GB, free: 188 kB / 0.7292 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)