Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder") translateModel(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.537/2.537, allocations: 287.5 MB / 303.2 MB, free: 8.156 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001258/0.001258, allocations: 184.5 kB / 371.8 MB, free: 10.81 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.033/2.033, allocations: 205.4 MB / 0.6305 GB, free: 10.55 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009143/0.000914, allocations: 86.31 kB / 0.7438 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004732/0.0004734, allocations: 10.56 kB / 0.8667 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2072/0.2077, allocations: 115.3 MB / 0.9793 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.872/1.08, allocations: 143.9 MB / 1.12 GB, free: 15.73 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003066/1.08, allocations: 91.36 kB / 1.12 GB, free: 15.73 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02311/1.103, allocations: 7.019 MB / 1.127 GB, free: 31.05 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.144e-06/1.103, allocations: 4 kB / 1.127 GB, free: 31.04 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.533e-05/1.103, allocations: 7.656 kB / 1.127 GB, free: 31.04 MB / 0.698 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.001135/1.105, allocations: 0.5943 MB / 1.127 GB, free: 30.57 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/1.105, allocations: 11.72 kB / 1.127 GB, free: 30.56 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.759e-05/1.105, allocations: 39.78 kB / 1.127 GB, free: 30.54 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006438/1.105, allocations: 412.9 kB / 1.128 GB, free: 30.3 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.883e-05/1.105, allocations: 22.53 kB / 1.128 GB, free: 30.3 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.48e-05/1.106, allocations: 22.53 kB / 1.128 GB, free: 30.3 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007787/1.106, allocations: 332 kB / 1.128 GB, free: 30.22 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/1.106, allocations: 2.828 kB / 1.128 GB, free: 30.22 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.55e-05/1.106, allocations: 16.62 kB / 1.128 GB, free: 30.21 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/1.106, allocations: 3.875 kB / 1.128 GB, free: 30.21 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007185/1.107, allocations: 251 kB / 1.128 GB, free: 30.21 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00196/1.109, allocations: 1.174 MB / 1.13 GB, free: 29.7 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006977/1.11, allocations: 245.8 kB / 1.13 GB, free: 29.66 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002913/1.11, allocations: 99.59 kB / 1.13 GB, free: 29.65 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.72e-05/1.11, allocations: 0 / 1.13 GB, free: 29.65 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.993e-05/1.11, allocations: 40.58 kB / 1.13 GB, free: 29.61 MB / 0.698 GB Notification: Performance of pre-optimization done (n=16): time 2.986e-06/1.11, allocations: 7.797 kB / 1.13 GB, free: 29.61 MB / 0.698 GB Notification: Performance of matching and sorting (n=16): time 0.000985/1.111, allocations: 316.5 kB / 1.13 GB, free: 29.55 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.823e-05/1.111, allocations: 84.17 kB / 1.13 GB, free: 29.45 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004695/1.112, allocations: 332.1 kB / 1.131 GB, free: 29.34 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.563e-05/1.112, allocations: 25.7 kB / 1.131 GB, free: 29.31 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001537/1.112, allocations: 204.7 kB / 1.131 GB, free: 29.2 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.259e-05/1.112, allocations: 49.86 kB / 1.131 GB, free: 29.17 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.646e-05/1.112, allocations: 3.062 kB / 1.131 GB, free: 29.17 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001383/1.112, allocations: 349.3 kB / 1.131 GB, free: 28.86 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002759/1.113, allocations: 85.17 kB / 1.131 GB, free: 28.85 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002996/1.113, allocations: 116.3 kB / 1.131 GB, free: 28.82 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005498/1.113, allocations: 203.6 kB / 1.132 GB, free: 28.79 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/1.113, allocations: 0 / 1.132 GB, free: 28.79 MB / 0.698 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007024/1.114, allocations: 264.4 kB / 1.132 GB, free: 28.73 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.29e-05/1.114, allocations: 119 kB / 1.132 GB, free: 28.62 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/1.114, allocations: 4 kB / 1.132 GB, free: 28.61 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/1.114, allocations: 0 / 1.132 GB, free: 28.61 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003046/1.115, allocations: 37.73 kB / 1.132 GB, free: 28.61 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/1.115, allocations: 3.875 kB / 1.132 GB, free: 28.61 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000225/1.115, allocations: 29.53 kB / 1.132 GB, free: 28.59 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.207e-05/1.115, allocations: 10.53 kB / 1.132 GB, free: 28.59 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.013e-06/1.115, allocations: 3.781 kB / 1.132 GB, free: 28.59 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004387/1.115, allocations: 168.9 kB / 1.132 GB, free: 28.58 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.386e-06/1.115, allocations: 3.844 kB / 1.132 GB, free: 28.58 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.216e-06/1.115, allocations: 0 / 1.132 GB, free: 28.58 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002411/1.116, allocations: 33.86 kB / 1.132 GB, free: 28.58 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.359e-06/1.116, allocations: 2.578 kB / 1.132 GB, free: 28.58 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001722/1.116, allocations: 19.78 kB / 1.132 GB, free: 28.57 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.606e-05/1.116, allocations: 11.34 kB / 1.132 GB, free: 28.56 MB / 0.698 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 (actSet.y,actAct.y,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.0003033/1.116, allocations: 239.6 kB / 1.133 GB, free: 28.37 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.278e-05/1.116, allocations: 30.27 kB / 1.133 GB, free: 28.36 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.887e-05/1.116, allocations: 41.88 kB / 1.133 GB, free: 28.34 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.706e-06/1.116, allocations: 0 / 1.133 GB, free: 28.34 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/1.116, allocations: 0 / 1.133 GB, free: 28.34 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/1.116, allocations: 3 kB / 1.133 GB, free: 28.34 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005173/1.117, allocations: 414 kB / 1.133 GB, free: 28.14 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/1.117, allocations: 3.844 kB / 1.133 GB, free: 28.14 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002874/1.117, allocations: 24.7 kB / 1.133 GB, free: 28.14 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/1.117, allocations: 3.844 kB / 1.133 GB, free: 28.14 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.151e-05/1.117, allocations: 3.188 kB / 1.133 GB, free: 28.14 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/1.117, allocations: 0 / 1.133 GB, free: 28.14 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/1.117, allocations: 0 / 1.133 GB, free: 28.14 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001001/1.118, allocations: 460.5 kB / 1.133 GB, free: 27.98 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001563/1.118, allocations: 133.3 kB / 1.134 GB, free: 27.87 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.689e-05/1.119, allocations: 7.688 kB / 1.134 GB, free: 27.87 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002434/1.119, allocations: 17.25 kB / 1.134 GB, free: 27.87 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.234e-05/1.119, allocations: 10.02 kB / 1.134 GB, free: 27.87 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.511e-05/1.119, allocations: 3.875 kB / 1.134 GB, free: 27.87 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003171/1.119, allocations: 240.9 kB / 1.134 GB, free: 27.78 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.8e-07/1.119, allocations: 0 / 1.134 GB, free: 27.78 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005777/1.12, allocations: 88.97 kB / 1.134 GB, free: 27.77 MB / 0.698 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 (actSet.y,actAct.y) * 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 0.000157/1.12, allocations: 108.8 kB / 1.134 GB, free: 27.67 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0008659/1.121, allocations: 293.1 kB / 1.134 GB, free: 27.66 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/1.121, allocations: 4 kB / 1.134 GB, free: 27.65 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.00029/1.121, allocations: 107.5 kB / 1.134 GB, free: 27.64 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000832/1.122, allocations: 83.83 kB / 1.135 GB, free: 27.63 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001465/1.124, allocations: 0.6525 MB / 1.135 GB, free: 27.26 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003521/1.124, allocations: 0.7769 MB / 1.136 GB, free: 26.52 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002268/1.124, allocations: 29.69 kB / 1.136 GB, free: 26.5 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.101e-05/1.124, allocations: 19 kB / 1.136 GB, free: 26.5 MB / 0.698 GB Notification: Performance of SimCode: time 1.072e-06/1.124, allocations: 3.938 kB / 1.136 GB, free: 26.5 MB / 0.698 GB Notification: Performance of Templates: time 0.009036/1.133, allocations: 2.909 MB / 1.139 GB, free: 25.09 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.sim & ./Buildings_8.0.0_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1)