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.7736/0.7736, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 190.3 kB / 187.3 MB, free: 11.88 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.364/1.364, allocations: 221.3 MB / 441.4 MB, free: 4.598 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.000871/0.000871, allocations: 97.55 kB / 0.5124 GB, free: 24.2 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001698/0.001698, allocations: 273.8 kB / 0.5939 GB, free: 7.969 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.415e-05/3.418e-05, allocations: 8 kB / 0.6834 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3876/0.3877, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1308/0.5186, allocations: 114.4 MB / 0.876 GB, free: 10.13 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003378/0.519, allocations: 83.83 kB / 0.8761 GB, free: 10.05 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.02291/0.5419, allocations: 6.925 MB / 0.8829 GB, free: 3.137 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.474e-06/0.542, allocations: 4 kB / 0.8829 GB, free: 3.133 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 4.691e-05/0.542, allocations: 8 kB / 0.8829 GB, free: 3.125 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.0009948/0.543, allocations: 0.541 MB / 0.8834 GB, free: 2.535 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/0.5431, allocations: 12.03 kB / 0.8834 GB, free: 2.523 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001121/0.5432, allocations: 39.53 kB / 0.8834 GB, free: 2.484 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006473/0.5439, allocations: 390.6 kB / 0.8838 GB, free: 2.066 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.307e-05/0.5439, allocations: 20.56 kB / 0.8838 GB, free: 2.047 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.608e-05/0.544, allocations: 24 kB / 0.8839 GB, free: 2.023 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007251/0.5447, allocations: 305.4 kB / 0.8841 GB, free: 1.703 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.5448, allocations: 0 / 0.8841 GB, free: 1.703 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.095e-05/0.5448, allocations: 16 kB / 0.8842 GB, free: 1.688 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.22e-05/0.5448, allocations: 8 kB / 0.8842 GB, free: 1.68 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005222/0.5454, allocations: 206.2 kB / 0.8844 GB, free: 1.48 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001989/0.5474, allocations: 1.164 MB / 0.8855 GB, free: 264 kB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005417/0.5479, allocations: 204 kB / 0.8857 GB, free: 52 kB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002116/0.5482, allocations: 80.94 kB / 0.8858 GB, free: 15.96 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 3.24e-05/0.5482, allocations: 4 kB / 0.8858 GB, free: 15.96 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/0.5482, allocations: 38.5 kB / 0.8858 GB, free: 15.91 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=16): time 2.314e-06/0.5483, allocations: 0 / 0.8858 GB, free: 15.91 MB / 0.5573 GB Notification: Performance of matching and sorting (n=16): time 0.0005312/0.5488, allocations: 201.5 kB / 0.886 GB, free: 15.71 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.525e-05/0.5489, allocations: 81.06 kB / 0.8861 GB, free: 15.61 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004627/0.5493, allocations: 291.1 kB / 0.8864 GB, free: 15.32 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 3.177e-05/0.5494, allocations: 29.7 kB / 0.8864 GB, free: 15.29 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001664/0.5496, allocations: 196.1 kB / 0.8866 GB, free: 15.09 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 6.283e-05/0.5496, allocations: 63.09 kB / 0.8866 GB, free: 15.04 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.865e-05/0.5497, allocations: 8 kB / 0.8866 GB, free: 15.03 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.5498, allocations: 334.8 kB / 0.887 GB, free: 14.69 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001749/0.55, allocations: 64 kB / 0.887 GB, free: 14.63 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002142/0.5502, allocations: 99.42 kB / 0.8871 GB, free: 14.52 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001878/0.5504, allocations: 77.48 kB / 0.8872 GB, free: 14.45 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.5504, allocations: 3.938 kB / 0.8872 GB, free: 14.44 MB / 0.5573 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004861/0.5509, allocations: 218.3 kB / 0.8874 GB, free: 14.22 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 9.728e-05/0.551, allocations: 271 kB / 0.8877 GB, free: 13.94 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.5511, allocations: 4.062 kB / 0.8877 GB, free: 13.93 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.5511, allocations: 0 / 0.8877 GB, free: 13.93 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001775/0.5513, allocations: 35.98 kB / 0.8877 GB, free: 13.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.5513, allocations: 0 / 0.8877 GB, free: 13.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001365/0.5514, allocations: 27.73 kB / 0.8877 GB, free: 13.87 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.59e-05/0.5514, allocations: 8 kB / 0.8877 GB, free: 13.86 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 5.581e-06/0.5515, allocations: 5.406 kB / 0.8877 GB, free: 13.86 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002416/0.5517, allocations: 163.8 kB / 0.8879 GB, free: 13.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.824e-06/0.5517, allocations: 7.953 kB / 0.8879 GB, free: 13.69 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.404e-06/0.5517, allocations: 0 / 0.8879 GB, free: 13.69 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.5518, allocations: 24 kB / 0.8879 GB, free: 13.67 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.477e-06/0.5519, allocations: 3.984 kB / 0.8879 GB, free: 13.66 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001056/0.552, allocations: 23.75 kB / 0.888 GB, free: 13.64 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.552, allocations: 4 kB / 0.888 GB, free: 13.64 MB / 0.5573 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.454e-05/0.5521, allocations: 112.9 kB / 0.8881 GB, free: 13.52 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.158e-05/0.5521, allocations: 31.69 kB / 0.8881 GB, free: 13.49 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.14e-05/0.5522, allocations: 39.02 kB / 0.8881 GB, free: 13.45 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.5522, allocations: 4 kB / 0.8881 GB, free: 13.44 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.5522, allocations: 0 / 0.8881 GB, free: 13.44 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.5522, allocations: 3.984 kB / 0.8881 GB, free: 13.44 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003942/0.5526, allocations: 405.3 kB / 0.8885 GB, free: 12.99 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.5527, allocations: 0 / 0.8885 GB, free: 12.99 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001672/0.5528, allocations: 27.98 kB / 0.8886 GB, free: 12.96 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.5528, allocations: 0 / 0.8886 GB, free: 12.96 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.941e-05/0.5529, allocations: 12 kB / 0.8886 GB, free: 12.95 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.5529, allocations: 7.891 kB / 0.8886 GB, free: 12.95 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.5529, allocations: 7.875 kB / 0.8886 GB, free: 12.94 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006836/0.5536, allocations: 390.5 kB / 0.889 GB, free: 12.54 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001703/0.5538, allocations: 132.7 kB / 0.8891 GB, free: 12.39 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.691e-05/0.5538, allocations: 8 kB / 0.8891 GB, free: 12.39 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002232/0.5541, allocations: 12.05 kB / 0.8891 GB, free: 12.38 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.862e-05/0.5541, allocations: 19.94 kB / 0.8891 GB, free: 12.36 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.859e-05/0.5542, allocations: 4 kB / 0.8891 GB, free: 12.35 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0003396/0.5545, allocations: 234.2 kB / 0.8893 GB, free: 12.12 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.1e-07/0.5545, allocations: 0 / 0.8893 GB, free: 12.12 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.000629/0.5552, allocations: 91.69 kB / 0.8894 GB, free: 12.04 MB / 0.5573 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.0001447/0.5553, allocations: 107.2 kB / 0.8895 GB, free: 11.92 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.000598/0.5559, allocations: 265.9 kB / 0.8898 GB, free: 11.66 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.5559, allocations: 0 / 0.8898 GB, free: 11.66 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001849/0.5561, allocations: 85.77 kB / 0.8899 GB, free: 11.58 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006315/0.5568, allocations: 69 kB / 0.8899 GB, free: 11.52 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001086/0.5579, allocations: 412.7 kB / 0.8903 GB, free: 11.09 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003933/0.5583, allocations: 0.7843 MB / 0.8911 GB, free: 10.28 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0002914/0.5586, allocations: 43.05 kB / 0.8911 GB, free: 10.23 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.166e-05/0.5587, allocations: 23.42 kB / 0.8912 GB, free: 10.21 MB / 0.5573 GB Notification: Performance of SimCode: time 3.11e-07/0.5587, allocations: 0 / 0.8912 GB, free: 10.21 MB / 0.5573 GB Notification: Performance of Templates: time 0.01025/0.5689, allocations: 3.516 MB / 0.8946 GB, free: 6.734 MB / 0.5573 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)