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/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 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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: 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001605/0.001613, allocations: 106.8 kB / 16.41 MB, free: 6.488 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.0017/0.001701, allocations: 183 kB / 17.34 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.34/1.34, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002059/0.002059, allocations: 297.4 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9548/0.9548, allocations: 169.3 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001853/0.001853, allocations: 103.8 kB / 0.6821 GB, free: 6.988 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4298/0.4316, allocations: 86.97 MB / 0.767 GB, free: 3.941 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.00352/0.4352, allocations: 2.613 MB / 0.7696 GB, free: 1.305 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001485/0.4367, allocations: 0.904 MB / 0.7705 GB, free: 404 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001954/0.4369, allocations: 11.94 kB / 0.7705 GB, free: 392 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002099/0.4372, allocations: 63.39 kB / 0.7705 GB, free: 328 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001295/0.4373, allocations: 59.41 kB / 0.7706 GB, free: 268 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004603/0.4378, allocations: 245.6 kB / 0.7708 GB, free: 24 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000414/0.4382, allocations: 451.7 kB / 0.7713 GB, free: 15.58 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003118/0.4385, allocations: 228.8 kB / 0.7715 GB, free: 15.36 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001362/0.4386, allocations: 147.4 kB / 0.7716 GB, free: 15.22 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001499/0.4388, allocations: 155.1 kB / 0.7718 GB, free: 15.07 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.602e-05/0.4389, allocations: 48 kB / 0.7718 GB, free: 15.02 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 5.986e-05/0.4389, allocations: 52 kB / 0.7719 GB, free: 14.97 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.135e-05/0.439, allocations: 87.7 kB / 0.7719 GB, free: 14.88 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001412/0.4391, allocations: 191 kB / 0.7721 GB, free: 14.7 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005017/0.4397, allocations: 0.6138 MB / 0.7727 GB, free: 14.08 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.4397, allocations: 0 / 0.7727 GB, free: 14.08 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.372e-06/0.4397, allocations: 0 / 0.7727 GB, free: 14.08 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.662e-06/0.4397, allocations: 0 / 0.7727 GB, free: 14.08 MB / 0.545 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.0008462/0.4405, allocations: 0.6467 MB / 0.7734 GB, free: 13.38 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.4406, allocations: 8.031 kB / 0.7734 GB, free: 13.38 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.558e-05/0.4407, allocations: 40.47 kB / 0.7734 GB, free: 13.34 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004692/0.4411, allocations: 399.2 kB / 0.7738 GB, free: 12.91 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.565e-05/0.4412, allocations: 24.88 kB / 0.7738 GB, free: 12.89 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.457e-05/0.4412, allocations: 32.36 kB / 0.7738 GB, free: 12.86 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005308/0.4418, allocations: 325.7 kB / 0.7741 GB, free: 12.52 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.4418, allocations: 0 / 0.7741 GB, free: 12.52 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.761e-05/0.4418, allocations: 12 kB / 0.7742 GB, free: 12.51 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.308e-06/0.4418, allocations: 8 kB / 0.7742 GB, free: 12.5 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004379/0.4423, allocations: 234.2 kB / 0.7744 GB, free: 12.27 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001364/0.4436, allocations: 1.162 MB / 0.7755 GB, free: 11.05 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004394/0.4441, allocations: 230.8 kB / 0.7757 GB, free: 10.82 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001744/0.4443, allocations: 96.83 kB / 0.7758 GB, free: 10.72 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.239e-05/0.4443, allocations: 0 / 0.7758 GB, free: 10.72 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.388e-05/0.4443, allocations: 38.56 kB / 0.7759 GB, free: 10.67 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 1.011e-06/0.4443, allocations: 0 / 0.7759 GB, free: 10.67 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.0006206/0.445, allocations: 304.3 kB / 0.7762 GB, free: 10.37 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.061e-05/0.445, allocations: 85.11 kB / 0.7762 GB, free: 10.27 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003124/0.4453, allocations: 332.4 kB / 0.7766 GB, free: 9.93 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.17e-05/0.4454, allocations: 29.7 kB / 0.7766 GB, free: 9.895 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001308/0.4455, allocations: 188.2 kB / 0.7768 GB, free: 9.707 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.955e-05/0.4456, allocations: 55.2 kB / 0.7768 GB, free: 9.652 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.761e-05/0.4456, allocations: 41.7 kB / 0.7769 GB, free: 9.605 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001226/0.4458, allocations: 338.8 kB / 0.7772 GB, free: 9.266 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001778/0.446, allocations: 88.83 kB / 0.7773 GB, free: 9.176 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000182/0.4461, allocations: 123.3 kB / 0.7774 GB, free: 9.043 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003298/0.4465, allocations: 188.9 kB / 0.7776 GB, free: 8.852 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.4465, allocations: 0 / 0.7776 GB, free: 8.852 MB / 0.545 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004281/0.4469, allocations: 257.2 kB / 0.7778 GB, free: 8.594 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.447, allocations: 4 kB / 0.7778 GB, free: 8.59 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.447, allocations: 4 kB / 0.7778 GB, free: 8.586 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.447, allocations: 0 / 0.7778 GB, free: 8.586 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001685/0.4472, allocations: 35.98 kB / 0.7779 GB, free: 8.551 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.4472, allocations: 4 kB / 0.7779 GB, free: 8.547 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001322/0.4473, allocations: 31.67 kB / 0.7779 GB, free: 8.516 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.327e-05/0.4473, allocations: 4 kB / 0.7779 GB, free: 8.512 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002136/0.4475, allocations: 194.5 kB / 0.7781 GB, free: 8.32 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001463/0.4477, allocations: 101.6 kB / 0.7782 GB, free: 8.211 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002466/0.448, allocations: 177.7 kB / 0.7783 GB, free: 8.031 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.01e-07/0.448, allocations: 0 / 0.7783 GB, free: 8.031 MB / 0.545 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.000328/0.4483, allocations: 225.1 kB / 0.7786 GB, free: 7.805 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.005e-06/0.4483, allocations: 8 kB / 0.7786 GB, free: 7.797 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.865e-06/0.4483, allocations: 0 / 0.7786 GB, free: 7.797 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-06/0.4483, allocations: 3.938 kB / 0.7786 GB, free: 7.793 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/0.4484, allocations: 36.05 kB / 0.7786 GB, free: 7.758 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.974e-06/0.4485, allocations: 3.938 kB / 0.7786 GB, free: 7.754 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001039/0.4486, allocations: 11.98 kB / 0.7786 GB, free: 7.742 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.375e-05/0.4486, allocations: 11.94 kB / 0.7786 GB, free: 7.73 MB / 0.545 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 0.0001088/0.4487, allocations: 188.2 kB / 0.7788 GB, free: 7.539 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.921e-05/0.4488, allocations: 27.62 kB / 0.7788 GB, free: 7.512 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.521e-05/0.4488, allocations: 35.28 kB / 0.7789 GB, free: 7.477 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.4488, allocations: 4 kB / 0.7789 GB, free: 7.473 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.4489, allocations: 0 / 0.7789 GB, free: 7.473 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.211e-06/0.4489, allocations: 7.938 kB / 0.7789 GB, free: 7.465 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004041/0.4493, allocations: 409.2 kB / 0.7793 GB, free: 7.016 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.4493, allocations: 0 / 0.7793 GB, free: 7.016 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001569/0.4494, allocations: 27.92 kB / 0.7793 GB, free: 6.988 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.097e-06/0.4495, allocations: 4 kB / 0.7793 GB, free: 6.984 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.659e-05/0.4495, allocations: 7.984 kB / 0.7793 GB, free: 6.977 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.4495, allocations: 0 / 0.7793 GB, free: 6.977 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.4495, allocations: 0 / 0.7793 GB, free: 6.977 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006405/0.4501, allocations: 435 kB / 0.7797 GB, free: 6.535 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001106/0.4503, allocations: 132.7 kB / 0.7798 GB, free: 6.387 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.532e-05/0.4503, allocations: 4 kB / 0.7799 GB, free: 6.383 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001399/0.4504, allocations: 11.98 kB / 0.7799 GB, free: 6.371 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.724e-05/0.4505, allocations: 15.92 kB / 0.7799 GB, free: 6.355 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/0.4505, allocations: 4 kB / 0.7799 GB, free: 6.352 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002097/0.4507, allocations: 239.1 kB / 0.7801 GB, free: 6.121 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.21e-07/0.4507, allocations: 0 / 0.7801 GB, free: 6.121 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003715/0.4511, allocations: 95.53 kB / 0.7802 GB, free: 6.027 MB / 0.545 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.0001179/0.4512, allocations: 107.2 kB / 0.7803 GB, free: 5.914 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005445/0.4518, allocations: 283.3 kB / 0.7806 GB, free: 5.641 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.4518, allocations: 4 kB / 0.7806 GB, free: 5.637 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001707/0.452, allocations: 91.91 kB / 0.7807 GB, free: 5.547 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005153/0.4525, allocations: 94.03 kB / 0.7808 GB, free: 5.461 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009595/0.4535, allocations: 0.5866 MB / 0.7813 GB, free: 4.848 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000328/0.4538, allocations: 0.7792 MB / 0.7821 GB, free: 4.043 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.226e-05/0.4539, allocations: 19.44 kB / 0.7821 GB, free: 4.023 MB / 0.545 GB Notification: Performance of SimCode: time 1.402e-06/0.4539, allocations: 0 / 0.7821 GB, free: 4.023 MB / 0.545 GB Notification: Performance of Templates: time 0.00535/0.4592, allocations: 3.977 MB / 0.786 GB, free: 64 kB / 0.545 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)