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.419/1.419, allocations: 252 MB / 267.6 MB, free: 10.94 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.001012/0.001012, allocations: 170.7 kB / 327.3 MB, free: 2.203 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.808/1.808, allocations: 205.4 MB / 0.5783 GB, free: 20.2 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.0007924/0.0007923, allocations: 81.73 kB / 0.6829 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004795/0.0004795, allocations: 10.62 kB / 0.797 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2523/0.2528, allocations: 106.3 MB / 0.9008 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.002575/0.2554, allocations: 2.196 MB / 0.903 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001481/0.2569, allocations: 0.9049 MB / 0.9038 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003376/0.2573, allocations: 11.94 kB / 0.9039 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001943/0.2575, allocations: 39.64 kB / 0.9039 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001652/0.2577, allocations: 43.59 kB / 0.9039 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004194/0.2581, allocations: 139.8 kB / 0.9041 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002926/0.2584, allocations: 383.8 kB / 0.9044 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002262/0.2586, allocations: 144.4 kB / 0.9046 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.646e-05/0.2587, allocations: 87.45 kB / 0.9047 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001085/0.2589, allocations: 99.31 kB / 0.9048 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.783e-05/0.2589, allocations: 8 kB / 0.9048 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 2.444e-05/0.2589, allocations: 8 kB / 0.9048 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.965e-05/0.259, allocations: 43.7 kB / 0.9048 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.512e-05/0.259, allocations: 89.52 kB / 0.9049 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003118/0.2593, allocations: 499 kB / 0.9054 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.2593, allocations: 0 / 0.9054 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.422e-06/0.2594, allocations: 0 / 0.9054 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.087e-05/0.2594, allocations: 0 / 0.9054 GB, free: 59.19 MB / 0.6042 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.0006996/0.2601, allocations: 0.5805 MB / 0.9059 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.2601, allocations: 8.031 kB / 0.9059 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.669e-05/0.2602, allocations: 47.39 kB / 0.906 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003377/0.2605, allocations: 382.2 kB / 0.9064 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.062e-05/0.2606, allocations: 24.56 kB / 0.9064 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.135e-05/0.2606, allocations: 32 kB / 0.9064 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004804/0.2611, allocations: 321.4 kB / 0.9067 GB, free: 57.7 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.2611, allocations: 3.984 kB / 0.9067 GB, free: 57.7 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.662e-05/0.2611, allocations: 16 kB / 0.9067 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.2612, allocations: 4 kB / 0.9067 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004125/0.2616, allocations: 250 kB / 0.907 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001203/0.2628, allocations: 1.178 MB / 0.9081 GB, free: 56.2 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004084/0.2632, allocations: 250.8 kB / 0.9084 GB, free: 55.94 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001637/0.2634, allocations: 100.8 kB / 0.9085 GB, free: 55.84 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.117e-05/0.2634, allocations: 4 kB / 0.9085 GB, free: 55.84 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.037e-05/0.2634, allocations: 38.5 kB / 0.9085 GB, free: 55.79 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=16): time 1.342e-06/0.2635, allocations: 0 / 0.9085 GB, free: 55.79 MB / 0.6042 GB Notification: Performance of matching and sorting (n=16): time 0.0005689/0.264, allocations: 318.6 kB / 0.9088 GB, free: 55.47 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.052e-05/0.2641, allocations: 89.05 kB / 0.9089 GB, free: 55.37 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002557/0.2643, allocations: 329.7 kB / 0.9092 GB, free: 55.04 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.721e-05/0.2644, allocations: 25.7 kB / 0.9092 GB, free: 55.01 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 9.27e-05/0.2645, allocations: 204 kB / 0.9094 GB, free: 54.8 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.148e-05/0.2645, allocations: 55.2 kB / 0.9095 GB, free: 54.75 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.177e-06/0.2645, allocations: 0 / 0.9095 GB, free: 54.75 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.171e-05/0.2646, allocations: 342.8 kB / 0.9098 GB, free: 54.41 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001583/0.2647, allocations: 83.97 kB / 0.9099 GB, free: 54.32 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001842/0.2649, allocations: 121.6 kB / 0.91 GB, free: 54.2 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001706/0.2651, allocations: 102.8 kB / 0.9101 GB, free: 54.1 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.2651, allocations: 0 / 0.9101 GB, free: 54.1 MB / 0.6042 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003842/0.2655, allocations: 269.1 kB / 0.9104 GB, free: 53.83 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.984e-05/0.2656, allocations: 102.7 kB / 0.9105 GB, free: 53.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.2656, allocations: 4 kB / 0.9105 GB, free: 53.71 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.2656, allocations: 0 / 0.9105 GB, free: 53.71 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001763/0.2658, allocations: 35.92 kB / 0.9105 GB, free: 53.68 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.2658, allocations: 4.062 kB / 0.9105 GB, free: 53.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000127/0.2659, allocations: 27.83 kB / 0.9105 GB, free: 53.64 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.379e-05/0.2659, allocations: 4 kB / 0.9105 GB, free: 53.64 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.521e-06/0.266, allocations: 4 kB / 0.9105 GB, free: 53.64 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002623/0.2662, allocations: 178.8 kB / 0.9107 GB, free: 53.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.763e-06/0.2662, allocations: 64 / 0.9107 GB, free: 53.46 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.598e-06/0.2662, allocations: 11.95 kB / 0.9107 GB, free: 53.45 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/0.2664, allocations: 27.94 kB / 0.9107 GB, free: 53.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.944e-06/0.2664, allocations: 0 / 0.9107 GB, free: 53.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.787e-05/0.2665, allocations: 23.73 kB / 0.9108 GB, free: 53.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.2665, allocations: 11.94 kB / 0.9108 GB, free: 53.39 MB / 0.6042 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 (expMod.oveWriSet_activate,expMod.oveWriAct_activate,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.0001478/0.2666, allocations: 245 kB / 0.911 GB, free: 53.14 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.651e-05/0.2667, allocations: 31.62 kB / 0.911 GB, free: 53.11 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.335e-05/0.2668, allocations: 43.22 kB / 0.9111 GB, free: 53.06 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.776e-06/0.2668, allocations: 4 kB / 0.9111 GB, free: 53.05 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.2668, allocations: 0 / 0.9111 GB, free: 53.05 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.2668, allocations: 3.984 kB / 0.9111 GB, free: 53.05 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003108/0.2671, allocations: 409.3 kB / 0.9115 GB, free: 52.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.2671, allocations: 0 / 0.9115 GB, free: 52.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001615/0.2673, allocations: 23.98 kB / 0.9115 GB, free: 52.58 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.2673, allocations: 7.938 kB / 0.9115 GB, free: 52.57 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.588e-05/0.2673, allocations: 4 kB / 0.9115 GB, free: 52.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.2674, allocations: 7.953 kB / 0.9115 GB, free: 52.56 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2674, allocations: 4 kB / 0.9115 GB, free: 52.55 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005771/0.2679, allocations: 451 kB / 0.912 GB, free: 52.1 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.595e-05/0.268, allocations: 132.7 kB / 0.9121 GB, free: 51.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.147e-05/0.2681, allocations: 4 kB / 0.9121 GB, free: 51.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001424/0.2682, allocations: 11.98 kB / 0.9121 GB, free: 51.93 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.648e-05/0.2683, allocations: 19.94 kB / 0.9121 GB, free: 51.91 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.365e-06/0.2683, allocations: 0 / 0.9121 GB, free: 51.91 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001705/0.2685, allocations: 239.2 kB / 0.9123 GB, free: 51.68 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2685, allocations: 4 kB / 0.9123 GB, free: 51.68 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003295/0.2688, allocations: 91.53 kB / 0.9124 GB, free: 51.59 MB / 0.6042 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 (expMod.oveWriSet_activate,expMod.oveWriAct_activate) * 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.0001043/0.2689, allocations: 112.9 kB / 0.9125 GB, free: 51.47 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005074/0.2694, allocations: 291.9 kB / 0.9128 GB, free: 51.19 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.2694, allocations: 0 / 0.9128 GB, free: 51.19 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001583/0.2696, allocations: 99.91 kB / 0.9129 GB, free: 51.09 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005442/0.2702, allocations: 77.5 kB / 0.913 GB, free: 51.01 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009761/0.2711, allocations: 0.677 MB / 0.9136 GB, free: 50.3 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001801/0.2713, allocations: 0.7794 MB / 0.9144 GB, free: 49.49 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.877e-05/0.2714, allocations: 27.38 kB / 0.9144 GB, free: 49.47 MB / 0.6042 GB Notification: Performance of SimCode: time 2.21e-07/0.2714, allocations: 0 / 0.9144 GB, free: 49.47 MB / 0.6042 GB Notification: Performance of Templates: time 0.004632/0.2761, allocations: 3.968 MB / 0.9183 GB, free: 45.52 MB / 0.6042 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)