Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder") translateModel(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.621/1.621, allocations: 289.9 MB / 297.4 MB, free: 6.387 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.0009544/0.0009546, allocations: 180.8 kB / 366.7 MB, free: 1.66 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.49/1.49, allocations: 205.2 MB / 0.626 GB, free: 7.184 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008199/0.0008199, allocations: 79.17 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.32e-05/1.321e-05, allocations: 4 kB / 0.8597 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6356/0.6356, allocations: 116.3 MB / 0.9732 GB, free: 76.43 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1913/0.827, allocations: 144.3 MB / 1.114 GB, free: 5.906 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002333/0.8273, allocations: 76.55 kB / 1.114 GB, free: 5.832 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01564/0.843, allocations: 6.939 MB / 1.121 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.907e-06/0.843, allocations: 0 / 1.121 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.102e-05/0.8431, allocations: 15.94 kB / 1.121 GB, free: 14.95 MB / 0.7292 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.0009707/0.8441, allocations: 0.5449 MB / 1.122 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.305e-05/0.8441, allocations: 8.031 kB / 1.122 GB, free: 14.35 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001562/0.8443, allocations: 43.44 kB / 1.122 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006729/0.845, allocations: 398.7 kB / 1.122 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.815e-05/0.845, allocations: 8 kB / 1.122 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.406e-05/0.8451, allocations: 16 kB / 1.122 GB, free: 13.85 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004317/0.8455, allocations: 189.1 kB / 1.122 GB, free: 13.67 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004723/0.846, allocations: 264.3 kB / 1.122 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.846, allocations: 4 kB / 1.122 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.967e-05/0.8461, allocations: 3.984 kB / 1.122 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.397e-06/0.8461, allocations: 4 kB / 1.122 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001659/0.8477, allocations: 1.092 MB / 1.124 GB, free: 12.24 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000438/0.8482, allocations: 204.9 kB / 1.124 GB, free: 12.03 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001307/0.8483, allocations: 76.86 kB / 1.124 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.991e-05/0.8484, allocations: 4 kB / 1.124 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.784e-05/0.8484, allocations: 34.77 kB / 1.124 GB, free: 11.91 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=16): time 3.707e-06/0.8484, allocations: 0 / 1.124 GB, free: 11.91 MB / 0.7292 GB Notification: Performance of matching and sorting (n=16): time 0.0004004/0.8488, allocations: 187.4 kB / 1.124 GB, free: 11.72 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.132e-05/0.8489, allocations: 81.11 kB / 1.124 GB, free: 11.62 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002934/0.8492, allocations: 238.3 kB / 1.124 GB, free: 11.38 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.455e-05/0.8492, allocations: 25.7 kB / 1.124 GB, free: 11.35 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001475/0.8494, allocations: 204.4 kB / 1.125 GB, free: 11.15 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 5.468e-05/0.8495, allocations: 47.2 kB / 1.125 GB, free: 11.1 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.909e-06/0.8495, allocations: 0 / 1.125 GB, free: 11.1 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.8496, allocations: 346.8 kB / 1.125 GB, free: 10.75 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000104/0.8497, allocations: 60 kB / 1.125 GB, free: 10.7 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001326/0.8499, allocations: 102.2 kB / 1.125 GB, free: 10.59 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001186/0.85, allocations: 69.39 kB / 1.125 GB, free: 10.52 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.85, allocations: 0 / 1.125 GB, free: 10.52 MB / 0.7292 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003092/0.8503, allocations: 205.2 kB / 1.125 GB, free: 10.31 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001258/0.8505, allocations: 276.1 kB / 1.126 GB, free: 10.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.8505, allocations: 3.984 kB / 1.126 GB, free: 10.02 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.8505, allocations: 0 / 1.126 GB, free: 10.02 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001661/0.8507, allocations: 31.98 kB / 1.126 GB, free: 9.988 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.8507, allocations: 6.688 kB / 1.126 GB, free: 9.984 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001374/0.8508, allocations: 23.83 kB / 1.126 GB, free: 9.961 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.808e-05/0.8509, allocations: 11.94 kB / 1.126 GB, free: 9.949 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.056e-05/0.8509, allocations: 4 kB / 1.126 GB, free: 9.945 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002291/0.8511, allocations: 133.3 kB / 1.126 GB, free: 9.816 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.334e-06/0.8511, allocations: 0 / 1.126 GB, free: 9.816 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.11e-06/0.8511, allocations: 4 kB / 1.126 GB, free: 9.812 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001267/0.8513, allocations: 35.88 kB / 1.126 GB, free: 9.777 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.8513, allocations: 4 kB / 1.126 GB, free: 9.773 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001087/0.8514, allocations: 11.97 kB / 1.126 GB, free: 9.762 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.334e-05/0.8514, allocations: 5.875 kB / 1.126 GB, free: 9.758 MB / 0.7292 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 () * 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.0001143/0.8515, allocations: 112.9 kB / 1.126 GB, free: 9.641 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.731e-05/0.8516, allocations: 26.62 kB / 1.126 GB, free: 9.617 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.805e-05/0.8517, allocations: 30.08 kB / 1.126 GB, free: 9.59 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.8517, allocations: 0 / 1.126 GB, free: 9.59 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.677e-06/0.8517, allocations: 3.953 kB / 1.126 GB, free: 9.586 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.8517, allocations: 0 / 1.126 GB, free: 9.586 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004061/0.8521, allocations: 361.9 kB / 1.126 GB, free: 9.195 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.8522, allocations: 4 kB / 1.126 GB, free: 9.191 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001699/0.8523, allocations: 31.92 kB / 1.126 GB, free: 9.16 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.097e-06/0.8523, allocations: 0 / 1.126 GB, free: 9.16 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.531e-05/0.8524, allocations: 0 / 1.126 GB, free: 9.16 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.8524, allocations: 0 / 1.126 GB, free: 9.16 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/0.8524, allocations: 0 / 1.126 GB, free: 9.16 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000464/0.8529, allocations: 383 kB / 1.127 GB, free: 8.77 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001064/0.853, allocations: 128.8 kB / 1.127 GB, free: 8.625 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.502e-05/0.853, allocations: 5.5 kB / 1.127 GB, free: 8.621 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001415/0.8532, allocations: 15.98 kB / 1.127 GB, free: 8.605 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.003e-05/0.8532, allocations: 7.984 kB / 1.127 GB, free: 8.598 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.978e-06/0.8532, allocations: 4 kB / 1.127 GB, free: 8.594 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001749/0.8534, allocations: 182 kB / 1.127 GB, free: 8.418 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8534, allocations: 0 / 1.127 GB, free: 8.418 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003857/0.8538, allocations: 87.53 kB / 1.127 GB, free: 8.332 MB / 0.7292 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 () * 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.0001422/0.854, allocations: 123.1 kB / 1.127 GB, free: 8.199 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003927/0.8544, allocations: 240 kB / 1.127 GB, free: 7.969 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.8544, allocations: 0 / 1.127 GB, free: 7.969 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001103/0.8545, allocations: 79.92 kB / 1.128 GB, free: 7.891 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004505/0.855, allocations: 73.02 kB / 1.128 GB, free: 7.828 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008518/0.8558, allocations: 408.1 kB / 1.128 GB, free: 7.406 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003521/0.8562, allocations: 0.784 MB / 1.129 GB, free: 6.598 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002036/0.8564, allocations: 39.3 kB / 1.129 GB, free: 6.566 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.623e-05/0.8565, allocations: 19.44 kB / 1.129 GB, free: 6.547 MB / 0.7292 GB Notification: Performance of SimCode: time 6.11e-07/0.8565, allocations: 1.875 kB / 1.129 GB, free: 6.547 MB / 0.7292 GB Notification: Performance of Templates: time 0.006151/0.8626, allocations: 2.929 MB / 1.132 GB, free: 3.691 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.makefile (rm -f Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; mkfifo Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe >> ../files/Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.sim & ./Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1)