Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder") translateModel(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.659/1.659, allocations: 297.8 MB / 313.7 MB, free: 156 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009545/0.0009546, allocations: 179.4 kB / 384.6 MB, free: 10.88 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.434/1.434, allocations: 223.2 MB / 0.6626 GB, free: 4.281 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007985/0.0007985, allocations: 101.7 kB / 0.7808 GB, free: 50.51 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006859/0.000686, allocations: 12 kB / 0.9088 GB, free: 2.863 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7298/0.7306, allocations: 120.3 MB / 1.026 GB, free: 55.88 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1841/0.9147, allocations: 147.1 MB / 1.17 GB, free: 13.83 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002825/0.9151, allocations: 84.03 kB / 1.17 GB, free: 13.77 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.01694/0.932, allocations: 6.951 MB / 1.177 GB, free: 7.859 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.633e-06/0.9321, allocations: 0 / 1.177 GB, free: 7.859 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.911e-05/0.9321, allocations: 13.06 kB / 1.177 GB, free: 7.848 MB / 0.7448 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.0008794/0.933, allocations: 0.5884 MB / 1.177 GB, free: 7.211 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.933, allocations: 12.03 kB / 1.177 GB, free: 7.199 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.514e-05/0.9331, allocations: 41.56 kB / 1.177 GB, free: 7.16 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005124/0.9337, allocations: 395.8 kB / 1.178 GB, free: 6.734 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.445e-05/0.9337, allocations: 20.94 kB / 1.178 GB, free: 6.715 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.676e-05/0.9338, allocations: 25.25 kB / 1.178 GB, free: 6.691 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005747/0.9343, allocations: 337 kB / 1.178 GB, free: 6.352 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.9344, allocations: 4.188 kB / 1.178 GB, free: 6.348 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.913e-05/0.9344, allocations: 11.94 kB / 1.178 GB, free: 6.336 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.9344, allocations: 8 kB / 1.178 GB, free: 6.328 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004966/0.9349, allocations: 239 kB / 1.178 GB, free: 6.098 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001504/0.9364, allocations: 1.175 MB / 1.18 GB, free: 4.871 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004822/0.9369, allocations: 246.8 kB / 1.18 GB, free: 4.621 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002057/0.9371, allocations: 102.1 kB / 1.18 GB, free: 4.52 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.856e-05/0.9372, allocations: 0 / 1.18 GB, free: 4.52 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.817e-05/0.9372, allocations: 38.55 kB / 1.18 GB, free: 4.473 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 1.493e-06/0.9372, allocations: 0 / 1.18 GB, free: 4.473 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.0006715/0.9379, allocations: 315 kB / 1.18 GB, free: 4.16 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.642e-05/0.938, allocations: 89.09 kB / 1.18 GB, free: 4.055 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003443/0.9383, allocations: 324.6 kB / 1.181 GB, free: 3.73 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.491e-05/0.9384, allocations: 26.83 kB / 1.181 GB, free: 3.699 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001355/0.9385, allocations: 196.1 kB / 1.181 GB, free: 3.504 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.533e-05/0.9385, allocations: 51.25 kB / 1.181 GB, free: 3.453 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.145e-05/0.9386, allocations: 8 kB / 1.181 GB, free: 3.445 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.9387, allocations: 338.8 kB / 1.181 GB, free: 3.105 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001869/0.9389, allocations: 87.97 kB / 1.181 GB, free: 3.02 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002022/0.9391, allocations: 120.9 kB / 1.181 GB, free: 2.891 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003685/0.9395, allocations: 203.4 kB / 1.182 GB, free: 2.684 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.9395, allocations: 0 / 1.182 GB, free: 2.684 MB / 0.7448 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005387/0.94, allocations: 266.2 kB / 1.182 GB, free: 2.418 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 8.185e-05/0.9401, allocations: 106.8 kB / 1.182 GB, free: 2.301 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.9402, allocations: 4 kB / 1.182 GB, free: 2.297 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/0.9402, allocations: 1.125 kB / 1.182 GB, free: 2.297 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002165/0.9404, allocations: 43.8 kB / 1.182 GB, free: 2.254 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/0.9404, allocations: 3.984 kB / 1.182 GB, free: 2.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001425/0.9406, allocations: 25.84 kB / 1.182 GB, free: 2.227 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.507e-05/0.9406, allocations: 4 kB / 1.182 GB, free: 2.223 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 8.596e-06/0.9406, allocations: 6.344 kB / 1.182 GB, free: 2.219 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003182/0.9409, allocations: 179.8 kB / 1.182 GB, free: 2.043 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.194e-06/0.941, allocations: 0 / 1.182 GB, free: 2.043 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.504e-06/0.941, allocations: 0 / 1.182 GB, free: 2.043 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001299/0.9411, allocations: 35.92 kB / 1.182 GB, free: 2.008 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.657e-06/0.9411, allocations: 0.7812 kB / 1.182 GB, free: 2.008 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001146/0.9412, allocations: 15.84 kB / 1.182 GB, free: 1.992 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.588e-05/0.9413, allocations: 8.938 kB / 1.182 GB, free: 1.984 MB / 0.7448 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.0002307/0.9415, allocations: 246.9 kB / 1.183 GB, free: 1.734 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.578e-05/0.9416, allocations: 27.62 kB / 1.183 GB, free: 1.707 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.605e-05/0.9416, allocations: 35.28 kB / 1.183 GB, free: 1.668 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.227e-06/0.9416, allocations: 4 kB / 1.183 GB, free: 1.664 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.9417, allocations: 3.984 kB / 1.183 GB, free: 1.66 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.9417, allocations: 0 / 1.183 GB, free: 1.66 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004294/0.9421, allocations: 413.2 kB / 1.183 GB, free: 1.207 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.9421, allocations: 0 / 1.183 GB, free: 1.207 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001769/0.9423, allocations: 37.55 kB / 1.183 GB, free: 1.172 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.9423, allocations: 0.9375 kB / 1.183 GB, free: 1.172 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2e-05/0.9423, allocations: 4 kB / 1.183 GB, free: 1.168 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.255e-06/0.9423, allocations: 0 / 1.183 GB, free: 1.168 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.9423, allocations: 4 kB / 1.183 GB, free: 1.164 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006949/0.943, allocations: 451 kB / 1.183 GB, free: 0.707 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001283/0.9432, allocations: 133.8 kB / 1.184 GB, free: 0.5586 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.588e-05/0.9432, allocations: 7.938 kB / 1.184 GB, free: 0.5508 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001507/0.9434, allocations: 16.06 kB / 1.184 GB, free: 0.5352 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.558e-05/0.9435, allocations: 11.98 kB / 1.184 GB, free: 0.5234 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.361e-05/0.9435, allocations: 7.984 kB / 1.184 GB, free: 0.5156 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002788/0.9438, allocations: 232.6 kB / 1.184 GB, free: 300 kB / 0.7448 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9438, allocations: 0 / 1.184 GB, free: 300 kB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003942/0.9442, allocations: 87.69 kB / 1.184 GB, free: 212 kB / 0.7448 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.0001411/0.9443, allocations: 109.7 kB / 1.184 GB, free: 96 kB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0006061/0.9449, allocations: 303.6 kB / 1.184 GB, free: 15.8 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.706e-06/0.945, allocations: 4 kB / 1.184 GB, free: 15.8 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001984/0.9452, allocations: 108.1 kB / 1.184 GB, free: 15.69 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005725/0.9457, allocations: 70.2 kB / 1.184 GB, free: 15.63 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001117/0.9469, allocations: 0.6407 MB / 1.185 GB, free: 14.96 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000317/0.9472, allocations: 0.7755 MB / 1.186 GB, free: 14.16 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001543/0.9474, allocations: 27.64 kB / 1.186 GB, free: 14.13 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.902e-05/0.9474, allocations: 19.44 kB / 1.186 GB, free: 14.11 MB / 0.7605 GB Notification: Performance of SimCode: time 2.41e-07/0.9474, allocations: 0 / 1.186 GB, free: 14.11 MB / 0.7605 GB Notification: Performance of Templates: time 0.006461/0.9539, allocations: 2.937 MB / 1.189 GB, free: 11.3 MB / 0.7605 GB make -j1 -f Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.makefile (rm -f Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.sim & ./Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1)