Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder") translateModel(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.83/2.83, allocations: 287.3 MB / 302.3 MB, free: 8.391 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.002232/0.002232, allocations: 185.7 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.099/2.099, allocations: 205.4 MB / 0.6295 GB, free: 10.52 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.001147/0.001146, allocations: 96.28 kB / 0.7428 GB, free: 6.527 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007329/0.0007336, allocations: 11.06 kB / 0.8656 GB, free: 141.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2521/0.2528, allocations: 115.3 MB / 0.9782 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.003262/0.2562, allocations: 2.204 MB / 0.9803 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001938/0.2581, allocations: 0.8781 MB / 0.9812 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003556/0.2586, allocations: 11.94 kB / 0.9812 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 6.627e-05/0.2586, allocations: 23.72 kB / 0.9812 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004436/0.2591, allocations: 84.69 kB / 0.9813 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005334/0.2596, allocations: 141.9 kB / 0.9814 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004907/0.2601, allocations: 256.2 kB / 0.9817 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000305/0.2605, allocations: 148.4 kB / 0.9818 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001345/0.2606, allocations: 83.47 kB / 0.9819 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001435/0.2608, allocations: 99.34 kB / 0.982 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.791e-05/0.2608, allocations: 8 kB / 0.982 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 3.57e-05/0.2609, allocations: 11.94 kB / 0.982 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.646e-05/0.2609, allocations: 43.77 kB / 0.9821 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.204e-05/0.261, allocations: 89.52 kB / 0.9821 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004986/0.2615, allocations: 491 kB / 0.9826 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.2615, allocations: 4 kB / 0.9826 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.675e-06/0.2615, allocations: 3.938 kB / 0.9826 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.173e-06/0.2615, allocations: 0 / 0.9826 GB, free: 23.8 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.001055/0.2626, allocations: 0.5804 MB / 0.9832 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.2627, allocations: 12.03 kB / 0.9832 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.946e-05/0.2628, allocations: 43.48 kB / 0.9832 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005746/0.2634, allocations: 378.2 kB / 0.9836 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.558e-05/0.2634, allocations: 28.56 kB / 0.9836 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.513e-05/0.2635, allocations: 27.98 kB / 0.9837 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008315/0.2643, allocations: 321.4 kB / 0.984 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.752e-05/0.2644, allocations: 0 / 0.984 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.431e-05/0.2644, allocations: 16 kB / 0.984 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.143e-05/0.2644, allocations: 8 kB / 0.984 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007489/0.2652, allocations: 246 kB / 0.9842 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002034/0.2672, allocations: 1.174 MB / 0.9854 GB, free: 20.83 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008407/0.2681, allocations: 254.8 kB / 0.9856 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.541e-05/0.2682, allocations: 3.938 kB / 0.9856 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.09e-05/0.2682, allocations: 38.55 kB / 0.9857 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 2.755e-06/0.2682, allocations: 0 / 0.9857 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16): time 0.001039/0.2693, allocations: 321.4 kB / 0.986 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.052e-05/0.2693, allocations: 81.11 kB / 0.986 GB, free: 20.1 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004632/0.2698, allocations: 341.5 kB / 0.9864 GB, free: 19.76 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.182e-05/0.2699, allocations: 29.7 kB / 0.9864 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001554/0.27, allocations: 196.1 kB / 0.9866 GB, free: 19.53 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.515e-05/0.2701, allocations: 51.3 kB / 0.9866 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.721e-05/0.2701, allocations: 4 kB / 0.9866 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.635e-05/0.2702, allocations: 342.8 kB / 0.987 GB, free: 19.13 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000299/0.2705, allocations: 83.97 kB / 0.987 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003264/0.2709, allocations: 129.4 kB / 0.9872 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003199/0.2712, allocations: 89.55 kB / 0.9872 GB, free: 18.83 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.2712, allocations: 0 / 0.9872 GB, free: 18.83 MB / 0.6198 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0008004/0.2721, allocations: 267.7 kB / 0.9875 GB, free: 18.56 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.021e-05/0.2722, allocations: 279 kB / 0.9878 GB, free: 18.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.595e-06/0.2722, allocations: 0 / 0.9878 GB, free: 18.27 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.687e-05/0.2722, allocations: 4 kB / 0.9878 GB, free: 18.27 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003037/0.2725, allocations: 35.92 kB / 0.9878 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/0.2726, allocations: 7.953 kB / 0.9878 GB, free: 18.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000259/0.2728, allocations: 27.83 kB / 0.9878 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.31e-05/0.2729, allocations: 8 kB / 0.9878 GB, free: 18.19 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.052e-05/0.2729, allocations: 4 kB / 0.9879 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005064/0.2734, allocations: 171.8 kB / 0.988 GB, free: 18.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.2734, allocations: 7.984 kB / 0.988 GB, free: 18.01 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.062e-06/0.2734, allocations: 0 / 0.988 GB, free: 18.01 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002319/0.2737, allocations: 39.86 kB / 0.9881 GB, free: 17.97 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.199e-06/0.2737, allocations: 4.062 kB / 0.9881 GB, free: 17.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000213/0.2739, allocations: 19.78 kB / 0.9881 GB, free: 17.95 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.731e-05/0.274, allocations: 4 kB / 0.9881 GB, free: 17.94 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.0002787/0.2742, allocations: 245.1 kB / 0.9883 GB, free: 17.69 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.938e-05/0.2743, allocations: 35.56 kB / 0.9884 GB, free: 17.66 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.402e-05/0.2744, allocations: 35.28 kB / 0.9884 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.2744, allocations: 4 kB / 0.9884 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/0.2745, allocations: 0 / 0.9884 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.2745, allocations: 7.938 kB / 0.9884 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005183/0.275, allocations: 405.3 kB / 0.9888 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.275, allocations: 3.953 kB / 0.9888 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003213/0.2754, allocations: 27.98 kB / 0.9888 GB, free: 17.13 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.53e-06/0.2754, allocations: 0 / 0.9888 GB, free: 17.13 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.354e-05/0.2754, allocations: 4 kB / 0.9888 GB, free: 17.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.2754, allocations: 7.984 kB / 0.9888 GB, free: 17.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.2754, allocations: 0 / 0.9888 GB, free: 17.12 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001048/0.2765, allocations: 452.7 kB / 0.9893 GB, free: 16.66 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001452/0.2767, allocations: 140.7 kB / 0.9894 GB, free: 16.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.928e-05/0.2767, allocations: 8 kB / 0.9894 GB, free: 16.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002514/0.277, allocations: 11.98 kB / 0.9894 GB, free: 16.48 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.182e-05/0.2771, allocations: 7.984 kB / 0.9894 GB, free: 16.48 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.005e-05/0.2771, allocations: 8 kB / 0.9894 GB, free: 16.47 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000332/0.2774, allocations: 235.2 kB / 0.9897 GB, free: 16.24 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.21e-07/0.2775, allocations: 0 / 0.9897 GB, free: 16.24 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005627/0.278, allocations: 91.59 kB / 0.9897 GB, free: 16.15 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.0001365/0.2782, allocations: 103.2 kB / 0.9898 GB, free: 16.04 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0009321/0.2791, allocations: 298.2 kB / 0.9901 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.2791, allocations: 0 / 0.9901 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003221/0.2795, allocations: 103.9 kB / 0.9902 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007558/0.2802, allocations: 76.14 kB / 0.9903 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001509/0.2818, allocations: 0.654 MB / 0.9909 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002493/0.2821, allocations: 0.7911 MB / 0.9917 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002411/0.2823, allocations: 26.28 kB / 0.9917 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001082/0.2824, allocations: 35.31 kB / 0.9918 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of SimCode: time 1.664e-06/0.2824, allocations: 0 / 0.9918 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of Templates: time 0.009161/0.2916, allocations: 2.848 MB / 0.9945 GB, free: 11.2 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.sim & ./Buildings_8.0.0_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1)