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/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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 85.38 kB / 16.66 MB, free: 6.109 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.001293/0.001293, allocations: 180.6 kB / 17.58 MB, free: 5.812 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.336/1.336, allocations: 223.3 MB / 241.6 MB, free: 12 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7193/0.7193, allocations: 115.5 MB / 408.2 MB, free: 7.043 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003112/0.0003113, allocations: 8.281 kB / 496.5 MB, free: 15.68 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3647/0.365, allocations: 77.52 MB / 0.5606 GB, free: 36.27 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.002802/0.3679, allocations: 2.26 MB / 0.5628 GB, free: 34.63 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00146/0.3694, allocations: 0.8629 MB / 0.5636 GB, free: 34.01 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002435/0.3696, allocations: 6.875 kB / 0.5636 GB, free: 34.01 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002016/0.3699, allocations: 52.55 kB / 0.5637 GB, free: 33.97 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001532/0.37, allocations: 51.42 kB / 0.5637 GB, free: 33.93 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005053/0.3705, allocations: 214.7 kB / 0.5639 GB, free: 33.79 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004161/0.371, allocations: 408.3 kB / 0.5643 GB, free: 33.58 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000331/0.3713, allocations: 218.7 kB / 0.5645 GB, free: 33.46 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001176/0.3714, allocations: 88.56 kB / 0.5646 GB, free: 33.42 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001364/0.3716, allocations: 100.2 kB / 0.5647 GB, free: 33.36 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.601e-05/0.3716, allocations: 7.938 kB / 0.5647 GB, free: 33.36 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.654e-05/0.3716, allocations: 7.656 kB / 0.5647 GB, free: 33.36 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.433e-05/0.3717, allocations: 39.12 kB / 0.5648 GB, free: 33.34 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001043/0.3718, allocations: 169.4 kB / 0.5649 GB, free: 33.2 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005753/0.3724, allocations: 494.4 kB / 0.5654 GB, free: 33.1 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.3724, allocations: 0.7031 kB / 0.5654 GB, free: 33.1 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.3724, allocations: 2.156 kB / 0.5654 GB, free: 33.1 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.865e-06/0.3724, allocations: 0 / 0.5654 GB, free: 33.1 MB / 446.1 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.0008159/0.3732, allocations: 0.5757 MB / 0.566 GB, free: 32.61 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.3733, allocations: 16.03 kB / 0.566 GB, free: 32.61 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.569e-05/0.3734, allocations: 47.75 kB / 0.566 GB, free: 32.58 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004141/0.3738, allocations: 379.1 kB / 0.5664 GB, free: 32.26 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.092e-05/0.3738, allocations: 20.56 kB / 0.5664 GB, free: 32.25 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.259e-05/0.3739, allocations: 30.19 kB / 0.5664 GB, free: 32.24 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006386/0.3746, allocations: 330 kB / 0.5668 GB, free: 32.07 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.3746, allocations: 1.875 kB / 0.5668 GB, free: 32.07 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.322e-05/0.3746, allocations: 12.95 kB / 0.5668 GB, free: 32.06 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.113e-05/0.3746, allocations: 6.25 kB / 0.5668 GB, free: 32.06 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004994/0.3751, allocations: 248.7 kB / 0.567 GB, free: 31.97 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001556/0.3767, allocations: 1.182 MB / 0.5682 GB, free: 31.16 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005033/0.3772, allocations: 246.3 kB / 0.5684 GB, free: 31.05 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001931/0.3774, allocations: 114.2 kB / 0.5685 GB, free: 30.99 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.519e-05/0.3775, allocations: 2 kB / 0.5685 GB, free: 30.99 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.126e-05/0.3775, allocations: 32.2 kB / 0.5685 GB, free: 30.95 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.733e-06/0.3775, allocations: 0.625 kB / 0.5685 GB, free: 30.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.0007303/0.3782, allocations: 326 kB / 0.5689 GB, free: 30.81 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.519e-05/0.3783, allocations: 80.2 kB / 0.5689 GB, free: 30.71 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004021/0.3787, allocations: 334 kB / 0.5692 GB, free: 30.53 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.57e-05/0.3787, allocations: 26.73 kB / 0.5693 GB, free: 30.5 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001434/0.3789, allocations: 193.2 kB / 0.5695 GB, free: 30.34 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.836e-05/0.3789, allocations: 55.45 kB / 0.5695 GB, free: 30.29 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.832e-05/0.379, allocations: 26.41 kB / 0.5695 GB, free: 30.27 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001008/0.3791, allocations: 339.8 kB / 0.5699 GB, free: 29.95 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00021/0.3793, allocations: 92.27 kB / 0.5699 GB, free: 29.91 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002449/0.3796, allocations: 125.8 kB / 0.5701 GB, free: 29.84 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004243/0.38, allocations: 202 kB / 0.5703 GB, free: 29.74 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.38, allocations: 0 / 0.5703 GB, free: 29.74 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005259/0.3805, allocations: 263.3 kB / 0.5705 GB, free: 29.62 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.202e-05/0.3806, allocations: 112.3 kB / 0.5706 GB, free: 29.51 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.3806, allocations: 1.578 kB / 0.5706 GB, free: 29.51 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.238e-05/0.3807, allocations: 7.281 kB / 0.5706 GB, free: 29.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002106/0.3809, allocations: 30.94 kB / 0.5707 GB, free: 29.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.3809, allocations: 2.719 kB / 0.5707 GB, free: 29.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001557/0.3811, allocations: 32.25 kB / 0.5707 GB, free: 29.49 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.969e-05/0.3811, allocations: 4.312 kB / 0.5707 GB, free: 29.49 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.003e-06/0.3811, allocations: 5.219 kB / 0.5707 GB, free: 29.49 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000351/0.3815, allocations: 178.9 kB / 0.5709 GB, free: 29.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.116e-06/0.3815, allocations: 2.094 kB / 0.5709 GB, free: 29.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.178e-06/0.3815, allocations: 2.141 kB / 0.5709 GB, free: 29.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000127/0.3816, allocations: 28.72 kB / 0.5709 GB, free: 29.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.439e-06/0.3816, allocations: 4.438 kB / 0.5709 GB, free: 29.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001258/0.3818, allocations: 20.7 kB / 0.5709 GB, free: 29.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.149e-05/0.3818, allocations: 4.188 kB / 0.5709 GB, free: 29.39 MB / 446.1 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 (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.0002025/0.382, allocations: 248 kB / 0.5712 GB, free: 29.16 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.78e-05/0.382, allocations: 29.69 kB / 0.5712 GB, free: 29.15 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.244e-05/0.3821, allocations: 39.92 kB / 0.5712 GB, free: 29.12 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.3821, allocations: 3.031 kB / 0.5712 GB, free: 29.12 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/0.3822, allocations: 0.7031 kB / 0.5712 GB, free: 29.12 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.3822, allocations: 4.062 kB / 0.5712 GB, free: 29.12 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004565/0.3826, allocations: 409.4 kB / 0.5716 GB, free: 28.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.3826, allocations: 0 / 0.5716 GB, free: 28.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001765/0.3828, allocations: 34.91 kB / 0.5717 GB, free: 28.81 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.3828, allocations: 3.406 kB / 0.5717 GB, free: 28.81 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.598e-05/0.3829, allocations: 5.125 kB / 0.5717 GB, free: 28.81 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.3829, allocations: 1.25 kB / 0.5717 GB, free: 28.81 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.3829, allocations: 4.688 kB / 0.5717 GB, free: 28.8 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006911/0.3836, allocations: 456.4 kB / 0.5721 GB, free: 28.54 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001066/0.3837, allocations: 133.4 kB / 0.5722 GB, free: 28.41 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.72e-05/0.3837, allocations: 7 kB / 0.5722 GB, free: 28.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000151/0.3839, allocations: 16.05 kB / 0.5723 GB, free: 28.4 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.064e-05/0.3839, allocations: 10.73 kB / 0.5723 GB, free: 28.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.055e-05/0.384, allocations: 2.562 kB / 0.5723 GB, free: 28.4 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002616/0.3842, allocations: 237.1 kB / 0.5725 GB, free: 28.27 MB / 446.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3842, allocations: 0 / 0.5725 GB, free: 28.27 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00042/0.3847, allocations: 88.34 kB / 0.5726 GB, free: 28.25 MB / 446.1 MB 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.0001059/0.3848, allocations: 110.3 kB / 0.5727 GB, free: 28.15 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006261/0.3854, allocations: 293.6 kB / 0.573 GB, free: 28.05 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.3854, allocations: 5.062 kB / 0.573 GB, free: 28.04 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001997/0.3856, allocations: 102.8 kB / 0.5731 GB, free: 28.01 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000643/0.3863, allocations: 71.34 kB / 0.5731 GB, free: 27.99 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001105/0.3874, allocations: 0.7176 MB / 0.5738 GB, free: 27.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002376/0.3876, allocations: 0.7773 MB / 0.5746 GB, free: 26.8 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.033e-05/0.3877, allocations: 21.78 kB / 0.5746 GB, free: 26.79 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3877, allocations: 0 / 0.5746 GB, free: 26.79 MB / 446.1 MB Notification: Performance of Templates: time 0.008094/0.3958, allocations: 3.903 MB / 0.5784 GB, free: 26.39 MB / 446.1 MB 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)