Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder.conf.json 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/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder") translateModel(IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009761/0.0009761, allocations: 179.8 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4547/0.4547, allocations: 90.81 MB / 104.5 MB, free: 9.797 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.22/1.22, allocations: 221.3 MB / 348.3 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008072/0.0008071, allocations: 97.05 kB / 421.2 MB, free: 5.484 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.206e-05/2.224e-05, allocations: 0 / 0.4896 GB, free: 5.367 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3345/0.3346, allocations: 72.3 MB / 0.5602 GB, free: 40.45 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1216/0.4562, allocations: 107.3 MB / 0.665 GB, free: 13 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002525/0.4565, allocations: 79.95 kB / 0.6651 GB, free: 12.92 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01545/0.472, allocations: 6.942 MB / 0.6719 GB, free: 6 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.472, allocations: 4 kB / 0.6719 GB, free: 5.996 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.779e-05/0.4721, allocations: 4 kB / 0.6719 GB, free: 5.992 MB / 490.7 MB 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.0008648/0.473, allocations: 0.5526 MB / 0.6724 GB, free: 5.391 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.473, allocations: 15.98 kB / 0.6724 GB, free: 5.375 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001201/0.4731, allocations: 39.53 kB / 0.6725 GB, free: 5.336 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005161/0.4737, allocations: 378.8 kB / 0.6728 GB, free: 4.926 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.043e-05/0.4737, allocations: 22.94 kB / 0.6728 GB, free: 4.906 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.207e-05/0.4738, allocations: 28 kB / 0.6729 GB, free: 4.879 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004954/0.4743, allocations: 301.5 kB / 0.6732 GB, free: 4.566 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.4743, allocations: 0 / 0.6732 GB, free: 4.566 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.994e-05/0.4743, allocations: 15.95 kB / 0.6732 GB, free: 4.551 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.517e-06/0.4743, allocations: 8 kB / 0.6732 GB, free: 4.543 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003724/0.4747, allocations: 206.2 kB / 0.6734 GB, free: 4.34 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001612/0.4763, allocations: 1.168 MB / 0.6745 GB, free: 3.113 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004082/0.4768, allocations: 204.4 kB / 0.6747 GB, free: 2.906 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001354/0.4769, allocations: 80.86 kB / 0.6748 GB, free: 2.824 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.305e-05/0.477, allocations: 8 kB / 0.6748 GB, free: 2.816 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.398e-05/0.477, allocations: 34.56 kB / 0.6748 GB, free: 2.773 MB / 490.7 MB Notification: Performance of pre-optimization done (n=16): time 1.623e-06/0.477, allocations: 0 / 0.6748 GB, free: 2.773 MB / 490.7 MB Notification: Performance of matching and sorting (n=16): time 0.000381/0.4774, allocations: 193.5 kB / 0.675 GB, free: 2.578 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.987e-05/0.4774, allocations: 81.11 kB / 0.6751 GB, free: 2.48 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003098/0.4778, allocations: 287 kB / 0.6754 GB, free: 2.188 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.594e-05/0.4778, allocations: 29.7 kB / 0.6754 GB, free: 2.152 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001157/0.4779, allocations: 192.1 kB / 0.6756 GB, free: 1.961 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.001e-05/0.478, allocations: 67.17 kB / 0.6756 GB, free: 1.895 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.138e-05/0.478, allocations: 4 kB / 0.6756 GB, free: 1.891 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.4781, allocations: 338.8 kB / 0.676 GB, free: 1.551 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001039/0.4782, allocations: 67.94 kB / 0.676 GB, free: 1.484 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001277/0.4784, allocations: 103.4 kB / 0.6761 GB, free: 1.371 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000116/0.4785, allocations: 72.95 kB / 0.6762 GB, free: 1.301 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.4785, allocations: 0 / 0.6762 GB, free: 1.301 MB / 490.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003142/0.4788, allocations: 219.3 kB / 0.6764 GB, free: 1.082 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001008/0.4789, allocations: 272.2 kB / 0.6767 GB, free: 0.7969 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.4789, allocations: 3.953 kB / 0.6767 GB, free: 0.793 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.479, allocations: 4 kB / 0.6767 GB, free: 0.7891 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001687/0.4791, allocations: 39.86 kB / 0.6767 GB, free: 0.75 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.4792, allocations: 4 kB / 0.6767 GB, free: 0.7461 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000141/0.4793, allocations: 23.83 kB / 0.6767 GB, free: 0.7227 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.824e-05/0.4793, allocations: 8 kB / 0.6768 GB, free: 0.7148 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.884e-05/0.4794, allocations: 4 kB / 0.6768 GB, free: 0.7109 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002464/0.4796, allocations: 165.2 kB / 0.6769 GB, free: 0.5508 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.653e-06/0.4796, allocations: 0 / 0.6769 GB, free: 0.5508 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.288e-06/0.4796, allocations: 4 kB / 0.6769 GB, free: 0.5469 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001219/0.4798, allocations: 27.92 kB / 0.6769 GB, free: 0.5195 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.876e-06/0.4798, allocations: 2.438 kB / 0.6769 GB, free: 0.5195 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001092/0.4799, allocations: 19.84 kB / 0.677 GB, free: 0.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.32e-05/0.4799, allocations: 4 kB / 0.677 GB, free: 0.4961 MB / 490.7 MB 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 8.065e-05/0.48, allocations: 121 kB / 0.6771 GB, free: 380 kB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.303e-05/0.48, allocations: 31.62 kB / 0.6771 GB, free: 348 kB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.58e-05/0.4801, allocations: 35.06 kB / 0.6771 GB, free: 316 kB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.4801, allocations: 0 / 0.6771 GB, free: 316 kB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.4801, allocations: 0 / 0.6771 GB, free: 316 kB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.4802, allocations: 7.984 kB / 0.6772 GB, free: 308 kB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003892/0.4806, allocations: 413.3 kB / 0.6775 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.4806, allocations: 0 / 0.6775 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001641/0.4807, allocations: 31.92 kB / 0.6776 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.561e-06/0.4808, allocations: 4 kB / 0.6776 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.573e-05/0.4808, allocations: 4 kB / 0.6776 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.4808, allocations: 2.109 kB / 0.6776 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.4808, allocations: 0 / 0.6776 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004639/0.4813, allocations: 393.4 kB / 0.678 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001127/0.4814, allocations: 136.7 kB / 0.6781 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.511e-05/0.4814, allocations: 8 kB / 0.6781 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001463/0.4816, allocations: 16.05 kB / 0.6781 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.223e-05/0.4816, allocations: 15.98 kB / 0.6781 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.137e-06/0.4816, allocations: 0 / 0.6781 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002141/0.4819, allocations: 234.2 kB / 0.6784 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4819, allocations: 0 / 0.6784 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003601/0.4822, allocations: 95.69 kB / 0.6784 GB, free: 14.89 MB / 0.4948 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.0001098/0.4824, allocations: 96.89 kB / 0.6785 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000412/0.4828, allocations: 264.1 kB / 0.6788 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.4828, allocations: 7.938 kB / 0.6788 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001198/0.4829, allocations: 79.94 kB / 0.6789 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004522/0.4834, allocations: 74.73 kB / 0.6789 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000804/0.4842, allocations: 409.9 kB / 0.6793 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003322/0.4845, allocations: 0.7843 MB / 0.6801 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0002065/0.4847, allocations: 47.03 kB / 0.6801 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.199e-05/0.4848, allocations: 23.42 kB / 0.6802 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of SimCode: time 3.1e-07/0.4848, allocations: 0 / 0.6802 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of Templates: time 0.007093/0.4919, allocations: 3.511 MB / 0.6836 GB, free: 9.621 MB / 0.4948 GB make -j1 -f IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder.makefile (rm -f IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder.sim & ./IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1)