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.001116/0.001116, allocations: 109.5 kB / 17.02 MB, free: 6.121 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.00113/0.001129, allocations: 194.9 kB / 17.97 MB, free: 5.211 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.318/1.318, allocations: 222.9 MB / 241.7 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.708/0.708, allocations: 115.1 MB / 406.9 MB, free: 6.422 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 67.89 kB / 494.8 MB, free: 15.92 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3213/0.3226, allocations: 76.14 MB / 0.5576 GB, free: 36.65 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.003938/0.3266, allocations: 2.598 MB / 0.5601 GB, free: 34.84 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001363/0.328, allocations: 0.9105 MB / 0.561 GB, free: 34.18 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000223/0.3282, allocations: 15.62 kB / 0.561 GB, free: 34.18 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002179/0.3284, allocations: 62.61 kB / 0.5611 GB, free: 34.13 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001404/0.3286, allocations: 57.86 kB / 0.5611 GB, free: 34.09 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004975/0.3291, allocations: 236.2 kB / 0.5613 GB, free: 33.93 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004642/0.3296, allocations: 457.8 kB / 0.5618 GB, free: 33.68 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003532/0.3299, allocations: 223.9 kB / 0.562 GB, free: 33.58 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001324/0.3301, allocations: 151.4 kB / 0.5621 GB, free: 33.48 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001431/0.3302, allocations: 150.3 kB / 0.5623 GB, free: 33.39 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.761e-05/0.3303, allocations: 49.81 kB / 0.5623 GB, free: 33.39 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.096e-05/0.3303, allocations: 51.34 kB / 0.5624 GB, free: 33.39 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.803e-05/0.3304, allocations: 82.95 kB / 0.5625 GB, free: 33.32 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001152/0.3305, allocations: 195.3 kB / 0.5626 GB, free: 33.17 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00061/0.3311, allocations: 0.6159 MB / 0.5632 GB, free: 32.93 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3312, allocations: 0 / 0.5632 GB, free: 32.93 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.3312, allocations: 0.8438 kB / 0.5632 GB, free: 32.93 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.536e-06/0.3312, allocations: 1.406 kB / 0.5632 GB, free: 32.93 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.0008983/0.3321, allocations: 0.6518 MB / 0.5639 GB, free: 32.38 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.3321, allocations: 9.688 kB / 0.5639 GB, free: 32.38 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.496e-05/0.3322, allocations: 41.34 kB / 0.5639 GB, free: 32.36 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004862/0.3327, allocations: 388.4 kB / 0.5643 GB, free: 32.04 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.284e-05/0.3328, allocations: 24.95 kB / 0.5643 GB, free: 32.02 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.318e-05/0.3328, allocations: 25.91 kB / 0.5643 GB, free: 32.02 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005516/0.3334, allocations: 331.8 kB / 0.5647 GB, free: 31.84 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.3334, allocations: 1.125 kB / 0.5647 GB, free: 31.84 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.684e-05/0.3334, allocations: 11.72 kB / 0.5647 GB, free: 31.83 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.856e-06/0.3335, allocations: 6.531 kB / 0.5647 GB, free: 31.83 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004548/0.3339, allocations: 233.4 kB / 0.5649 GB, free: 31.74 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001369/0.3353, allocations: 1.16 MB / 0.566 GB, free: 30.93 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004407/0.3357, allocations: 236.9 kB / 0.5663 GB, free: 30.82 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001732/0.3359, allocations: 94.89 kB / 0.5664 GB, free: 30.78 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.743e-05/0.336, allocations: 3.719 kB / 0.5664 GB, free: 30.78 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.875e-05/0.336, allocations: 37.44 kB / 0.5664 GB, free: 30.73 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.283e-06/0.336, allocations: 3.938 kB / 0.5664 GB, free: 30.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.0006121/0.3366, allocations: 301.9 kB / 0.5667 GB, free: 30.59 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.018e-05/0.3367, allocations: 80.02 kB / 0.5668 GB, free: 30.5 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003152/0.337, allocations: 330.1 kB / 0.5671 GB, free: 30.31 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/0.337, allocations: 31.48 kB / 0.5671 GB, free: 30.28 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001094/0.3371, allocations: 200 kB / 0.5673 GB, free: 30.11 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.234e-05/0.3372, allocations: 51.41 kB / 0.5673 GB, free: 30.07 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.204e-05/0.3372, allocations: 43.39 kB / 0.5674 GB, free: 30.04 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.35e-05/0.3373, allocations: 342 kB / 0.5677 GB, free: 29.71 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001946/0.3375, allocations: 86.55 kB / 0.5678 GB, free: 29.68 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001863/0.3377, allocations: 118.9 kB / 0.5679 GB, free: 29.61 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003173/0.3381, allocations: 189.4 kB / 0.5681 GB, free: 29.51 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.093e-06/0.3381, allocations: 0 / 0.5681 GB, free: 29.51 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004204/0.3385, allocations: 256 kB / 0.5683 GB, free: 29.38 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.3385, allocations: 5.719 kB / 0.5683 GB, free: 29.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.3385, allocations: 1.281 kB / 0.5683 GB, free: 29.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.3386, allocations: 2.594 kB / 0.5683 GB, free: 29.38 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001784/0.3387, allocations: 37.98 kB / 0.5684 GB, free: 29.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.3388, allocations: 2.25 kB / 0.5684 GB, free: 29.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001224/0.3389, allocations: 24.75 kB / 0.5684 GB, free: 29.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.557e-05/0.3389, allocations: 7.812 kB / 0.5684 GB, free: 29.36 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001947/0.3391, allocations: 193.6 kB / 0.5686 GB, free: 29.22 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001352/0.3393, allocations: 106.9 kB / 0.5687 GB, free: 29.15 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002241/0.3395, allocations: 164.6 kB / 0.5689 GB, free: 29.06 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.92e-07/0.3395, allocations: 0.9688 kB / 0.5689 GB, free: 29.06 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.000328/0.3398, allocations: 226 kB / 0.5691 GB, free: 28.94 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.833e-06/0.3398, allocations: 5.125 kB / 0.5691 GB, free: 28.94 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.893e-06/0.3398, allocations: 1.031 kB / 0.5691 GB, free: 28.94 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.286e-06/0.3399, allocations: 1.75 kB / 0.5691 GB, free: 28.94 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001212/0.34, allocations: 25.73 kB / 0.5691 GB, free: 28.94 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.306e-06/0.34, allocations: 1.719 kB / 0.5691 GB, free: 28.94 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001199/0.3401, allocations: 25.2 kB / 0.5691 GB, free: 28.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.243e-05/0.3401, allocations: 8.516 kB / 0.5691 GB, free: 28.92 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 6.602e-05/0.3402, allocations: 193.7 kB / 0.5693 GB, free: 28.73 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.013e-05/0.3403, allocations: 29.72 kB / 0.5693 GB, free: 28.71 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.192e-05/0.3403, allocations: 36.95 kB / 0.5694 GB, free: 28.69 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.3404, allocations: 6.469 kB / 0.5694 GB, free: 28.69 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.3404, allocations: 3.938 kB / 0.5694 GB, free: 28.68 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.3404, allocations: 5.297 kB / 0.5694 GB, free: 28.68 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003731/0.3408, allocations: 410.6 kB / 0.5698 GB, free: 28.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.3408, allocations: 1.344 kB / 0.5698 GB, free: 28.38 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001687/0.3409, allocations: 29.34 kB / 0.5698 GB, free: 28.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.624e-06/0.3409, allocations: 0.6562 kB / 0.5698 GB, free: 28.38 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.59e-05/0.341, allocations: 6.812 kB / 0.5698 GB, free: 28.37 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.341, allocations: 0 / 0.5698 GB, free: 28.37 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.341, allocations: 3.5 kB / 0.5698 GB, free: 28.37 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005854/0.3416, allocations: 434.9 kB / 0.5702 GB, free: 28.11 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.406e-05/0.3417, allocations: 129.6 kB / 0.5704 GB, free: 27.98 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.619e-05/0.3417, allocations: 2.125 kB / 0.5704 GB, free: 27.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001449/0.3419, allocations: 12.33 kB / 0.5704 GB, free: 27.97 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.378e-05/0.3419, allocations: 14.67 kB / 0.5704 GB, free: 27.97 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.189e-05/0.3419, allocations: 10.2 kB / 0.5704 GB, free: 27.96 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002027/0.3422, allocations: 233.6 kB / 0.5706 GB, free: 27.84 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3422, allocations: 0 / 0.5706 GB, free: 27.84 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003942/0.3426, allocations: 95.94 kB / 0.5707 GB, free: 27.8 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 8.502e-05/0.3427, allocations: 106.2 kB / 0.5708 GB, free: 27.71 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005301/0.3432, allocations: 281 kB / 0.5711 GB, free: 27.61 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.3432, allocations: 1.906 kB / 0.5711 GB, free: 27.61 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001731/0.3434, allocations: 99.2 kB / 0.5712 GB, free: 27.57 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005163/0.3439, allocations: 94.75 kB / 0.5713 GB, free: 27.54 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009203/0.3448, allocations: 0.5408 MB / 0.5718 GB, free: 27.21 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001978/0.345, allocations: 0.7737 MB / 0.5726 GB, free: 26.51 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001255/0.3452, allocations: 25.89 kB / 0.5726 GB, free: 26.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.033e-05/0.3452, allocations: 21.31 kB / 0.5726 GB, free: 26.5 MB / 446.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3453, allocations: 0.6562 kB / 0.5726 GB, free: 26.5 MB / 446.1 MB Notification: Performance of Templates: time 0.006762/0.352, allocations: 3.158 MB / 0.5757 GB, free: 26.29 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 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1)