Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 2.021/2.021, allocations: 288.4 MB / 303.4 MB, free: 8.121 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009784/0.0009786, allocations: 184.5 kB / 372 MB, free: 10.2 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.824/1.824, allocations: 205.4 MB / 0.6307 GB, free: 9.973 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008491/0.0008492, allocations: 98.3 kB / 0.7441 GB, free: 5.895 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004216/0.0004216, allocations: 11.03 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2546/0.255, allocations: 115.3 MB / 0.9796 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.002664/0.2578, allocations: 2.196 MB / 0.9817 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001262/0.259, allocations: 0.8856 MB / 0.9826 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001946/0.2593, allocations: 11.94 kB / 0.9826 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001707/0.2594, allocations: 39.58 kB / 0.9826 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001113/0.2596, allocations: 43.64 kB / 0.9827 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003711/0.2599, allocations: 136.5 kB / 0.9828 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002764/0.2602, allocations: 387.8 kB / 0.9832 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002237/0.2605, allocations: 140.4 kB / 0.9833 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001086/0.2606, allocations: 87.47 kB / 0.9834 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001078/0.2607, allocations: 99.3 kB / 0.9835 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.898e-05/0.2607, allocations: 8 kB / 0.9835 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 2.592e-05/0.2608, allocations: 8 kB / 0.9835 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.7e-05/0.2608, allocations: 35.73 kB / 0.9835 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.274e-05/0.2608, allocations: 89.52 kB / 0.9836 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002931/0.2611, allocations: 0.4912 MB / 0.9841 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.2611, allocations: 0 / 0.9841 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.644e-06/0.2612, allocations: 3.938 kB / 0.9841 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.2612, allocations: 0 / 0.9841 GB, free: 22.96 MB / 0.6198 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.0007331/0.2619, allocations: 0.5882 MB / 0.9847 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.2619, allocations: 8.031 kB / 0.9847 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.377e-05/0.262, allocations: 43.48 kB / 0.9847 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003813/0.2624, allocations: 386.2 kB / 0.9851 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.708e-05/0.2624, allocations: 20.56 kB / 0.9851 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.998e-05/0.2625, allocations: 24 kB / 0.9851 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005034/0.263, allocations: 333.3 kB / 0.9855 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.263, allocations: 4 kB / 0.9855 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.888e-05/0.2631, allocations: 12 kB / 0.9855 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.064e-06/0.2631, allocations: 4 kB / 0.9855 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004156/0.2635, allocations: 242.2 kB / 0.9857 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001236/0.2647, allocations: 1.182 MB / 0.9869 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004325/0.2652, allocations: 254.8 kB / 0.9871 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001802/0.2654, allocations: 100.8 kB / 0.9872 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.902e-05/0.2654, allocations: 4 kB / 0.9872 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.412e-05/0.2654, allocations: 30.56 kB / 0.9872 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 1.222e-06/0.2655, allocations: 4 kB / 0.9872 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16): time 0.0006244/0.2661, allocations: 325 kB / 0.9876 GB, free: 19.24 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.04e-05/0.2661, allocations: 85.11 kB / 0.9876 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002681/0.2664, allocations: 337.6 kB / 0.988 GB, free: 18.8 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.2664, allocations: 29.7 kB / 0.988 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/0.2665, allocations: 196.1 kB / 0.9882 GB, free: 18.57 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.832e-05/0.2666, allocations: 47.3 kB / 0.9882 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.987e-06/0.2666, allocations: 4 kB / 0.9882 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.347e-05/0.2667, allocations: 342.8 kB / 0.9886 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001584/0.2669, allocations: 87.97 kB / 0.9886 GB, free: 18.09 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001787/0.2671, allocations: 125 kB / 0.9888 GB, free: 17.96 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001711/0.2672, allocations: 97.27 kB / 0.9888 GB, free: 17.86 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.2672, allocations: 0 / 0.9888 GB, free: 17.86 MB / 0.6198 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004163/0.2677, allocations: 266.4 kB / 0.9891 GB, free: 17.6 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.856e-05/0.2677, allocations: 106.6 kB / 0.9892 GB, free: 17.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.2677, allocations: 15.86 kB / 0.9892 GB, free: 17.46 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.2678, allocations: 0 / 0.9892 GB, free: 17.46 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001737/0.2679, allocations: 36.05 kB / 0.9893 GB, free: 17.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.268, allocations: 0 / 0.9893 GB, free: 17.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001234/0.2681, allocations: 27.78 kB / 0.9893 GB, free: 17.4 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.432e-05/0.2681, allocations: 7.984 kB / 0.9893 GB, free: 17.39 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.491e-06/0.2681, allocations: 4 kB / 0.9893 GB, free: 17.39 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002701/0.2684, allocations: 177.2 kB / 0.9895 GB, free: 17.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.603e-06/0.2684, allocations: 4.062 kB / 0.9895 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.276e-06/0.2684, allocations: 4 kB / 0.9895 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001199/0.2685, allocations: 35.88 kB / 0.9895 GB, free: 17.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.044e-06/0.2685, allocations: 0 / 0.9895 GB, free: 17.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.727e-05/0.2686, allocations: 19.84 kB / 0.9895 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/0.2687, allocations: 4 kB / 0.9895 GB, free: 17.15 MB / 0.6198 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.0001512/0.2688, allocations: 241.1 kB / 0.9898 GB, free: 16.91 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.565e-05/0.2689, allocations: 31.61 kB / 0.9898 GB, free: 16.88 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.611e-05/0.2689, allocations: 43.28 kB / 0.9898 GB, free: 16.83 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.269, allocations: 3.953 kB / 0.9898 GB, free: 16.82 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.269, allocations: 0 / 0.9898 GB, free: 16.82 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.269, allocations: 0 / 0.9898 GB, free: 16.82 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003253/0.2693, allocations: 405.3 kB / 0.9902 GB, free: 16.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2693, allocations: 4 kB / 0.9902 GB, free: 16.38 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001596/0.2695, allocations: 27.98 kB / 0.9902 GB, free: 16.35 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.2695, allocations: 0 / 0.9902 GB, free: 16.35 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.61e-05/0.2695, allocations: 4 kB / 0.9903 GB, free: 16.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.2695, allocations: 0 / 0.9903 GB, free: 16.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.2695, allocations: 7.953 kB / 0.9903 GB, free: 16.34 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005754/0.2701, allocations: 456.2 kB / 0.9907 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.402e-05/0.2702, allocations: 140.6 kB / 0.9908 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.277e-05/0.2702, allocations: 4 kB / 0.9908 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001384/0.2704, allocations: 12 kB / 0.9908 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.271e-05/0.2704, allocations: 11.98 kB / 0.9909 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.057e-05/0.2705, allocations: 7.938 kB / 0.9909 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001823/0.2707, allocations: 243.2 kB / 0.9911 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2707, allocations: 0 / 0.9911 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003241/0.271, allocations: 91.59 kB / 0.9912 GB, free: 15.36 MB / 0.6198 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.0001127/0.2711, allocations: 107.1 kB / 0.9913 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005215/0.2716, allocations: 298.5 kB / 0.9916 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.2716, allocations: 0 / 0.9916 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001621/0.2718, allocations: 99.91 kB / 0.9917 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005406/0.2724, allocations: 81.06 kB / 0.9917 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009883/0.2734, allocations: 0.6522 MB / 0.9924 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002239/0.2736, allocations: 0.7755 MB / 0.9931 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001237/0.2737, allocations: 30.28 kB / 0.9932 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.995e-05/0.2738, allocations: 19.44 kB / 0.9932 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of SimCode: time 3.1e-07/0.2738, allocations: 0 / 0.9932 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of Templates: time 0.005598/0.2794, allocations: 2.875 MB / 0.996 GB, free: 10.4 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1)