Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder") translateModel(BuildSysPro.IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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.0009119/0.000912, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001037/0.001037, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.31/1.31, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9486/0.9486, allocations: 143.3 MB / 434.3 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003494/0.0003494, allocations: 8 kB / 0.5158 GB, free: 11.31 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1623/0.1626, allocations: 83.41 MB / 0.5973 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.002816/0.1655, allocations: 2.183 MB / 0.5994 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001399/0.1669, allocations: 0.8304 MB / 0.6002 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000168/0.1671, allocations: 11.94 kB / 0.6002 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 5.391e-05/0.1671, allocations: 23.72 kB / 0.6003 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003167/0.1675, allocations: 87.69 kB / 0.6003 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003966/0.1679, allocations: 147.1 kB / 0.6005 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003859/0.1683, allocations: 248.2 kB / 0.6007 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002499/0.1685, allocations: 140.4 kB / 0.6009 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001036/0.1686, allocations: 91.45 kB / 0.6009 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001279/0.1688, allocations: 95.36 kB / 0.601 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.944e-05/0.1688, allocations: 8 kB / 0.601 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.416e-05/0.1688, allocations: 8 kB / 0.601 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.63e-05/0.1689, allocations: 39.78 kB / 0.6011 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.315e-05/0.169, allocations: 85.52 kB / 0.6012 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004801/0.1694, allocations: 0.5184 MB / 0.6017 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.1695, allocations: 0 / 0.6017 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.312e-06/0.1695, allocations: 0 / 0.6017 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.544e-06/0.1695, allocations: 0 / 0.6017 GB, free: 3.309 MB / 0.4981 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.0008791/0.1704, allocations: 0.5804 MB / 0.6022 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.1704, allocations: 12.03 kB / 0.6022 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.276e-05/0.1705, allocations: 43.48 kB / 0.6023 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004386/0.1709, allocations: 366.2 kB / 0.6026 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.132e-05/0.171, allocations: 24.56 kB / 0.6027 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.82e-05/0.171, allocations: 28 kB / 0.6027 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006001/0.1716, allocations: 333.3 kB / 0.603 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.1717, allocations: 3.938 kB / 0.603 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.162e-05/0.1717, allocations: 8 kB / 0.603 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.798e-06/0.1717, allocations: 8 kB / 0.603 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005129/0.1722, allocations: 246.1 kB / 0.6033 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001501/0.1737, allocations: 1.174 MB / 0.6044 GB, free: 352 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000546/0.1743, allocations: 250.8 kB / 0.6046 GB, free: 92 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.479e-05/0.1743, allocations: 4 kB / 0.6047 GB, free: 88 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.106e-05/0.1744, allocations: 34.56 kB / 0.6047 GB, free: 44 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 1.262e-06/0.1744, allocations: 3.938 kB / 0.6047 GB, free: 40 kB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.252/0.4264, allocations: 315 kB / 0.605 GB, free: 41 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.622e-05/0.4265, allocations: 82.64 kB / 0.6051 GB, free: 40.91 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003091/0.4268, allocations: 323.9 kB / 0.6054 GB, free: 40.8 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.935e-05/0.4268, allocations: 28.64 kB / 0.6054 GB, free: 40.77 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.4269, allocations: 197.2 kB / 0.6056 GB, free: 40.69 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.439e-05/0.427, allocations: 54.66 kB / 0.6056 GB, free: 40.66 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.126e-05/0.427, allocations: 6.375 kB / 0.6057 GB, free: 40.66 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.59e-05/0.427, allocations: 343 kB / 0.606 GB, free: 40.35 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00016/0.4272, allocations: 83.05 kB / 0.6061 GB, free: 40.35 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001723/0.4274, allocations: 124.5 kB / 0.6062 GB, free: 40.32 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001647/0.4276, allocations: 93.62 kB / 0.6063 GB, free: 40.32 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.4276, allocations: 0 / 0.6063 GB, free: 40.32 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004058/0.428, allocations: 271.8 kB / 0.6065 GB, free: 40.27 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.004e-05/0.428, allocations: 271 kB / 0.6068 GB, free: 40 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.4281, allocations: 2.625 kB / 0.6068 GB, free: 40 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.4281, allocations: 0.875 kB / 0.6068 GB, free: 40 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001673/0.4282, allocations: 35.89 kB / 0.6068 GB, free: 40 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.4283, allocations: 6.156 kB / 0.6068 GB, free: 40 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001289/0.4284, allocations: 21.78 kB / 0.6068 GB, free: 39.99 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.493e-05/0.4284, allocations: 7.188 kB / 0.6069 GB, free: 39.99 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.261e-06/0.4284, allocations: 2.75 kB / 0.6069 GB, free: 39.99 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002716/0.4287, allocations: 183 kB / 0.607 GB, free: 39.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.683e-06/0.4287, allocations: 0 / 0.607 GB, free: 39.98 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.486e-06/0.4287, allocations: 2.5 kB / 0.607 GB, free: 39.98 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001137/0.4288, allocations: 30.72 kB / 0.6071 GB, free: 39.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.4289, allocations: 6.891 kB / 0.6071 GB, free: 39.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001021/0.429, allocations: 30.42 kB / 0.6071 GB, free: 39.97 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-06/0.429, allocations: 2.719 kB / 0.6071 GB, free: 39.97 MB / 0.4981 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.oveWriSet_activate,expMod.oveWriAct_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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001324/0.4291, allocations: 239 kB / 0.6073 GB, free: 39.78 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.76e-05/0.4292, allocations: 29.16 kB / 0.6074 GB, free: 39.77 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.538e-05/0.4292, allocations: 34.73 kB / 0.6074 GB, free: 39.76 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.4293, allocations: 5.875 kB / 0.6074 GB, free: 39.76 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.4293, allocations: 8.609 kB / 0.6074 GB, free: 39.76 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.4293, allocations: 1.828 kB / 0.6074 GB, free: 39.76 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003185/0.4296, allocations: 404.9 kB / 0.6078 GB, free: 39.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.4296, allocations: 0 / 0.6078 GB, free: 39.57 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001598/0.4298, allocations: 36.2 kB / 0.6078 GB, free: 39.57 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.4298, allocations: 3.25 kB / 0.6078 GB, free: 39.57 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/0.4298, allocations: 0 / 0.6078 GB, free: 39.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.4298, allocations: 0 / 0.6078 GB, free: 39.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.4298, allocations: 4 kB / 0.6078 GB, free: 39.57 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005461/0.4304, allocations: 457 kB / 0.6083 GB, free: 39.41 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.807e-05/0.4305, allocations: 134 kB / 0.6084 GB, free: 39.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.668e-05/0.4305, allocations: 3.438 kB / 0.6084 GB, free: 39.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001474/0.4307, allocations: 15.8 kB / 0.6084 GB, free: 39.3 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.903e-05/0.4307, allocations: 12.2 kB / 0.6084 GB, free: 39.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.011e-05/0.4307, allocations: 7.562 kB / 0.6084 GB, free: 39.3 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000162/0.4309, allocations: 231.8 kB / 0.6087 GB, free: 39.22 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4309, allocations: 1.984 kB / 0.6087 GB, free: 39.22 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003638/0.4313, allocations: 94.7 kB / 0.6087 GB, free: 39.2 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.293e-05/0.4314, allocations: 100.2 kB / 0.6088 GB, free: 39.11 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005006/0.4319, allocations: 301.8 kB / 0.6091 GB, free: 39.1 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.4319, allocations: 0 / 0.6091 GB, free: 39.1 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001722/0.4321, allocations: 106.4 kB / 0.6092 GB, free: 39.09 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004584/0.4325, allocations: 70.48 kB / 0.6093 GB, free: 39.09 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008176/0.4333, allocations: 0.6481 MB / 0.6099 GB, free: 38.73 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001537/0.4335, allocations: 0.7826 MB / 0.6107 GB, free: 38.03 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001097/0.4336, allocations: 28.31 kB / 0.6107 GB, free: 38.03 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.031e-05/0.4337, allocations: 22.22 kB / 0.6107 GB, free: 38.02 MB / 0.4981 GB Notification: Performance of SimCode: time 3.11e-07/0.4337, allocations: 0 / 0.6107 GB, free: 38.02 MB / 0.4981 GB Notification: Performance of Templates: time 0.005018/0.4387, allocations: 2.848 MB / 0.6135 GB, free: 37.87 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder.makefile Environment - environmentSimulation: (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1) Environment - environmentSimulation: