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.001187/0.001187, allocations: 116.4 kB / 16.42 MB, free: 6.473 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.001325/0.001325, allocations: 190.7 kB / 17.35 MB, free: 5.715 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.227/1.227, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001999/0.001999, allocations: 289.4 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.8896/0.8896, allocations: 169.2 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001628/0.001628, allocations: 95.84 kB / 0.6821 GB, free: 7.004 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3617/0.3634, allocations: 86.98 MB / 0.767 GB, free: 4.121 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.003404/0.3668, allocations: 2.602 MB / 0.7696 GB, free: 1.496 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001312/0.3681, allocations: 0.9041 MB / 0.7705 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001893/0.3683, allocations: 11.94 kB / 0.7705 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001787/0.3685, allocations: 63.39 kB / 0.7705 GB, free: 0.5117 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001432/0.3687, allocations: 71.39 kB / 0.7706 GB, free: 452 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004475/0.3691, allocations: 231.7 kB / 0.7708 GB, free: 220 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003938/0.3695, allocations: 455.7 kB / 0.7713 GB, free: 15.77 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002979/0.3698, allocations: 232.9 kB / 0.7715 GB, free: 15.55 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000139/0.37, allocations: 151.4 kB / 0.7716 GB, free: 15.4 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001408/0.3701, allocations: 151.1 kB / 0.7718 GB, free: 15.25 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.639e-05/0.3702, allocations: 56 kB / 0.7718 GB, free: 15.2 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 4.93e-05/0.3702, allocations: 48 kB / 0.7719 GB, free: 15.15 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.352e-05/0.3703, allocations: 83.72 kB / 0.7719 GB, free: 15.07 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001319/0.3705, allocations: 191.1 kB / 0.7721 GB, free: 14.88 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004958/0.371, allocations: 0.6138 MB / 0.7727 GB, free: 14.27 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.371, allocations: 0 / 0.7727 GB, free: 14.27 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.031e-06/0.371, allocations: 3.938 kB / 0.7727 GB, free: 14.26 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.201e-06/0.371, allocations: 0 / 0.7727 GB, free: 14.26 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.0008456/0.3718, allocations: 0.6506 MB / 0.7734 GB, free: 13.56 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.445e-05/0.3719, allocations: 8.031 kB / 0.7734 GB, free: 13.55 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.074e-05/0.3719, allocations: 44.47 kB / 0.7734 GB, free: 13.51 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004458/0.3724, allocations: 387.2 kB / 0.7738 GB, free: 13.09 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.789e-05/0.3724, allocations: 28.94 kB / 0.7738 GB, free: 13.07 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.425e-05/0.3725, allocations: 28.38 kB / 0.7738 GB, free: 13.04 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005348/0.373, allocations: 325.7 kB / 0.7742 GB, free: 12.71 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.373, allocations: 3.938 kB / 0.7742 GB, free: 12.7 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.865e-05/0.3731, allocations: 12 kB / 0.7742 GB, free: 12.69 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.365e-06/0.3731, allocations: 8 kB / 0.7742 GB, free: 12.68 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004551/0.3736, allocations: 230.2 kB / 0.7744 GB, free: 12.46 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001362/0.3749, allocations: 1.162 MB / 0.7755 GB, free: 11.23 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004583/0.3754, allocations: 230.8 kB / 0.7758 GB, free: 11 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001867/0.3756, allocations: 100.8 kB / 0.7758 GB, free: 10.9 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.107e-05/0.3756, allocations: 0 / 0.7758 GB, free: 10.9 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.07e-05/0.3757, allocations: 38.56 kB / 0.7759 GB, free: 10.85 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 1.072e-06/0.3757, allocations: 0 / 0.7759 GB, free: 10.85 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.0006381/0.3763, allocations: 300.3 kB / 0.7762 GB, free: 10.55 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.638e-05/0.3764, allocations: 81.11 kB / 0.7762 GB, free: 10.46 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003747/0.3767, allocations: 328.5 kB / 0.7766 GB, free: 10.12 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.402e-05/0.3768, allocations: 33.7 kB / 0.7766 GB, free: 10.08 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001334/0.3769, allocations: 196.1 kB / 0.7768 GB, free: 9.887 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.312e-05/0.377, allocations: 55.2 kB / 0.7768 GB, free: 9.832 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.974e-05/0.377, allocations: 41.7 kB / 0.7769 GB, free: 9.785 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000167/0.3772, allocations: 338.8 kB / 0.7772 GB, free: 9.445 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001772/0.3774, allocations: 88.83 kB / 0.7773 GB, free: 9.355 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001962/0.3776, allocations: 123.3 kB / 0.7774 GB, free: 9.223 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003436/0.3779, allocations: 190.4 kB / 0.7776 GB, free: 9.027 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.378, allocations: 0 / 0.7776 GB, free: 9.027 MB / 0.545 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004428/0.3784, allocations: 252.2 kB / 0.7778 GB, free: 8.777 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.3784, allocations: 7.984 kB / 0.7778 GB, free: 8.77 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.3784, allocations: 0 / 0.7778 GB, free: 8.77 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.3785, allocations: 4 kB / 0.7778 GB, free: 8.766 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001721/0.3786, allocations: 36.05 kB / 0.7779 GB, free: 8.73 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.3786, allocations: 3.938 kB / 0.7779 GB, free: 8.727 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001264/0.3788, allocations: 31.67 kB / 0.7779 GB, free: 8.695 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.542e-05/0.3788, allocations: 8 kB / 0.7779 GB, free: 8.688 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002266/0.379, allocations: 188.1 kB / 0.7781 GB, free: 8.5 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001455/0.3792, allocations: 105.6 kB / 0.7782 GB, free: 8.387 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002438/0.3794, allocations: 158.6 kB / 0.7783 GB, free: 8.223 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.514e-06/0.3794, allocations: 3.938 kB / 0.7783 GB, free: 8.219 MB / 0.545 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0003398/0.3798, allocations: 236 kB / 0.7786 GB, free: 7.984 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.407e-06/0.3798, allocations: 8 kB / 0.7786 GB, free: 7.977 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.663e-06/0.3798, allocations: 0 / 0.7786 GB, free: 7.977 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.725e-06/0.3798, allocations: 0 / 0.7786 GB, free: 7.977 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000126/0.38, allocations: 31.98 kB / 0.7786 GB, free: 7.945 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.735e-06/0.38, allocations: 8 kB / 0.7786 GB, free: 7.938 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000116/0.3801, allocations: 11.94 kB / 0.7786 GB, free: 7.926 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.377e-05/0.3801, allocations: 8 kB / 0.7786 GB, free: 7.918 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.858e-05/0.3802, allocations: 196.1 kB / 0.7788 GB, free: 7.719 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.212e-05/0.3803, allocations: 27.62 kB / 0.7788 GB, free: 7.691 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.298e-05/0.3803, allocations: 35.28 kB / 0.7789 GB, free: 7.656 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.3804, allocations: 0 / 0.7789 GB, free: 7.656 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3804, allocations: 0 / 0.7789 GB, free: 7.656 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001132/0.3805, allocations: 144.6 kB / 0.779 GB, free: 7.496 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.807e-05/0.3805, allocations: 4 kB / 0.779 GB, free: 7.492 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001501/0.3807, allocations: 15.98 kB / 0.779 GB, free: 7.477 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.116e-05/0.3807, allocations: 7.984 kB / 0.779 GB, free: 7.469 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005606/0.3813, allocations: 312.7 kB / 0.7793 GB, free: 7.156 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00067/0.382, allocations: 0.51 MB / 0.7798 GB, free: 6.629 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001791/0.3822, allocations: 99.91 kB / 0.7799 GB, free: 6.531 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002131/0.3824, allocations: 235.1 kB / 0.7802 GB, free: 6.305 MB / 0.545 GB Notification: Performance of Backend: time 2.51e-07/0.3824, allocations: 0 / 0.7802 GB, free: 6.305 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000701/0.3831, allocations: 286.3 kB / 0.7804 GB, free: 6.02 MB / 0.545 GB Notification: Performance of SimCode: time 0.001091/0.3842, allocations: 1.006 MB / 0.7814 GB, free: 4.977 MB / 0.545 GB Notification: Performance of Templates: time 0.007225/0.3914, allocations: 4.292 MB / 0.7856 GB, free: 0.7344 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)