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.676/1.676, allocations: 289.7 MB / 302.2 MB, free: 2.164 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.001097/0.001097, allocations: 178.9 kB / 371.6 MB, free: 3.438 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.547/1.547, allocations: 205.1 MB / 0.6309 GB, free: 11.76 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.0008592/0.0008591, allocations: 92.62 kB / 0.745 GB, free: 54.62 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 5.765e-05/5.774e-05, allocations: 4 kB / 0.8662 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2459/0.2459, allocations: 116.3 MB / 0.9798 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8669/1.113, allocations: 144.9 MB / 1.121 GB, free: 40.23 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003014/1.113, allocations: 85.27 kB / 1.121 GB, free: 40.2 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.01513/1.128, allocations: 6.988 MB / 1.128 GB, free: 36.73 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.934e-06/1.128, allocations: 0 / 1.128 GB, free: 36.73 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.206e-05/1.129, allocations: 8 kB / 1.128 GB, free: 36.72 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.0007195/1.129, allocations: 0.551 MB / 1.129 GB, free: 36.2 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/1.129, allocations: 8.031 kB / 1.129 GB, free: 36.19 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.836e-05/1.129, allocations: 49.09 kB / 1.129 GB, free: 36.14 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004808/1.13, allocations: 392.3 kB / 1.129 GB, free: 35.85 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.027e-05/1.13, allocations: 18.06 kB / 1.129 GB, free: 35.84 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.64e-05/1.13, allocations: 26.19 kB / 1.129 GB, free: 35.82 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004836/1.13, allocations: 305.1 kB / 1.13 GB, free: 35.63 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/1.131, allocations: 4 kB / 1.13 GB, free: 35.62 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.936e-05/1.131, allocations: 9.812 kB / 1.13 GB, free: 35.62 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/1.131, allocations: 8 kB / 1.13 GB, free: 35.62 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003082/1.131, allocations: 205.2 kB / 1.13 GB, free: 35.5 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001371/1.132, allocations: 1.176 MB / 1.131 GB, free: 34.77 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003946/1.133, allocations: 192.8 kB / 1.131 GB, free: 34.65 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001173/1.133, allocations: 90.53 kB / 1.131 GB, free: 34.59 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.467e-05/1.133, allocations: 7.422 kB / 1.131 GB, free: 34.59 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.098e-05/1.133, allocations: 34.5 kB / 1.131 GB, free: 34.55 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 2.856e-06/1.133, allocations: 0 / 1.131 GB, free: 34.55 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.000348/1.133, allocations: 195.5 kB / 1.131 GB, free: 34.41 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.822e-05/1.133, allocations: 85.06 kB / 1.131 GB, free: 34.31 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003066/1.134, allocations: 296 kB / 1.132 GB, free: 34.1 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.114e-05/1.134, allocations: 29.64 kB / 1.132 GB, free: 34.07 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/1.134, allocations: 207.3 kB / 1.132 GB, free: 33.93 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.151e-05/1.134, allocations: 54.3 kB / 1.132 GB, free: 33.89 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.248e-06/1.134, allocations: 0 / 1.132 GB, free: 33.89 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001089/1.134, allocations: 344.7 kB / 1.132 GB, free: 33.57 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.958e-05/1.134, allocations: 62.62 kB / 1.132 GB, free: 33.54 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000123/1.134, allocations: 94.92 kB / 1.133 GB, free: 33.46 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001172/1.134, allocations: 80.86 kB / 1.133 GB, free: 33.43 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/1.134, allocations: 0 / 1.133 GB, free: 33.43 MB / 0.7448 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003169/1.135, allocations: 218.1 kB / 1.133 GB, free: 33.28 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001353/1.135, allocations: 276.4 kB / 1.133 GB, free: 32.99 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/1.135, allocations: 0.6562 kB / 1.133 GB, free: 32.99 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.134e-05/1.135, allocations: 4 kB / 1.133 GB, free: 32.99 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001683/1.135, allocations: 38.55 kB / 1.133 GB, free: 32.96 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.431e-05/1.135, allocations: 4 kB / 1.133 GB, free: 32.96 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001337/1.135, allocations: 23.22 kB / 1.133 GB, free: 32.94 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.805e-05/1.135, allocations: 8.812 kB / 1.133 GB, free: 32.93 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 7.343e-06/1.135, allocations: 8 kB / 1.133 GB, free: 32.93 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002411/1.135, allocations: 164.7 kB / 1.133 GB, free: 32.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.523e-06/1.135, allocations: 0 / 1.133 GB, free: 32.84 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.737e-06/1.135, allocations: 4 kB / 1.133 GB, free: 32.83 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/1.136, allocations: 27.45 kB / 1.133 GB, free: 32.81 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.884e-06/1.136, allocations: 0 / 1.133 GB, free: 32.81 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.638e-05/1.136, allocations: 19.03 kB / 1.133 GB, free: 32.79 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.211e-05/1.136, allocations: 5.406 kB / 1.133 GB, free: 32.79 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 () * 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 7.16e-05/1.136, allocations: 118.2 kB / 1.133 GB, free: 32.68 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.676e-05/1.136, allocations: 33.31 kB / 1.134 GB, free: 32.64 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.215e-05/1.136, allocations: 40.08 kB / 1.134 GB, free: 32.62 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/1.136, allocations: 0 / 1.134 GB, free: 32.62 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/1.136, allocations: 4 kB / 1.134 GB, free: 32.62 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/1.136, allocations: 0 / 1.134 GB, free: 32.62 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003779/1.136, allocations: 408.5 kB / 1.134 GB, free: 32.35 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/1.136, allocations: 3.281 kB / 1.134 GB, free: 32.35 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001627/1.137, allocations: 35.2 kB / 1.134 GB, free: 32.32 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/1.137, allocations: 5.5 kB / 1.134 GB, free: 32.31 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.884e-05/1.137, allocations: 3.5 kB / 1.134 GB, free: 32.31 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.574e-06/1.137, allocations: 3.953 kB / 1.134 GB, free: 32.31 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/1.137, allocations: 4 kB / 1.134 GB, free: 32.3 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004173/1.137, allocations: 388.3 kB / 1.134 GB, free: 32.03 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001014/1.137, allocations: 132.3 kB / 1.134 GB, free: 31.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.572e-05/1.137, allocations: 4.688 kB / 1.134 GB, free: 31.9 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001459/1.137, allocations: 18.77 kB / 1.135 GB, free: 31.89 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.806e-05/1.137, allocations: 15.27 kB / 1.135 GB, free: 31.88 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.148e-05/1.137, allocations: 7.625 kB / 1.135 GB, free: 31.88 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002236/1.138, allocations: 235.9 kB / 1.135 GB, free: 31.71 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.8e-07/1.138, allocations: 0 / 1.135 GB, free: 31.71 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003585/1.138, allocations: 86.38 kB / 1.135 GB, free: 31.64 MB / 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 () * 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.0001647/1.138, allocations: 107.7 kB / 1.135 GB, free: 31.53 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004091/1.139, allocations: 264 kB / 1.135 GB, free: 31.37 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/1.139, allocations: 0 / 1.135 GB, free: 31.37 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001242/1.139, allocations: 82 kB / 1.135 GB, free: 31.32 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005091/1.139, allocations: 75.25 kB / 1.135 GB, free: 31.28 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008331/1.14, allocations: 416.5 kB / 1.136 GB, free: 30.95 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002257/1.14, allocations: 0.7894 MB / 1.137 GB, free: 30.18 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001996/1.141, allocations: 45.05 kB / 1.137 GB, free: 30.16 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.408e-05/1.141, allocations: 19.44 kB / 1.137 GB, free: 30.14 MB / 0.7448 GB Notification: Performance of SimCode: time 3.71e-07/1.141, allocations: 0 / 1.137 GB, free: 30.14 MB / 0.7448 GB Notification: Performance of Templates: time 0.00705/1.148, allocations: 3.54 MB / 1.14 GB, free: 28.12 MB / 0.7448 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)