Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder.conf.json 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/IBPSA 4.0.0-master/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder") translateModel(IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 182.4 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.496/0.496, allocations: 92 MB / 108.5 MB, free: 13.11 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.451/1.451, allocations: 223.2 MB / 354.3 MB, free: 12.23 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007947/0.0007948, allocations: 108.2 kB / 427.4 MB, free: 3.961 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002969/0.0002969, allocations: 8 kB / 0.4983 GB, free: 42.34 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1237, allocations: 72.31 MB / 0.5689 GB, free: 1.969 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4073/0.531, allocations: 107.4 MB / 0.6737 GB, free: 13.19 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002399/0.5313, allocations: 87.94 kB / 0.6738 GB, free: 13.11 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01606/0.5474, allocations: 6.967 MB / 0.6806 GB, free: 6.145 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.5474, allocations: 0 / 0.6806 GB, free: 6.145 MB / 474.7 MB Notification: Performance of Transformations before backend: time 2.657e-05/0.5475, allocations: 8 kB / 0.6806 GB, free: 6.137 MB / 474.7 MB 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.0007817/0.5483, allocations: 0.5887 MB / 0.6812 GB, free: 5.496 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.5483, allocations: 8.031 kB / 0.6812 GB, free: 5.488 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.593e-05/0.5484, allocations: 43.52 kB / 0.6812 GB, free: 5.445 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004631/0.5488, allocations: 378.8 kB / 0.6816 GB, free: 5.039 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.683e-05/0.5489, allocations: 20.56 kB / 0.6816 GB, free: 5.02 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.291e-05/0.5489, allocations: 24 kB / 0.6816 GB, free: 4.996 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005772/0.5495, allocations: 333.3 kB / 0.682 GB, free: 4.652 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.5495, allocations: 0 / 0.682 GB, free: 4.652 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.768e-05/0.5496, allocations: 15.95 kB / 0.682 GB, free: 4.637 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.5496, allocations: 11.94 kB / 0.682 GB, free: 4.625 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004649/0.5501, allocations: 242.2 kB / 0.6822 GB, free: 4.391 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001569/0.5516, allocations: 1.17 MB / 0.6834 GB, free: 3.16 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005345/0.5522, allocations: 250.8 kB / 0.6836 GB, free: 2.906 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.059e-05/0.5522, allocations: 4 kB / 0.6836 GB, free: 2.902 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.838e-05/0.5523, allocations: 38.55 kB / 0.6836 GB, free: 2.855 MB / 474.7 MB Notification: Performance of pre-optimization done (n=16): time 1.573e-06/0.5523, allocations: 0 / 0.6836 GB, free: 2.855 MB / 474.7 MB Notification: Performance of matching and sorting (n=16): time 0.0006571/0.5529, allocations: 319.9 kB / 0.6839 GB, free: 2.539 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.849e-05/0.553, allocations: 81.11 kB / 0.684 GB, free: 2.441 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003383/0.5534, allocations: 291.7 kB / 0.6843 GB, free: 2.152 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.285e-05/0.5534, allocations: 29.92 kB / 0.6843 GB, free: 2.117 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001417/0.5535, allocations: 200 kB / 0.6845 GB, free: 1.918 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.302e-05/0.5536, allocations: 55.2 kB / 0.6846 GB, free: 1.863 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.178e-06/0.5536, allocations: 0 / 0.6846 GB, free: 1.863 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.5537, allocations: 342.8 kB / 0.6849 GB, free: 1.52 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001751/0.5539, allocations: 83.97 kB / 0.685 GB, free: 1.438 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001964/0.5541, allocations: 125.4 kB / 0.6851 GB, free: 1.305 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001861/0.5543, allocations: 97.42 kB / 0.6852 GB, free: 1.211 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.5543, allocations: 0 / 0.6852 GB, free: 1.211 MB / 474.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004841/0.5548, allocations: 261.1 kB / 0.6854 GB, free: 0.9492 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001251/0.555, allocations: 272.7 kB / 0.6857 GB, free: 0.6641 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.555, allocations: 4.062 kB / 0.6857 GB, free: 0.6602 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.555, allocations: 11.94 kB / 0.6857 GB, free: 0.6484 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001624/0.5552, allocations: 27.98 kB / 0.6857 GB, free: 0.6211 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.5552, allocations: 4 kB / 0.6857 GB, free: 0.6172 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001327/0.5553, allocations: 23.84 kB / 0.6858 GB, free: 0.5938 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.726e-05/0.5553, allocations: 7.984 kB / 0.6858 GB, free: 0.5859 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.973e-06/0.5553, allocations: 4 kB / 0.6858 GB, free: 0.582 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002959/0.5557, allocations: 176.8 kB / 0.6859 GB, free: 420 kB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.893e-06/0.5557, allocations: 4 kB / 0.6859 GB, free: 416 kB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.063e-06/0.5557, allocations: 0 / 0.6859 GB, free: 416 kB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/0.5558, allocations: 31.92 kB / 0.686 GB, free: 384 kB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.913e-06/0.5558, allocations: 0 / 0.686 GB, free: 384 kB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001005/0.5559, allocations: 19.78 kB / 0.686 GB, free: 364 kB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.371e-05/0.5559, allocations: 8 kB / 0.686 GB, free: 356 kB / 474.7 MB 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.00023/0.5562, allocations: 245.1 kB / 0.6862 GB, free: 100 kB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.496e-05/0.5562, allocations: 35.61 kB / 0.6863 GB, free: 64 kB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.487e-05/0.5563, allocations: 35.28 kB / 0.6863 GB, free: 20 kB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.5563, allocations: 0 / 0.6863 GB, free: 20 kB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.483e-06/0.5563, allocations: 4 kB / 0.6863 GB, free: 16 kB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.5564, allocations: 0 / 0.6863 GB, free: 16 kB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004579/0.5568, allocations: 413.2 kB / 0.6867 GB, free: 15.56 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.5568, allocations: 3.938 kB / 0.6867 GB, free: 15.56 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000172/0.557, allocations: 27.98 kB / 0.6867 GB, free: 15.53 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.557, allocations: 4 kB / 0.6867 GB, free: 15.53 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.759e-05/0.557, allocations: 4 kB / 0.6867 GB, free: 15.52 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/0.5571, allocations: 3.984 kB / 0.6867 GB, free: 15.52 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.5571, allocations: 0 / 0.6867 GB, free: 15.52 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006833/0.5577, allocations: 458.9 kB / 0.6872 GB, free: 15.05 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001329/0.5579, allocations: 136.7 kB / 0.6873 GB, free: 14.9 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.535e-05/0.5579, allocations: 4 kB / 0.6873 GB, free: 14.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001495/0.5581, allocations: 16.05 kB / 0.6873 GB, free: 14.88 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.771e-05/0.5581, allocations: 15.98 kB / 0.6873 GB, free: 14.87 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/0.5582, allocations: 0 / 0.6873 GB, free: 14.87 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002252/0.5584, allocations: 235.1 kB / 0.6876 GB, free: 14.64 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.5584, allocations: 0 / 0.6876 GB, free: 14.64 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0004026/0.5588, allocations: 87.69 kB / 0.6877 GB, free: 14.55 MB / 490.7 MB 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.0001529/0.559, allocations: 107.2 kB / 0.6878 GB, free: 14.44 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0005944/0.5596, allocations: 291.8 kB / 0.688 GB, free: 14.16 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.5596, allocations: 0 / 0.688 GB, free: 14.16 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001874/0.5598, allocations: 108.1 kB / 0.6881 GB, free: 14.05 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000488/0.5603, allocations: 77.31 kB / 0.6882 GB, free: 13.98 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001093/0.5614, allocations: 0.6484 MB / 0.6888 GB, free: 13.3 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000323/0.5617, allocations: 0.7872 MB / 0.6896 GB, free: 12.49 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001335/0.5619, allocations: 26.28 kB / 0.6896 GB, free: 12.46 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.91e-05/0.5619, allocations: 23.44 kB / 0.6897 GB, free: 12.44 MB / 490.7 MB Notification: Performance of SimCode: time 6.11e-07/0.5619, allocations: 0 / 0.6897 GB, free: 12.44 MB / 490.7 MB Notification: Performance of Templates: time 0.006077/0.568, allocations: 2.883 MB / 0.6925 GB, free: 9.59 MB / 490.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder.makefile (rm -f IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder.sim & ./IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1)