Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder") translateModel(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.301/1.301, allocations: 252 MB / 267.9 MB, free: 10.91 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001089/0.001089, allocations: 188.2 kB / 327.6 MB, free: 2.148 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.469/1.469, allocations: 205.4 MB / 0.5785 GB, free: 20.49 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007458/0.0007456, allocations: 87.23 kB / 0.6831 GB, free: 13.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003486/0.0003488, allocations: 13.03 kB / 0.7974 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1761/0.1764, allocations: 106.3 MB / 0.9012 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1551/0.3316, allocations: 137.8 MB / 1.036 GB, free: 6.082 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002033/0.3318, allocations: 83.95 kB / 1.036 GB, free: 6 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01554/0.3474, allocations: 7.036 MB / 1.043 GB, free: 14.94 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.874e-06/0.3474, allocations: 0 / 1.043 GB, free: 14.94 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.69e-05/0.3475, allocations: 11.94 kB / 1.043 GB, free: 14.93 MB / 0.698 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.000878/0.3484, allocations: 0.5922 MB / 1.043 GB, free: 14.29 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.3484, allocations: 8.031 kB / 1.043 GB, free: 14.28 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.6e-05/0.3485, allocations: 40.47 kB / 1.043 GB, free: 14.24 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005749/0.3491, allocations: 415.6 kB / 1.044 GB, free: 13.79 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.064e-05/0.3491, allocations: 24.94 kB / 1.044 GB, free: 13.77 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.298e-05/0.3492, allocations: 24.38 kB / 1.044 GB, free: 13.74 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005663/0.3498, allocations: 333.9 kB / 1.044 GB, free: 13.4 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.3498, allocations: 192 / 1.044 GB, free: 13.4 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.966e-05/0.3498, allocations: 15.94 kB / 1.044 GB, free: 13.38 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.3498, allocations: 4.438 kB / 1.044 GB, free: 13.38 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004707/0.3503, allocations: 250.1 kB / 1.044 GB, free: 13.13 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001499/0.3518, allocations: 1.17 MB / 1.046 GB, free: 11.91 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004772/0.3523, allocations: 248.2 kB / 1.046 GB, free: 11.66 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001824/0.3525, allocations: 100.8 kB / 1.046 GB, free: 11.55 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.423e-05/0.3525, allocations: 4 kB / 1.046 GB, free: 11.55 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.228e-05/0.3526, allocations: 38.5 kB / 1.046 GB, free: 11.5 MB / 0.698 GB Notification: Performance of pre-optimization done (n=16): time 1.633e-06/0.3526, allocations: 0 / 1.046 GB, free: 11.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=16): time 0.000636/0.3532, allocations: 315 kB / 1.046 GB, free: 11.19 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.468e-05/0.3533, allocations: 81.11 kB / 1.046 GB, free: 11.09 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003469/0.3536, allocations: 341.6 kB / 1.047 GB, free: 10.75 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.06e-05/0.3537, allocations: 25.7 kB / 1.047 GB, free: 10.72 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000129/0.3538, allocations: 200.2 kB / 1.047 GB, free: 10.52 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.748e-05/0.3539, allocations: 55.25 kB / 1.047 GB, free: 10.47 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.057e-06/0.3539, allocations: 0 / 1.047 GB, free: 10.47 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001251/0.354, allocations: 350.7 kB / 1.047 GB, free: 10.12 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001694/0.3542, allocations: 79.97 kB / 1.047 GB, free: 10.04 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001961/0.3544, allocations: 128.4 kB / 1.047 GB, free: 9.902 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003406/0.3547, allocations: 194.5 kB / 1.048 GB, free: 9.703 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3548, allocations: 3.938 kB / 1.048 GB, free: 9.699 MB / 0.698 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004476/0.3552, allocations: 267.7 kB / 1.048 GB, free: 9.434 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.874e-05/0.3553, allocations: 106.7 kB / 1.048 GB, free: 9.316 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.3553, allocations: 0 / 1.048 GB, free: 9.316 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.3553, allocations: 0 / 1.048 GB, free: 9.316 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001787/0.3555, allocations: 43.92 kB / 1.048 GB, free: 9.273 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.3555, allocations: 0 / 1.048 GB, free: 9.273 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001343/0.3557, allocations: 35.67 kB / 1.048 GB, free: 9.238 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.401e-05/0.3557, allocations: 4 kB / 1.048 GB, free: 9.234 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.564e-06/0.3557, allocations: 4 kB / 1.048 GB, free: 9.23 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003039/0.356, allocations: 174 kB / 1.048 GB, free: 9.062 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-06/0.356, allocations: 8.047 kB / 1.048 GB, free: 9.055 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.469e-06/0.356, allocations: 4 kB / 1.048 GB, free: 9.051 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001115/0.3561, allocations: 27.94 kB / 1.048 GB, free: 9.023 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.595e-06/0.3561, allocations: 0 / 1.048 GB, free: 9.023 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001032/0.3563, allocations: 23.83 kB / 1.048 GB, free: 9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.3563, allocations: 4 kB / 1.048 GB, free: 8.996 MB / 0.698 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.0001997/0.3565, allocations: 249 kB / 1.049 GB, free: 8.742 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.393e-05/0.3565, allocations: 35.56 kB / 1.049 GB, free: 8.707 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.729e-05/0.3566, allocations: 35.28 kB / 1.049 GB, free: 8.668 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.3566, allocations: 0 / 1.049 GB, free: 8.668 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.3566, allocations: 0 / 1.049 GB, free: 8.668 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.3567, allocations: 0 / 1.049 GB, free: 8.668 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003858/0.357, allocations: 413.3 kB / 1.049 GB, free: 8.215 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.3571, allocations: 4 kB / 1.049 GB, free: 8.211 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001588/0.3572, allocations: 23.98 kB / 1.049 GB, free: 8.188 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.3572, allocations: 0 / 1.049 GB, free: 8.188 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.637e-05/0.3573, allocations: 8 kB / 1.049 GB, free: 8.18 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.3573, allocations: 0 / 1.049 GB, free: 8.18 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3573, allocations: 4 kB / 1.049 GB, free: 8.176 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006382/0.3579, allocations: 462.8 kB / 1.049 GB, free: 7.707 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001075/0.358, allocations: 132.7 kB / 1.05 GB, free: 7.559 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.515e-05/0.3581, allocations: 7.984 kB / 1.05 GB, free: 7.551 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001348/0.3582, allocations: 8 kB / 1.05 GB, free: 7.543 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.829e-05/0.3583, allocations: 11.98 kB / 1.05 GB, free: 7.531 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.079e-05/0.3583, allocations: 4 kB / 1.05 GB, free: 7.527 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002324/0.3585, allocations: 247.2 kB / 1.05 GB, free: 7.285 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3585, allocations: 0 / 1.05 GB, free: 7.285 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003767/0.3589, allocations: 95.69 kB / 1.05 GB, free: 7.191 MB / 0.698 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.0001191/0.359, allocations: 103.2 kB / 1.05 GB, free: 7.082 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005407/0.3596, allocations: 299.7 kB / 1.05 GB, free: 6.789 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3596, allocations: 0 / 1.05 GB, free: 6.789 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001757/0.3598, allocations: 106.7 kB / 1.05 GB, free: 6.688 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005242/0.3603, allocations: 73.56 kB / 1.05 GB, free: 6.617 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00113/0.3615, allocations: 0.6561 MB / 1.051 GB, free: 5.93 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000353/0.3618, allocations: 0.7755 MB / 1.052 GB, free: 5.129 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000149/0.362, allocations: 30.28 kB / 1.052 GB, free: 5.102 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.624e-05/0.362, allocations: 19.44 kB / 1.052 GB, free: 5.082 MB / 0.698 GB Notification: Performance of SimCode: time 3.91e-07/0.362, allocations: 0 / 1.052 GB, free: 5.082 MB / 0.698 GB Notification: Performance of Templates: time 0.006415/0.3685, allocations: 2.948 MB / 1.055 GB, free: 2.168 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1)