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.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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.008581/0.008582, allocations: 101.3 kB / 15.88 MB, free: 5.863 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.00138/0.00138, allocations: 190.5 kB / 16.79 MB, free: 5.805 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.365/1.365, allocations: 222.9 MB / 240.5 MB, free: 4.555 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9832/0.9832, allocations: 143 MB / 433.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 64.05 kB / 0.5141 GB, free: 12.1 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1469/0.1481, allocations: 82.03 MB / 0.5943 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.003809/0.152, allocations: 2.648 MB / 0.5968 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001421/0.1534, allocations: 0.8845 MB / 0.5977 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001971/0.1536, allocations: 8 kB / 0.5977 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002077/0.1538, allocations: 43.58 kB / 0.5978 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001369/0.154, allocations: 51.64 kB / 0.5978 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004865/0.1545, allocations: 217.4 kB / 0.598 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003905/0.1549, allocations: 399.7 kB / 0.5984 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003186/0.1552, allocations: 225.1 kB / 0.5986 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001165/0.1553, allocations: 107.4 kB / 0.5987 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001397/0.1555, allocations: 131.2 kB / 0.5988 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.228e-05/0.1555, allocations: 12 kB / 0.5988 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 3.412e-05/0.1556, allocations: 16 kB / 0.5989 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.165e-05/0.1556, allocations: 59.7 kB / 0.5989 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001248/0.1558, allocations: 155 kB / 0.5991 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003952/0.1562, allocations: 0.5303 MB / 0.5996 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1562, allocations: 3.938 kB / 0.5996 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of FrontEnd: time 7.42e-07/0.1562, allocations: 0 / 0.5996 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.1562, allocations: 0 / 0.5996 GB, free: 4.543 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.0008797/0.1571, allocations: 0.6468 MB / 0.6002 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.1571, allocations: 8.031 kB / 0.6002 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.906e-05/0.1572, allocations: 44.47 kB / 0.6003 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004029/0.1576, allocations: 379.3 kB / 0.6006 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.605e-05/0.1577, allocations: 20.92 kB / 0.6006 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.419e-05/0.1577, allocations: 28.38 kB / 0.6007 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005493/0.1583, allocations: 333.7 kB / 0.601 GB, free: 3 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.1583, allocations: 4 kB / 0.601 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.835e-05/0.1583, allocations: 12 kB / 0.601 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.1583, allocations: 8 kB / 0.601 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004598/0.1588, allocations: 234.1 kB / 0.6012 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001421/0.1602, allocations: 1.166 MB / 0.6024 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004666/0.1607, allocations: 238.9 kB / 0.6026 GB, free: 1.281 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002008/0.1609, allocations: 92.83 kB / 0.6027 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.442e-05/0.161, allocations: 4 kB / 0.6027 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/0.161, allocations: 38.5 kB / 0.6027 GB, free: 1.137 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 1.543e-06/0.161, allocations: 3.938 kB / 0.6027 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.0006563/0.1617, allocations: 299.6 kB / 0.603 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.935e-05/0.1617, allocations: 85.11 kB / 0.6031 GB, free: 0.7344 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003167/0.162, allocations: 328.4 kB / 0.6034 GB, free: 408 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.238e-05/0.1621, allocations: 29.7 kB / 0.6034 GB, free: 372 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001349/0.1622, allocations: 196.1 kB / 0.6036 GB, free: 172 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.607e-05/0.1623, allocations: 55.19 kB / 0.6037 GB, free: 116 kB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.01e-05/0.1623, allocations: 41.7 kB / 0.6037 GB, free: 68 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.2454/0.4077, allocations: 337.9 kB / 0.604 GB, free: 43.69 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002854/0.408, allocations: 86.16 kB / 0.6041 GB, free: 43.68 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002024/0.4082, allocations: 120.3 kB / 0.6042 GB, free: 43.65 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003354/0.4086, allocations: 191.2 kB / 0.6044 GB, free: 43.63 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.4086, allocations: 0 / 0.6044 GB, free: 43.63 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000488/0.4091, allocations: 252.6 kB / 0.6047 GB, free: 43.6 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.4091, allocations: 8.484 kB / 0.6047 GB, free: 43.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.443e-06/0.4091, allocations: 0.7812 kB / 0.6047 GB, free: 43.6 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.4092, allocations: 2.906 kB / 0.6047 GB, free: 43.6 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001865/0.4094, allocations: 37.56 kB / 0.6047 GB, free: 43.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.4094, allocations: 2.938 kB / 0.6047 GB, free: 43.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001362/0.4095, allocations: 30.77 kB / 0.6047 GB, free: 43.6 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.647e-05/0.4095, allocations: 6.562 kB / 0.6048 GB, free: 43.6 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002202/0.4098, allocations: 198.7 kB / 0.6049 GB, free: 43.52 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001247/0.4099, allocations: 104 kB / 0.605 GB, free: 43.48 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000214/0.4101, allocations: 162.1 kB / 0.6052 GB, free: 43.46 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.082e-06/0.4101, allocations: 0.6875 kB / 0.6052 GB, free: 43.46 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0003105/0.4104, allocations: 230.7 kB / 0.6054 GB, free: 43.43 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.833e-06/0.4105, allocations: 5.781 kB / 0.6054 GB, free: 43.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.603e-06/0.4105, allocations: 0.6562 kB / 0.6054 GB, free: 43.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.665e-06/0.4105, allocations: 0 / 0.6054 GB, free: 43.43 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001157/0.4106, allocations: 31.22 kB / 0.6055 GB, free: 43.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.816e-06/0.4106, allocations: 3.562 kB / 0.6055 GB, free: 43.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000109/0.4107, allocations: 23.97 kB / 0.6055 GB, free: 43.43 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.121e-05/0.4107, allocations: 5.219 kB / 0.6055 GB, free: 43.43 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.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 7.62e-05/0.4108, allocations: 187 kB / 0.6057 GB, free: 43.25 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.099e-05/0.4109, allocations: 33.59 kB / 0.6057 GB, free: 43.25 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.024e-05/0.4109, allocations: 31.23 kB / 0.6057 GB, free: 43.24 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.411, allocations: 2.969 kB / 0.6057 GB, free: 43.24 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.411, allocations: 7.375 kB / 0.6057 GB, free: 43.23 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.411, allocations: 0.6562 kB / 0.6057 GB, free: 43.23 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003402/0.4113, allocations: 402.8 kB / 0.6061 GB, free: 43.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.4113, allocations: 0.5 kB / 0.6061 GB, free: 43.05 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001614/0.4115, allocations: 26.48 kB / 0.6061 GB, free: 43.05 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.4115, allocations: 3.5 kB / 0.6061 GB, free: 43.05 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.597e-05/0.4115, allocations: 6.25 kB / 0.6062 GB, free: 43.05 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.4115, allocations: 0 / 0.6062 GB, free: 43.05 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.4115, allocations: 5.312 kB / 0.6062 GB, free: 43.04 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000548/0.4121, allocations: 440.8 kB / 0.6066 GB, free: 42.89 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.221e-05/0.4122, allocations: 126.8 kB / 0.6067 GB, free: 42.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.701e-05/0.4122, allocations: 4.5 kB / 0.6067 GB, free: 42.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001441/0.4124, allocations: 16.03 kB / 0.6067 GB, free: 42.79 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.271e-05/0.4124, allocations: 15.36 kB / 0.6067 GB, free: 42.79 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.179e-05/0.4125, allocations: 5.969 kB / 0.6067 GB, free: 42.79 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001955/0.4127, allocations: 235.5 kB / 0.607 GB, free: 42.7 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4127, allocations: 0 / 0.607 GB, free: 42.7 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003911/0.4131, allocations: 93.52 kB / 0.6071 GB, free: 42.69 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 (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.765e-05/0.4132, allocations: 103 kB / 0.6072 GB, free: 42.61 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005003/0.4137, allocations: 286.1 kB / 0.6074 GB, free: 42.61 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.4137, allocations: 0 / 0.6074 GB, free: 42.61 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001574/0.4138, allocations: 99.55 kB / 0.6075 GB, free: 42.61 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005682/0.4144, allocations: 76.41 kB / 0.6076 GB, free: 42.61 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000918/0.4153, allocations: 0.6975 MB / 0.6083 GB, free: 42.2 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001689/0.4155, allocations: 0.7744 MB / 0.609 GB, free: 41.5 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.642e-05/0.4156, allocations: 25.39 kB / 0.6091 GB, free: 41.49 MB / 0.4981 GB Notification: Performance of SimCode: time 5.51e-07/0.4156, allocations: 0 / 0.6091 GB, free: 41.49 MB / 0.4981 GB Notification: Performance of Templates: time 0.004818/0.4204, allocations: 3.963 MB / 0.6129 GB, free: 41.2 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder.makefile (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)