Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.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.Controls.OBC.CDL.Routing.Validation.RealExtractor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.706/1.706, allocations: 287.5 MB / 302.6 MB, free: 8.188 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.001087/0.001087, allocations: 172.5 kB / 371.2 MB, free: 10.75 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.993/1.993, allocations: 205.4 MB / 0.6298 GB, free: 10.55 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.000859/0.000859, allocations: 92.86 kB / 0.7432 GB, free: 6.527 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004338/0.0004341, allocations: 12.11 kB / 0.8661 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2609/0.2614, allocations: 115.3 MB / 0.9787 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.001185/0.2626, allocations: 0.7352 MB / 0.9794 GB, free: 27.44 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001813/0.2645, allocations: 1.305 MB / 0.9807 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000184/0.2647, allocations: 0 / 0.9807 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001313/0.2648, allocations: 15.86 kB / 0.9807 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001278/0.265, allocations: 35.72 kB / 0.9807 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008903/0.2659, allocations: 221.7 kB / 0.9809 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003898/0.2663, allocations: 331.2 kB / 0.9813 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001849/0.2665, allocations: 69.28 kB / 0.9813 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000222/0.2667, allocations: 115.7 kB / 0.9814 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001846/0.2669, allocations: 131.5 kB / 0.9816 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.898e-05/0.267, allocations: 16 kB / 0.9816 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001021/0.2671, allocations: 35.92 kB / 0.9816 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.618e-05/0.2671, allocations: 43.83 kB / 0.9817 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.365e-05/0.2672, allocations: 65.58 kB / 0.9817 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002813/0.2675, allocations: 311.5 kB / 0.982 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.2675, allocations: 4 kB / 0.982 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.836e-06/0.2675, allocations: 0 / 0.982 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.396e-05/0.2675, allocations: 0 / 0.982 GB, free: 24.75 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.00105/0.2686, allocations: 0.5843 MB / 0.9826 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.2687, allocations: 8.031 kB / 0.9826 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001322/0.2688, allocations: 32.66 kB / 0.9826 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003339/0.2691, allocations: 279.7 kB / 0.9829 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.912e-05/0.2692, allocations: 20.36 kB / 0.9829 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.342e-05/0.2692, allocations: 24.38 kB / 0.9829 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005612/0.2698, allocations: 253.8 kB / 0.9832 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.2698, allocations: 4.172 kB / 0.9832 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.943e-05/0.2699, allocations: 15.92 kB / 0.9832 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.2699, allocations: 4 kB / 0.9832 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006624/0.2706, allocations: 279.5 kB / 0.9835 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001176/0.2717, allocations: 0.7536 MB / 0.9842 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004616/0.2722, allocations: 226.4 kB / 0.9844 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003635/0.2726, allocations: 169.1 kB / 0.9846 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.753e-05/0.2726, allocations: 11.88 kB / 0.9846 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005061/0.2731, allocations: 265 kB / 0.9848 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=27): time 2.164e-06/0.2731, allocations: 0 / 0.9848 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of matching and sorting (n=27): time 0.001299/0.2745, allocations: 0.5943 MB / 0.9854 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.744e-05/0.2745, allocations: 63.28 kB / 0.9855 GB, free: 21 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002079/0.2747, allocations: 224.1 kB / 0.9857 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.545e-05/0.2748, allocations: 33.7 kB / 0.9857 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.218e-05/0.2749, allocations: 140.5 kB / 0.9859 GB, free: 20.58 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.581e-05/0.2749, allocations: 71.09 kB / 0.9859 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.441e-05/0.275, allocations: 8 kB / 0.9859 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.523e-05/0.2751, allocations: 338.8 kB / 0.9863 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000444/0.2755, allocations: 195.7 kB / 0.9865 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004386/0.276, allocations: 244 kB / 0.9867 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007454/0.2767, allocations: 423.4 kB / 0.9871 GB, free: 19.28 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/0.2767, allocations: 7.938 kB / 0.9871 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001081/0.2778, allocations: 0.5593 MB / 0.9876 GB, free: 18.69 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.279e-05/0.2779, allocations: 73.73 kB / 0.9877 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.2779, allocations: 0 / 0.9877 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/0.2779, allocations: 8.031 kB / 0.9877 GB, free: 18.6 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002787/0.2782, allocations: 63.89 kB / 0.9878 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.2782, allocations: 4 kB / 0.9878 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004789/0.2787, allocations: 117.8 kB / 0.9879 GB, free: 18.42 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.199e-05/0.2788, allocations: 23.98 kB / 0.9879 GB, free: 18.4 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition4,$whenCondition5,$whenCondition2,$whenCondition3,$whenCondition6,$whenCondition1,$PRE.extIndSig.index,extIndSig.index,extIndSig.k[1],extIndSig.k[2],extIndSig.k[3],extIndSig.k[4],extIndSig.k[5],$PRE.pul.booPul.y,pul.booPul.y,$PRE.pul1.booPul.y,pul1.booPul.y,$PRE.extIndSig1.index,extIndSig1.index,extIndSig1.k[1],extIndSig1.k[2],extIndSig1.k[3],extIndSig1.k[4],extIndSig1.k[5]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 2 * 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.0001482/0.2789, allocations: 159.5 kB / 0.9881 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.272e-05/0.279, allocations: 27.7 kB / 0.9881 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.235e-05/0.279, allocations: 22.56 kB / 0.9881 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.279, allocations: 4 kB / 0.9881 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.279, allocations: 0 / 0.9881 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.2791, allocations: 3.984 kB / 0.9881 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001064/0.2801, allocations: 0.8144 MB / 0.9889 GB, free: 17.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.2801, allocations: 3.938 kB / 0.9889 GB, free: 17.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001904/0.2803, allocations: 47.95 kB / 0.989 GB, free: 17.25 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.2803, allocations: 0 / 0.989 GB, free: 17.25 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.152e-05/0.2804, allocations: 12 kB / 0.989 GB, free: 17.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.2804, allocations: 0 / 0.989 GB, free: 17.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.2804, allocations: 0 / 0.989 GB, free: 17.24 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008878/0.2813, allocations: 0.5263 MB / 0.9895 GB, free: 16.7 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.911e-05/0.2813, allocations: 104.8 kB / 0.9896 GB, free: 16.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.765e-05/0.2814, allocations: 8 kB / 0.9896 GB, free: 16.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001914/0.2816, allocations: 35.95 kB / 0.9896 GB, free: 16.54 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.951e-05/0.2817, allocations: 23.95 kB / 0.9897 GB, free: 16.51 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.787e-05/0.2817, allocations: 23.94 kB / 0.9897 GB, free: 16.49 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.441e-05/0.2818, allocations: 157.6 kB / 0.9898 GB, free: 16.34 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2818, allocations: 0 / 0.9898 GB, free: 16.34 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003075/0.2821, allocations: 71.88 kB / 0.9899 GB, free: 16.27 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition6,$whenCondition4,$whenCondition5,$whenCondition2,$whenCondition3,$whenCondition1,extIndSig.index,extIndSig.k[1],extIndSig.k[2],extIndSig.k[3],extIndSig.k[4],extIndSig.k[5],pul.booPul.y,pul1.booPul.y,extIndSig1.index,extIndSig1.k[1],extIndSig1.k[2],extIndSig1.k[3],extIndSig1.k[4],extIndSig1.k[5]) * Number of discrete states: 2 (extIndSig.index,extIndSig1.index) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * 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.0001723/0.2823, allocations: 112 kB / 0.99 GB, free: 16.14 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0009431/0.2833, allocations: 0.5696 MB / 0.9906 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2833, allocations: 0 / 0.9906 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003868/0.2837, allocations: 200.1 kB / 0.9908 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003791/0.2841, allocations: 40.39 kB / 0.9908 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007582/0.2848, allocations: 0.5287 MB / 0.9913 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001692/0.285, allocations: 0.7521 MB / 0.992 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001294/0.2851, allocations: 37.92 kB / 0.9921 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.091e-05/0.2852, allocations: 27.42 kB / 0.9921 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of SimCode: time 8.82e-07/0.2852, allocations: 0 / 0.9921 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of Templates: time 0.006072/0.2913, allocations: 3.77 MB / 0.9958 GB, free: 10.19 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1)