Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 105.7 kB / 16.4 MB, free: 6.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001302/0.001302, allocations: 191.7 kB / 19.36 MB, free: 3.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 222.9 MB / 245.1 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.531/2.531, allocations: 437.1 MB / 0.7171 GB, free: 4.082 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder,fileNamePrefix="Buildings_10_Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder,fileNamePrefix="Buildings_10_Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001934/0.001934, allocations: 71.89 kB / 1.027 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8586/0.8605, allocations: 151.6 MB / 1.175 GB, free: 17.44 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.003775/0.8643, allocations: 2.604 MB / 1.177 GB, free: 15.61 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001379/0.8657, allocations: 0.9084 MB / 1.178 GB, free: 14.95 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002122/0.866, allocations: 12.28 kB / 1.178 GB, free: 14.94 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001927/0.8662, allocations: 63.03 kB / 1.178 GB, free: 14.89 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.000137/0.8663, allocations: 58.38 kB / 1.178 GB, free: 14.85 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004771/0.8668, allocations: 239.7 kB / 1.178 GB, free: 14.69 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0004392/0.8672, allocations: 457.3 kB / 1.179 GB, free: 14.43 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003233/0.8676, allocations: 227.3 kB / 1.179 GB, free: 14.32 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001386/0.8677, allocations: 142.1 kB / 1.179 GB, free: 14.23 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001562/0.8679, allocations: 154.4 kB / 1.179 GB, free: 14.12 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 7.12e-05/0.868, allocations: 50.47 kB / 1.179 GB, free: 14.12 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 6.373e-05/0.868, allocations: 51.28 kB / 1.179 GB, free: 14.12 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 6.873e-05/0.8681, allocations: 90.3 kB / 1.18 GB, free: 14.05 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001312/0.8683, allocations: 190.1 kB / 1.18 GB, free: 13.91 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0006837/0.8689, allocations: 0.6219 MB / 1.18 GB, free: 13.65 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.869, allocations: 1.375 kB / 1.18 GB, free: 13.65 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.192e-06/0.869, allocations: 0 / 1.18 GB, free: 13.65 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.424e-05/0.869, allocations: 0 / 1.18 GB, free: 13.65 MB / 0.92 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.0008222/0.8698, allocations: 0.6643 MB / 1.181 GB, free: 13.09 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.8699, allocations: 10.03 kB / 1.181 GB, free: 13.09 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.879e-05/0.8699, allocations: 62.22 kB / 1.181 GB, free: 13.03 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.544e-05/0.87, allocations: 40.47 kB / 1.181 GB, free: 13.01 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004346/0.8704, allocations: 399.9 kB / 1.181 GB, free: 12.68 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.749e-05/0.8705, allocations: 20.59 kB / 1.182 GB, free: 12.67 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.453e-05/0.8705, allocations: 28.94 kB / 1.182 GB, free: 12.66 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005541/0.8711, allocations: 331 kB / 1.182 GB, free: 12.48 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.8711, allocations: 0 / 1.182 GB, free: 12.48 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.675e-05/0.8711, allocations: 10.44 kB / 1.182 GB, free: 12.47 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.348e-06/0.8711, allocations: 6.594 kB / 1.182 GB, free: 12.47 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004632/0.8716, allocations: 235.1 kB / 1.182 GB, free: 12.38 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00136/0.873, allocations: 1.162 MB / 1.183 GB, free: 11.56 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004592/0.8735, allocations: 227.1 kB / 1.183 GB, free: 11.46 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001816/0.8736, allocations: 102.7 kB / 1.184 GB, free: 11.41 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.726e-05/0.8737, allocations: 1.469 kB / 1.184 GB, free: 11.41 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.897e-05/0.8737, allocations: 32.62 kB / 1.184 GB, free: 11.37 MB / 0.92 GB Notification: Performance of pre-optimization done (n=16): time 1.814e-06/0.8737, allocations: 0 / 1.184 GB, free: 11.37 MB / 0.92 GB Notification: Performance of matching and sorting (n=16): time 0.0006358/0.8744, allocations: 308.1 kB / 1.184 GB, free: 11.22 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.391e-05/0.8744, allocations: 83.33 kB / 1.184 GB, free: 11.12 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003075/0.8747, allocations: 326.8 kB / 1.184 GB, free: 10.94 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/0.8747, allocations: 29.7 kB / 1.184 GB, free: 10.91 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.000109/0.8748, allocations: 201 kB / 1.184 GB, free: 10.74 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 4.387e-05/0.8749, allocations: 58.73 kB / 1.185 GB, free: 10.69 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.961e-05/0.875, allocations: 40.06 kB / 1.185 GB, free: 10.66 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 6.729e-05/0.875, allocations: 339.6 kB / 1.185 GB, free: 10.34 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001761/0.8752, allocations: 92.48 kB / 1.185 GB, free: 10.29 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001849/0.8754, allocations: 112.7 kB / 1.185 GB, free: 10.23 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000333/0.8758, allocations: 195.5 kB / 1.185 GB, free: 10.12 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.8758, allocations: 1.188 kB / 1.185 GB, free: 10.12 MB / 0.92 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004349/0.8762, allocations: 256.4 kB / 1.186 GB, free: 9.992 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.8762, allocations: 5 kB / 1.186 GB, free: 9.992 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.8762, allocations: 1.844 kB / 1.186 GB, free: 9.992 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.8763, allocations: 4.969 kB / 1.186 GB, free: 9.988 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001771/0.8764, allocations: 29.28 kB / 1.186 GB, free: 9.988 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.248e-06/0.8765, allocations: 15.11 kB / 1.186 GB, free: 9.977 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001294/0.8766, allocations: 26.53 kB / 1.186 GB, free: 9.961 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.528e-05/0.8766, allocations: 4.969 kB / 1.186 GB, free: 9.961 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002112/0.8768, allocations: 196.4 kB / 1.186 GB, free: 9.82 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001378/0.877, allocations: 100.2 kB / 1.186 GB, free: 9.758 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002339/0.8772, allocations: 171.3 kB / 1.186 GB, free: 9.656 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.072e-06/0.8772, allocations: 1.188 kB / 1.186 GB, free: 9.656 MB / 0.92 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0003279/0.8776, allocations: 231.4 kB / 1.186 GB, free: 9.531 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 8.435e-06/0.8776, allocations: 6 kB / 1.186 GB, free: 9.531 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.775e-06/0.8776, allocations: 0.6094 kB / 1.186 GB, free: 9.531 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.316e-06/0.8776, allocations: 2.469 kB / 1.186 GB, free: 9.531 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.8777, allocations: 25.5 kB / 1.186 GB, free: 9.531 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.227e-06/0.8777, allocations: 1.125 kB / 1.186 GB, free: 9.531 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001088/0.8778, allocations: 23.14 kB / 1.186 GB, free: 9.516 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/0.8779, allocations: 4.188 kB / 1.186 GB, free: 9.516 MB / 0.92 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.oveWriAct_activate,expMod.oveWriSet_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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.258e-05/0.8779, allocations: 188.1 kB / 1.187 GB, free: 9.328 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.041e-05/0.878, allocations: 35.06 kB / 1.187 GB, free: 9.309 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.03e-05/0.8781, allocations: 35.25 kB / 1.187 GB, free: 9.285 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.8781, allocations: 2.406 kB / 1.187 GB, free: 9.285 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.8781, allocations: 4.453 kB / 1.187 GB, free: 9.281 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.8781, allocations: 1.875 kB / 1.187 GB, free: 9.281 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004068/0.8785, allocations: 412.8 kB / 1.187 GB, free: 8.977 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.8785, allocations: 1.219 kB / 1.187 GB, free: 8.977 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001654/0.8787, allocations: 28.98 kB / 1.187 GB, free: 8.973 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.8787, allocations: 1.281 kB / 1.187 GB, free: 8.973 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.698e-05/0.8787, allocations: 5.984 kB / 1.187 GB, free: 8.969 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.8787, allocations: 0 / 1.187 GB, free: 8.969 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.8787, allocations: 5.312 kB / 1.187 GB, free: 8.965 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006277/0.8794, allocations: 437 kB / 1.187 GB, free: 8.695 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 9.057e-05/0.8795, allocations: 136.9 kB / 1.188 GB, free: 8.559 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.733e-05/0.8795, allocations: 6.031 kB / 1.188 GB, free: 8.555 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001445/0.8797, allocations: 9.531 kB / 1.188 GB, free: 8.555 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.74e-05/0.8797, allocations: 17.08 kB / 1.188 GB, free: 8.547 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.8797, allocations: 2.656 kB / 1.188 GB, free: 8.547 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.000231/0.88, allocations: 235.1 kB / 1.188 GB, free: 8.418 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.6e-07/0.88, allocations: 4.062 kB / 1.188 GB, free: 8.414 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0003853/0.8804, allocations: 95.77 kB / 1.188 GB, free: 8.383 MB / 0.92 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007595/0.8811, allocations: 0.9669 MB / 1.189 GB, free: 7.59 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0005684/0.8817, allocations: 295.1 kB / 1.189 GB, free: 7.473 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.8817, allocations: 0 / 1.189 GB, free: 7.473 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001867/0.8819, allocations: 97.05 kB / 1.189 GB, free: 7.438 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005684/0.8825, allocations: 87.17 kB / 1.189 GB, free: 7.41 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003585/0.8861, allocations: 2.94 MB / 1.192 GB, free: 5.469 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002313/0.8863, allocations: 0.7742 MB / 1.193 GB, free: 4.77 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0001662/0.8865, allocations: 37.31 kB / 1.193 GB, free: 4.754 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001488/0.8867, allocations: 98.53 kB / 1.193 GB, free: 4.68 MB / 0.92 GB Notification: Performance of SimCode: time 3.4e-07/0.8867, allocations: 0 / 1.193 GB, free: 4.68 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03031/0.917, allocations: 6.684 MB / 1.2 GB, free: 2.027 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.179/9.096, allocations: 13.11 kB / 1.2 GB, free: 2.02 MB / 0.92 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; mkfifo Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe >> ../files/Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder_fmu --startTime=0 --stopTime=150 --stepSize=0.06 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder.fmu > Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 14.763329659122974] Failed to read output from testmodel.py, exit status != 0: 9.169293124927208 9.194395163 8.320957305 Calling exit ...