Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder") translateModel(BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7905/0.7905, allocations: 141.8 MB / 149.3 MB, free: 9.211 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001005/0.001005, allocations: 179.8 kB / 182.2 MB, free: 9.465 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 221.5 MB / 436.4 MB, free: 13.34 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009052/0.0009051, allocations: 92.03 kB / 0.5074 GB, free: 10.18 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001651/0.001651, allocations: 282.3 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.431e-05/1.434e-05, allocations: 4 kB / 0.6765 GB, free: 12.85 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3815/0.3815, allocations: 82.78 MB / 0.7574 GB, free: 32.02 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1433/0.5248, allocations: 113.8 MB / 0.8685 GB, free: 14.12 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002259/0.5251, allocations: 95.8 kB / 0.8685 GB, free: 14.03 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.01563/0.5408, allocations: 6.876 MB / 0.8753 GB, free: 7.145 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.964e-06/0.5408, allocations: 0 / 0.8753 GB, free: 7.145 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 2.923e-05/0.5408, allocations: 8 kB / 0.8753 GB, free: 7.137 MB / 0.5417 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.0007384/0.5416, allocations: 0.5372 MB / 0.8758 GB, free: 6.551 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.5416, allocations: 8.031 kB / 0.8758 GB, free: 6.543 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.02e-05/0.5417, allocations: 39.53 kB / 0.8758 GB, free: 6.504 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005224/0.5423, allocations: 394.6 kB / 0.8762 GB, free: 6.082 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.349e-05/0.5423, allocations: 8 kB / 0.8762 GB, free: 6.074 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.818e-05/0.5423, allocations: 16 kB / 0.8762 GB, free: 6.059 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003476/0.5427, allocations: 189.1 kB / 0.8764 GB, free: 5.875 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004172/0.5431, allocations: 268.4 kB / 0.8767 GB, free: 5.59 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.5431, allocations: 0 / 0.8767 GB, free: 5.59 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.415e-05/0.5432, allocations: 0 / 0.8767 GB, free: 5.59 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.365e-06/0.5432, allocations: 8 kB / 0.8767 GB, free: 5.582 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001344/0.5445, allocations: 1.088 MB / 0.8777 GB, free: 4.449 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003706/0.5449, allocations: 198.9 kB / 0.8779 GB, free: 4.246 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001217/0.545, allocations: 84.86 kB / 0.878 GB, free: 4.16 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.669e-05/0.5451, allocations: 0 / 0.878 GB, free: 4.16 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.203e-05/0.5451, allocations: 34.56 kB / 0.878 GB, free: 4.117 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=16): time 1.122e-06/0.5451, allocations: 4 kB / 0.878 GB, free: 4.113 MB / 0.5417 GB Notification: Performance of matching and sorting (n=16): time 0.0003316/0.5455, allocations: 177.3 kB / 0.8782 GB, free: 3.934 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.81e-05/0.5455, allocations: 77.39 kB / 0.8783 GB, free: 3.84 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002212/0.5457, allocations: 230.4 kB / 0.8785 GB, free: 3.613 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.927e-05/0.5458, allocations: 25.92 kB / 0.8785 GB, free: 3.582 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001238/0.5459, allocations: 204 kB / 0.8787 GB, free: 3.379 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.106e-05/0.5459, allocations: 55.2 kB / 0.8788 GB, free: 3.324 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.015e-05/0.5459, allocations: 0 / 0.8788 GB, free: 3.324 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.5461, allocations: 338.8 kB / 0.8791 GB, free: 2.984 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.768e-05/0.5462, allocations: 71.88 kB / 0.8792 GB, free: 2.914 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001157/0.5463, allocations: 92.45 kB / 0.8793 GB, free: 2.812 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000118/0.5464, allocations: 77.02 kB / 0.8793 GB, free: 2.738 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.5464, allocations: 0 / 0.8793 GB, free: 2.738 MB / 0.5417 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003129/0.5468, allocations: 206.5 kB / 0.8795 GB, free: 2.531 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001362/0.5469, allocations: 275 kB / 0.8798 GB, free: 2.242 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/0.5469, allocations: 3.75 kB / 0.8798 GB, free: 2.242 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.547, allocations: 7.984 kB / 0.8798 GB, free: 2.234 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001785/0.5471, allocations: 31.98 kB / 0.8798 GB, free: 2.203 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.5472, allocations: 3.938 kB / 0.8798 GB, free: 2.199 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001269/0.5473, allocations: 15.92 kB / 0.8799 GB, free: 2.184 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.615e-05/0.5473, allocations: 8 kB / 0.8799 GB, free: 2.176 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 6.773e-06/0.5473, allocations: 1.406 kB / 0.8799 GB, free: 2.176 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002223/0.5476, allocations: 151.8 kB / 0.88 GB, free: 2.027 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.452e-06/0.5476, allocations: 0 / 0.88 GB, free: 2.027 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.124e-06/0.5476, allocations: 0 / 0.88 GB, free: 2.027 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/0.5477, allocations: 27.98 kB / 0.88 GB, free: 2 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.126e-06/0.5477, allocations: 3.953 kB / 0.88 GB, free: 1.996 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.615e-05/0.5478, allocations: 11.91 kB / 0.8801 GB, free: 1.984 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.158e-05/0.5478, allocations: 8 kB / 0.8801 GB, free: 1.977 MB / 0.5417 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 8.09e-05/0.5479, allocations: 112.9 kB / 0.8802 GB, free: 1.859 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.285e-05/0.548, allocations: 23.72 kB / 0.8802 GB, free: 1.836 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.115e-05/0.5481, allocations: 30.03 kB / 0.8802 GB, free: 1.805 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.5481, allocations: 0 / 0.8802 GB, free: 1.805 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.5481, allocations: 3.953 kB / 0.8802 GB, free: 1.801 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.5481, allocations: 7.984 kB / 0.8802 GB, free: 1.793 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003547/0.5484, allocations: 349.9 kB / 0.8806 GB, free: 1.414 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.5485, allocations: 0 / 0.8806 GB, free: 1.414 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001736/0.5486, allocations: 27.98 kB / 0.8806 GB, free: 1.387 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.5486, allocations: 4 kB / 0.8806 GB, free: 1.383 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.766e-05/0.5487, allocations: 11.92 kB / 0.8806 GB, free: 1.371 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.5487, allocations: 0 / 0.8806 GB, free: 1.371 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.5487, allocations: 0 / 0.8806 GB, free: 1.371 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004388/0.5491, allocations: 380.8 kB / 0.881 GB, free: 0.9844 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001093/0.5492, allocations: 120.8 kB / 0.8811 GB, free: 0.8477 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.347e-05/0.5493, allocations: 0 / 0.8811 GB, free: 0.8477 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001454/0.5494, allocations: 20.05 kB / 0.8811 GB, free: 0.8281 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.886e-05/0.5495, allocations: 15.98 kB / 0.8811 GB, free: 0.8125 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/0.5495, allocations: 4 kB / 0.8811 GB, free: 0.8086 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001629/0.5497, allocations: 186 kB / 0.8813 GB, free: 0.625 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5497, allocations: 0 / 0.8813 GB, free: 0.625 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0004069/0.5501, allocations: 95.47 kB / 0.8814 GB, free: 0.5312 MB / 0.5417 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.0001295/0.5502, allocations: 107.1 kB / 0.8815 GB, free: 428 kB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003724/0.5506, allocations: 243.2 kB / 0.8817 GB, free: 188 kB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.5506, allocations: 0 / 0.8817 GB, free: 188 kB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001119/0.5507, allocations: 75.94 kB / 0.8818 GB, free: 112 kB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004361/0.5512, allocations: 68.56 kB / 0.8819 GB, free: 44 kB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007882/0.552, allocations: 393.5 kB / 0.8822 GB, free: 15.63 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003006/0.5523, allocations: 0.7879 MB / 0.883 GB, free: 14.82 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001796/0.5525, allocations: 39.36 kB / 0.883 GB, free: 14.78 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.219e-05/0.5525, allocations: 27.42 kB / 0.8831 GB, free: 14.75 MB / 0.5573 GB Notification: Performance of SimCode: time 2.51e-07/0.5525, allocations: 0 / 0.8831 GB, free: 14.75 MB / 0.5573 GB Notification: Performance of Templates: time 0.00573/0.5583, allocations: 2.909 MB / 0.8859 GB, free: 11.88 MB / 0.5573 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder.sim & ./BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1)