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.001257/0.001257, allocations: 106.3 kB / 16.41 MB, free: 6.512 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.001311/0.001311, allocations: 192.3 kB / 17.35 MB, free: 5.738 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.237/1.237, 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.002081/0.002081, allocations: 288.5 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8765/0.8765, allocations: 169.3 MB / 0.499 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001753/0.001753, allocations: 99.84 kB / 0.6821 GB, free: 6.941 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3583/0.36, allocations: 86.97 MB / 0.767 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.003543/0.3636, allocations: 2.613 MB / 0.7696 GB, free: 1.25 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001482/0.3651, allocations: 0.904 MB / 0.7705 GB, free: 348 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002405/0.3654, allocations: 11.94 kB / 0.7705 GB, free: 336 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001922/0.3656, allocations: 63.39 kB / 0.7705 GB, free: 272 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001486/0.3657, allocations: 59.41 kB / 0.7706 GB, free: 212 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004742/0.3662, allocations: 242.8 kB / 0.7708 GB, free: 15.97 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004418/0.3667, allocations: 455.6 kB / 0.7713 GB, free: 15.52 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003237/0.367, allocations: 232.7 kB / 0.7715 GB, free: 15.3 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001608/0.3672, allocations: 147.4 kB / 0.7716 GB, free: 15.16 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001525/0.3673, allocations: 151.1 kB / 0.7718 GB, free: 15.01 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.935e-05/0.3674, allocations: 52 kB / 0.7718 GB, free: 14.96 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 5.06e-05/0.3675, allocations: 51.94 kB / 0.7719 GB, free: 14.91 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.358e-05/0.3675, allocations: 87.7 kB / 0.7719 GB, free: 14.82 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000135/0.3677, allocations: 191.1 kB / 0.7721 GB, free: 14.64 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00052/0.3682, allocations: 0.6138 MB / 0.7727 GB, free: 14.02 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.656e-06/0.3682, allocations: 0 / 0.7727 GB, free: 14.02 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.095e-06/0.3682, allocations: 4 kB / 0.7727 GB, free: 14.02 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.197e-05/0.3682, allocations: 4 kB / 0.7727 GB, free: 14.02 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.000905/0.3691, allocations: 0.6389 MB / 0.7734 GB, free: 13.32 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/0.3692, allocations: 12.03 kB / 0.7734 GB, free: 13.31 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.828e-05/0.3693, allocations: 40.47 kB / 0.7734 GB, free: 13.27 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004641/0.3697, allocations: 395.2 kB / 0.7738 GB, free: 12.85 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.664e-05/0.3698, allocations: 20.94 kB / 0.7738 GB, free: 12.83 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.485e-05/0.3698, allocations: 32.36 kB / 0.7738 GB, free: 12.8 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005498/0.3704, allocations: 325.7 kB / 0.7741 GB, free: 12.47 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.3704, allocations: 0 / 0.7741 GB, free: 12.47 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.874e-05/0.3704, allocations: 12 kB / 0.7742 GB, free: 12.46 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.698e-06/0.3705, allocations: 11.94 kB / 0.7742 GB, free: 12.45 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000456/0.3709, allocations: 234.1 kB / 0.7744 GB, free: 12.21 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001356/0.3723, allocations: 1.159 MB / 0.7755 GB, free: 11 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004526/0.3727, allocations: 234.8 kB / 0.7757 GB, free: 10.76 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001781/0.3729, allocations: 92.83 kB / 0.7758 GB, free: 10.66 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.21e-05/0.373, allocations: 4 kB / 0.7758 GB, free: 10.66 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.999e-05/0.373, allocations: 34.56 kB / 0.7759 GB, free: 10.62 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 1.472e-06/0.373, allocations: 0 / 0.7759 GB, free: 10.62 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.0006245/0.3736, allocations: 300.1 kB / 0.7762 GB, free: 10.32 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.782e-05/0.3737, allocations: 89.05 kB / 0.7762 GB, free: 10.21 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003147/0.374, allocations: 324.5 kB / 0.7766 GB, free: 9.883 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.64e-05/0.374, allocations: 33.69 kB / 0.7766 GB, free: 9.844 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001397/0.3742, allocations: 188.2 kB / 0.7768 GB, free: 9.656 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.315e-05/0.3742, allocations: 55.2 kB / 0.7768 GB, free: 9.602 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.978e-05/0.3743, allocations: 45.7 kB / 0.7769 GB, free: 9.551 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.3744, allocations: 342.7 kB / 0.7772 GB, free: 9.207 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001799/0.3746, allocations: 84.83 kB / 0.7773 GB, free: 9.121 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002004/0.3748, allocations: 126.1 kB / 0.7774 GB, free: 8.988 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003329/0.3752, allocations: 188.8 kB / 0.7776 GB, free: 8.797 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.3752, allocations: 0 / 0.7776 GB, free: 8.797 MB / 0.545 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004473/0.3756, allocations: 257.2 kB / 0.7778 GB, free: 8.539 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.3757, allocations: 8.062 kB / 0.7778 GB, free: 8.531 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.3757, allocations: 4 kB / 0.7778 GB, free: 8.527 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.3757, allocations: 0 / 0.7778 GB, free: 8.527 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001708/0.3759, allocations: 27.98 kB / 0.7779 GB, free: 8.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.066e-05/0.3759, allocations: 4 kB / 0.7779 GB, free: 8.496 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001312/0.376, allocations: 35.61 kB / 0.7779 GB, free: 8.461 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.42e-05/0.376, allocations: 4 kB / 0.7779 GB, free: 8.457 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002222/0.3763, allocations: 198.5 kB / 0.7781 GB, free: 8.262 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000143/0.3764, allocations: 103.4 kB / 0.7782 GB, free: 8.148 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002483/0.3767, allocations: 165.5 kB / 0.7783 GB, free: 7.98 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.002e-06/0.3767, allocations: 0 / 0.7783 GB, free: 7.98 MB / 0.545 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0003425/0.377, allocations: 225.1 kB / 0.7786 GB, free: 7.754 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.247e-06/0.377, allocations: 12.09 kB / 0.7786 GB, free: 7.742 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.906e-06/0.3771, allocations: 7.938 kB / 0.7786 GB, free: 7.734 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.548e-06/0.3771, allocations: 0 / 0.7786 GB, free: 7.734 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001314/0.3772, allocations: 35.92 kB / 0.7786 GB, free: 7.699 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.685e-06/0.3772, allocations: 0 / 0.7786 GB, free: 7.699 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001122/0.3773, allocations: 11.98 kB / 0.7786 GB, free: 7.688 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.211e-05/0.3773, allocations: 8 kB / 0.7786 GB, free: 7.68 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 9.998e-05/0.3774, allocations: 192.1 kB / 0.7788 GB, free: 7.484 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.241e-05/0.3775, allocations: 27.62 kB / 0.7788 GB, free: 7.457 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.193e-05/0.3776, allocations: 39.28 kB / 0.7789 GB, free: 7.418 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.3776, allocations: 0 / 0.7789 GB, free: 7.418 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.3776, allocations: 4 kB / 0.7789 GB, free: 7.414 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001078/0.3777, allocations: 136.6 kB / 0.779 GB, free: 7.262 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.914e-05/0.3778, allocations: 4 kB / 0.779 GB, free: 7.258 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001498/0.3779, allocations: 11.98 kB / 0.779 GB, free: 7.246 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.436e-05/0.378, allocations: 11.97 kB / 0.779 GB, free: 7.234 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005761/0.3785, allocations: 312.7 kB / 0.7793 GB, free: 6.922 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006685/0.3792, allocations: 0.51 MB / 0.7798 GB, free: 6.395 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001781/0.3794, allocations: 103.4 kB / 0.7799 GB, free: 6.297 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002064/0.3796, allocations: 235.1 kB / 0.7802 GB, free: 6.07 MB / 0.545 GB Notification: Performance of Backend: time 2.1e-07/0.3796, allocations: 0 / 0.7802 GB, free: 6.07 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000667/0.3803, allocations: 285.2 kB / 0.7804 GB, free: 5.789 MB / 0.545 GB Notification: Performance of SimCode: time 0.001084/0.3814, allocations: 0.9994 MB / 0.7814 GB, free: 4.75 MB / 0.545 GB Notification: Performance of Templates: time 0.007432/0.3888, allocations: 4.292 MB / 0.7856 GB, free: 0.5039 MB / 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)