Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 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: translateModel(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder") translateModel(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005416/0.005416, allocations: 101.3 kB / 15.73 MB, free: 6.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 187.3 kB / 16.67 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.225/1.225, allocations: 205.1 MB / 222.5 MB, free: 4.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.358/1.358, allocations: 251.7 MB / 0.5094 GB, free: 3 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 71.89 kB / 0.7258 GB, free: 9.156 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1922/0.1935, allocations: 104.7 MB / 0.828 GB, free: 352 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.003337/0.1969, allocations: 2.629 MB / 0.8306 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001306/0.1982, allocations: 0.9632 MB / 0.8315 GB, free: 12.72 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001603/0.1984, allocations: 15.94 kB / 0.8315 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001714/0.1985, allocations: 63.39 kB / 0.8316 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001329/0.1987, allocations: 63.34 kB / 0.8317 GB, free: 12.58 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004064/0.1991, allocations: 235.1 kB / 0.8319 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003808/0.1995, allocations: 463.6 kB / 0.8323 GB, free: 11.9 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003008/0.1998, allocations: 229.1 kB / 0.8325 GB, free: 11.67 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001439/0.2, allocations: 151.4 kB / 0.8327 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001538/0.2001, allocations: 147.2 kB / 0.8328 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 6.252e-05/0.2002, allocations: 52 kB / 0.8329 GB, free: 11.33 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 4.754e-05/0.2002, allocations: 51.94 kB / 0.8329 GB, free: 11.28 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 6.827e-05/0.2003, allocations: 91.7 kB / 0.833 GB, free: 11.19 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001346/0.2004, allocations: 191 kB / 0.8332 GB, free: 11 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004893/0.2009, allocations: 0.623 MB / 0.8338 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.201, allocations: 0 / 0.8338 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.673e-06/0.201, allocations: 4 kB / 0.8338 GB, free: 10.37 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.735e-06/0.201, allocations: 0 / 0.8338 GB, free: 10.37 MB / 0.6544 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.0008352/0.2018, allocations: 0.6568 MB / 0.8344 GB, free: 9.668 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.2019, allocations: 12.03 kB / 0.8345 GB, free: 9.656 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.502e-05/0.2019, allocations: 40.47 kB / 0.8345 GB, free: 9.617 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004731/0.2024, allocations: 399.2 kB / 0.8349 GB, free: 9.188 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.141e-05/0.2025, allocations: 20.94 kB / 0.8349 GB, free: 9.168 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.691e-05/0.2025, allocations: 24.38 kB / 0.8349 GB, free: 9.145 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005301/0.203, allocations: 333.7 kB / 0.8352 GB, free: 8.805 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.2031, allocations: 0 / 0.8352 GB, free: 8.805 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.743e-05/0.2031, allocations: 16 kB / 0.8353 GB, free: 8.789 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.2031, allocations: 8 kB / 0.8353 GB, free: 8.781 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004397/0.2036, allocations: 234.1 kB / 0.8355 GB, free: 8.551 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001262/0.2048, allocations: 1.163 MB / 0.8366 GB, free: 7.332 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004244/0.2053, allocations: 230.9 kB / 0.8368 GB, free: 7.098 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001747/0.2054, allocations: 96.06 kB / 0.8369 GB, free: 7.004 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.926e-05/0.2055, allocations: 0 / 0.8369 GB, free: 7.004 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.199e-05/0.2055, allocations: 42.5 kB / 0.837 GB, free: 6.953 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=16): time 1.041e-06/0.2055, allocations: 0 / 0.837 GB, free: 6.953 MB / 0.6544 GB Notification: Performance of matching and sorting (n=16): time 0.0005924/0.2061, allocations: 297.2 kB / 0.8373 GB, free: 6.656 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.699e-05/0.2062, allocations: 81.11 kB / 0.8373 GB, free: 6.559 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002916/0.2065, allocations: 341.5 kB / 0.8377 GB, free: 6.219 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.11e-05/0.2065, allocations: 29.7 kB / 0.8377 GB, free: 6.184 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001187/0.2066, allocations: 200.1 kB / 0.8379 GB, free: 5.984 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.018e-05/0.2066, allocations: 59.19 kB / 0.8379 GB, free: 5.926 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.882e-05/0.2067, allocations: 41.7 kB / 0.838 GB, free: 5.879 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.2068, allocations: 342.8 kB / 0.8383 GB, free: 5.535 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001716/0.207, allocations: 84.83 kB / 0.8384 GB, free: 5.449 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001879/0.2072, allocations: 123.3 kB / 0.8385 GB, free: 5.316 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003296/0.2075, allocations: 189.2 kB / 0.8387 GB, free: 5.125 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.2076, allocations: 0 / 0.8387 GB, free: 5.125 MB / 0.6544 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004086/0.208, allocations: 253.2 kB / 0.8389 GB, free: 4.871 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.208, allocations: 4 kB / 0.8389 GB, free: 4.867 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.208, allocations: 0 / 0.8389 GB, free: 4.867 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.208, allocations: 4 kB / 0.8389 GB, free: 4.863 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001656/0.2082, allocations: 39.84 kB / 0.839 GB, free: 4.824 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.2082, allocations: 0 / 0.839 GB, free: 4.824 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001225/0.2083, allocations: 35.62 kB / 0.839 GB, free: 4.789 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.362e-05/0.2083, allocations: 4 kB / 0.839 GB, free: 4.785 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002112/0.2086, allocations: 200.2 kB / 0.8392 GB, free: 4.586 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001357/0.2087, allocations: 103.4 kB / 0.8393 GB, free: 4.473 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002307/0.2089, allocations: 160.8 kB / 0.8394 GB, free: 4.309 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.92e-07/0.209, allocations: 0 / 0.8394 GB, free: 4.309 MB / 0.6544 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0003211/0.2093, allocations: 233.2 kB / 0.8397 GB, free: 4.074 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 7.334e-06/0.2093, allocations: 8 kB / 0.8397 GB, free: 4.066 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.403e-06/0.2093, allocations: 0 / 0.8397 GB, free: 4.066 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-06/0.2093, allocations: 0 / 0.8397 GB, free: 4.066 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001177/0.2094, allocations: 31.92 kB / 0.8397 GB, free: 4.035 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.853e-06/0.2094, allocations: 0 / 0.8397 GB, free: 4.035 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001049/0.2095, allocations: 19.84 kB / 0.8397 GB, free: 4.016 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.066e-05/0.2096, allocations: 7.938 kB / 0.8397 GB, free: 4.008 MB / 0.6544 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 9.245e-05/0.2097, allocations: 196.3 kB / 0.8399 GB, free: 3.809 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.21e-05/0.2097, allocations: 27.62 kB / 0.8399 GB, free: 3.781 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.752e-05/0.2098, allocations: 39.2 kB / 0.84 GB, free: 3.738 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.2098, allocations: 4 kB / 0.84 GB, free: 3.734 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.2098, allocations: 0 / 0.84 GB, free: 3.734 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.2098, allocations: 3.938 kB / 0.84 GB, free: 3.73 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003529/0.2102, allocations: 409.3 kB / 0.8404 GB, free: 3.281 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.2102, allocations: 0 / 0.8404 GB, free: 3.281 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001529/0.2103, allocations: 31.98 kB / 0.8404 GB, free: 3.25 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.2103, allocations: 0 / 0.8404 GB, free: 3.25 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.469e-05/0.2104, allocations: 8 kB / 0.8404 GB, free: 3.242 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.2104, allocations: 0 / 0.8404 GB, free: 3.242 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.2104, allocations: 4 kB / 0.8404 GB, free: 3.238 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005989/0.211, allocations: 438.9 kB / 0.8408 GB, free: 2.793 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 9.752e-05/0.2111, allocations: 132.7 kB / 0.841 GB, free: 2.645 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.379e-05/0.2111, allocations: 4.062 kB / 0.841 GB, free: 2.641 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000134/0.2113, allocations: 12 kB / 0.841 GB, free: 2.629 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.115e-05/0.2113, allocations: 15.91 kB / 0.841 GB, free: 2.613 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.202e-05/0.2113, allocations: 8 kB / 0.841 GB, free: 2.605 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001994/0.2115, allocations: 239.2 kB / 0.8412 GB, free: 2.375 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2116, allocations: 3.938 kB / 0.8412 GB, free: 2.371 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003478/0.2119, allocations: 91.69 kB / 0.8413 GB, free: 2.281 MB / 0.6544 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 9.286e-05/0.212, allocations: 99.25 kB / 0.8414 GB, free: 2.176 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005255/0.2125, allocations: 287 kB / 0.8417 GB, free: 1.898 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.2125, allocations: 4 kB / 0.8417 GB, free: 1.895 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001699/0.2127, allocations: 94.72 kB / 0.8418 GB, free: 1.805 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004963/0.2132, allocations: 91.92 kB / 0.8419 GB, free: 1.723 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000893/0.2141, allocations: 0.5474 MB / 0.8424 GB, free: 1.148 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000288/0.2144, allocations: 0.779 MB / 0.8432 GB, free: 352 kB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001323/0.2146, allocations: 38.27 kB / 0.8432 GB, free: 312 kB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.951e-05/0.2146, allocations: 31.38 kB / 0.8432 GB, free: 280 kB / 0.6544 GB Notification: Performance of SimCode: time 4.01e-07/0.2146, allocations: 0 / 0.8432 GB, free: 280 kB / 0.6544 GB Notification: Performance of Templates: time 0.006223/0.2209, allocations: 3.196 MB / 0.8464 GB, free: 13.11 MB / 0.67 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1)