Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder") translateModel(BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7887/0.7887, allocations: 143.4 MB / 158.3 MB, free: 5.801 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001027/0.001027, allocations: 184.5 kB / 191.5 MB, free: 5.766 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.484/1.484, allocations: 223.2 MB / 447.7 MB, free: 4.84 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 96.27 kB / 0.5188 GB, free: 1.203 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001966/0.001966, allocations: 270.2 kB / 0.6005 GB, free: 48.75 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004501/0.0004501, allocations: 13.44 kB / 0.6929 GB, free: 59.7 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1873/0.1877, allocations: 82.79 MB / 0.7737 GB, free: 13.84 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5442/0.7319, allocations: 114.5 MB / 0.8855 GB, free: 21.88 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002804/0.7323, allocations: 91.27 kB / 0.8856 GB, free: 21.88 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.01608/0.7484, allocations: 6.953 MB / 0.8924 GB, free: 21.21 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.094e-06/0.7484, allocations: 0 / 0.8924 GB, free: 21.21 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 2.846e-05/0.7485, allocations: 8.125 kB / 0.8924 GB, free: 21.21 MB / 0.5417 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.0007802/0.7492, allocations: 0.588 MB / 0.893 GB, free: 20.74 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.7493, allocations: 9.25 kB / 0.893 GB, free: 20.74 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.533e-05/0.7494, allocations: 40.66 kB / 0.893 GB, free: 20.72 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005216/0.7499, allocations: 385.2 kB / 0.8934 GB, free: 20.48 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.348e-05/0.75, allocations: 19.94 kB / 0.8934 GB, free: 20.48 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.298e-05/0.75, allocations: 32.66 kB / 0.8934 GB, free: 20.48 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005783/0.7506, allocations: 323.9 kB / 0.8937 GB, free: 20.4 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.7506, allocations: 2.906 kB / 0.8937 GB, free: 20.4 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.008e-05/0.7507, allocations: 10.72 kB / 0.8938 GB, free: 20.4 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-06/0.7507, allocations: 5.219 kB / 0.8938 GB, free: 20.4 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004463/0.7511, allocations: 250.1 kB / 0.894 GB, free: 20.39 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001491/0.7526, allocations: 1.176 MB / 0.8951 GB, free: 19.88 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006686/0.7533, allocations: 248.4 kB / 0.8954 GB, free: 19.85 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 3.411e-05/0.7534, allocations: 9.531 kB / 0.8954 GB, free: 19.84 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/0.7534, allocations: 36.19 kB / 0.8954 GB, free: 19.8 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=16): time 2.505e-06/0.7534, allocations: 0 / 0.8954 GB, free: 19.8 MB / 0.5417 GB Notification: Performance of matching and sorting (n=16): time 0.000869/0.7543, allocations: 312.8 kB / 0.8957 GB, free: 19.75 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.866e-05/0.7544, allocations: 80.28 kB / 0.8958 GB, free: 19.66 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004729/0.7548, allocations: 299.1 kB / 0.8961 GB, free: 19.55 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.628e-05/0.7549, allocations: 27.03 kB / 0.8961 GB, free: 19.52 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001617/0.755, allocations: 197 kB / 0.8963 GB, free: 19.41 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.879e-05/0.7551, allocations: 50.64 kB / 0.8964 GB, free: 19.38 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.221e-05/0.7551, allocations: 5.188 kB / 0.8964 GB, free: 19.38 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.7552, allocations: 339.3 kB / 0.8967 GB, free: 19.07 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002103/0.7555, allocations: 85.28 kB / 0.8968 GB, free: 19.06 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002589/0.7557, allocations: 126.6 kB / 0.8969 GB, free: 19.03 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002237/0.756, allocations: 99.3 kB / 0.897 GB, free: 19.02 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.756, allocations: 0 / 0.897 GB, free: 19.02 MB / 0.5417 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005495/0.7565, allocations: 259 kB / 0.8972 GB, free: 18.97 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 9.592e-05/0.7566, allocations: 271.5 kB / 0.8975 GB, free: 18.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.7566, allocations: 4.938 kB / 0.8975 GB, free: 18.69 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.872e-05/0.7567, allocations: 2.344 kB / 0.8975 GB, free: 18.69 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001717/0.7568, allocations: 37.56 kB / 0.8975 GB, free: 18.69 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.7569, allocations: 3.438 kB / 0.8975 GB, free: 18.69 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001361/0.757, allocations: 30.09 kB / 0.8976 GB, free: 18.67 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.896e-05/0.757, allocations: 7.688 kB / 0.8976 GB, free: 18.67 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/0.757, allocations: 4.125 kB / 0.8976 GB, free: 18.67 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003698/0.7574, allocations: 176.7 kB / 0.8977 GB, free: 18.66 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.975e-06/0.7574, allocations: 0.5938 kB / 0.8977 GB, free: 18.66 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.412e-06/0.7574, allocations: 6.484 kB / 0.8977 GB, free: 18.66 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001449/0.7576, allocations: 33.28 kB / 0.8978 GB, free: 18.65 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.7576, allocations: 1.688 kB / 0.8978 GB, free: 18.65 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001369/0.7577, allocations: 21.02 kB / 0.8978 GB, free: 18.64 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.519e-05/0.7578, allocations: 7.719 kB / 0.8978 GB, free: 18.64 MB / 0.5417 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.0002482/0.758, allocations: 238 kB / 0.898 GB, free: 18.45 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.766e-05/0.7581, allocations: 30.16 kB / 0.8981 GB, free: 18.43 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.975e-05/0.7582, allocations: 38.59 kB / 0.8981 GB, free: 18.42 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.556e-06/0.7582, allocations: 7.625 kB / 0.8981 GB, free: 18.41 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.336e-05/0.7583, allocations: 0.6562 kB / 0.8981 GB, free: 18.41 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.7583, allocations: 7.875 kB / 0.8981 GB, free: 18.41 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006298/0.7589, allocations: 403.2 kB / 0.8985 GB, free: 18.22 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.7589, allocations: 0.7812 kB / 0.8985 GB, free: 18.22 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001955/0.7591, allocations: 34.91 kB / 0.8985 GB, free: 18.21 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-06/0.7591, allocations: 1.031 kB / 0.8985 GB, free: 18.21 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.863e-05/0.7592, allocations: 1.094 kB / 0.8985 GB, free: 18.21 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.7592, allocations: 5.016 kB / 0.8985 GB, free: 18.21 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.7592, allocations: 0 / 0.8985 GB, free: 18.21 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008389/0.76, allocations: 452.9 kB / 0.899 GB, free: 18.05 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001425/0.7602, allocations: 136.3 kB / 0.8991 GB, free: 17.94 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.147e-05/0.7602, allocations: 6.531 kB / 0.8991 GB, free: 17.94 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001547/0.7604, allocations: 15.27 kB / 0.8991 GB, free: 17.94 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.48e-05/0.7605, allocations: 16.78 kB / 0.8991 GB, free: 17.93 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.404e-05/0.7605, allocations: 3.406 kB / 0.8991 GB, free: 17.93 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0003041/0.7608, allocations: 233.4 kB / 0.8994 GB, free: 17.86 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7608, allocations: 0 / 0.8994 GB, free: 17.86 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0004483/0.7612, allocations: 97.22 kB / 0.8995 GB, free: 17.83 MB / 0.5417 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.000191/0.7614, allocations: 107 kB / 0.8996 GB, free: 17.74 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0006884/0.7621, allocations: 293.3 kB / 0.8998 GB, free: 17.73 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.7622, allocations: 0 / 0.8998 GB, free: 17.73 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0002239/0.7624, allocations: 105 kB / 0.8999 GB, free: 17.72 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005403/0.7629, allocations: 73.75 kB / 0.9 GB, free: 17.71 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001362/0.7643, allocations: 0.6425 MB / 0.9006 GB, free: 17.34 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004035/0.7647, allocations: 0.7888 MB / 0.9014 GB, free: 16.64 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001862/0.7649, allocations: 23.34 kB / 0.9014 GB, free: 16.63 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.805e-05/0.765, allocations: 20.22 kB / 0.9014 GB, free: 16.62 MB / 0.5417 GB Notification: Performance of SimCode: time 4.41e-07/0.765, allocations: 0 / 0.9014 GB, free: 16.62 MB / 0.5417 GB Notification: Performance of Templates: time 0.006567/0.7716, allocations: 2.917 MB / 0.9043 GB, free: 16.41 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder.sim & ./BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1)