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 2.766/2.766, allocations: 287.3 MB / 302.3 MB, free: 8.285 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.00163/0.00163, allocations: 178.9 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.218/2.218, allocations: 205.4 MB / 0.6295 GB, free: 10.6 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.001137/0.001137, allocations: 93.67 kB / 0.7428 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007037/0.0007039, allocations: 12 kB / 0.8656 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2245/0.2252, allocations: 115.3 MB / 0.9782 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.001298/0.2266, allocations: 0.7207 MB / 0.9789 GB, free: 27.65 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001876/0.2285, allocations: 1.277 MB / 0.9802 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001004/0.2286, allocations: 4 kB / 0.9802 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001101/0.2287, allocations: 15.86 kB / 0.9802 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000131/0.2289, allocations: 43.86 kB / 0.9802 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009714/0.2298, allocations: 226.9 kB / 0.9804 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004095/0.2303, allocations: 207.6 kB / 0.9806 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002142/0.2305, allocations: 61.03 kB / 0.9807 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000194/0.2307, allocations: 123.6 kB / 0.9808 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002122/0.2309, allocations: 127.5 kB / 0.9809 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.633e-05/0.231, allocations: 20 kB / 0.9809 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001259/0.2312, allocations: 23.98 kB / 0.981 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.401e-05/0.2312, allocations: 47.83 kB / 0.981 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.401e-05/0.2313, allocations: 65.58 kB / 0.9811 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003867/0.2317, allocations: 311.5 kB / 0.9814 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.2318, allocations: 0 / 0.9814 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.884e-06/0.2318, allocations: 0 / 0.9814 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.2318, allocations: 0 / 0.9814 GB, free: 25.11 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.001272/0.2331, allocations: 0.59 MB / 0.9819 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.2331, allocations: 12.03 kB / 0.982 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001624/0.2333, allocations: 35.67 kB / 0.982 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004073/0.2337, allocations: 270.5 kB / 0.9823 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.206e-05/0.2338, allocations: 20 kB / 0.9823 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.731e-05/0.2339, allocations: 24 kB / 0.9823 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009237/0.2348, allocations: 253.2 kB / 0.9825 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.2348, allocations: 0 / 0.9825 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.342e-05/0.2349, allocations: 16 kB / 0.9826 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.2349, allocations: 3.938 kB / 0.9826 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001192/0.2361, allocations: 271.5 kB / 0.9828 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001838/0.238, allocations: 0.7693 MB / 0.9836 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008306/0.2388, allocations: 238.9 kB / 0.9838 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.94e-05/0.2389, allocations: 4.188 kB / 0.9838 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008606/0.2398, allocations: 265.1 kB / 0.9841 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=27): time 3.126e-06/0.2398, allocations: 0 / 0.9841 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of matching and sorting (n=27): time 0.002367/0.2422, allocations: 0.5945 MB / 0.9846 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.557e-05/0.2422, allocations: 55.41 kB / 0.9847 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002549/0.2425, allocations: 217.6 kB / 0.9849 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.05e-05/0.2426, allocations: 37.7 kB / 0.9849 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/0.2427, allocations: 144.5 kB / 0.9851 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.132e-05/0.2428, allocations: 59.17 kB / 0.9851 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.173e-05/0.2429, allocations: 8 kB / 0.9851 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.226e-05/0.243, allocations: 338.8 kB / 0.9855 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008097/0.2438, allocations: 195.9 kB / 0.9856 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008349/0.2446, allocations: 248 kB / 0.9859 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008226/0.2455, allocations: 243.3 kB / 0.9861 GB, free: 20 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/0.2455, allocations: 0 / 0.9861 GB, free: 20 MB / 0.6198 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.00191/0.2474, allocations: 0.5669 MB / 0.9867 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.196e-05/0.2475, allocations: 71.39 kB / 0.9867 GB, free: 19.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.2475, allocations: 4 kB / 0.9867 GB, free: 19.33 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.166e-05/0.2475, allocations: 4 kB / 0.9867 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005305/0.2481, allocations: 67.89 kB / 0.9868 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/0.2481, allocations: 4 kB / 0.9868 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009086/0.249, allocations: 119.6 kB / 0.9869 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.732e-05/0.2491, allocations: 19.98 kB / 0.9869 GB, free: 19.12 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.0002601/0.2494, allocations: 167.7 kB / 0.9871 GB, free: 18.94 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.709e-05/0.2494, allocations: 23.72 kB / 0.9871 GB, free: 18.92 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.402e-05/0.2495, allocations: 34.47 kB / 0.9872 GB, free: 18.89 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/0.2495, allocations: 4 kB / 0.9872 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.2495, allocations: 0 / 0.9872 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.2496, allocations: 0 / 0.9872 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001892/0.2515, allocations: 0.8222 MB / 0.988 GB, free: 18 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.2515, allocations: 0 / 0.988 GB, free: 18 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003737/0.2519, allocations: 39.97 kB / 0.988 GB, free: 17.96 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.2519, allocations: 0 / 0.988 GB, free: 17.96 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.725e-05/0.2519, allocations: 11.98 kB / 0.988 GB, free: 17.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.2519, allocations: 4 kB / 0.988 GB, free: 17.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.252, allocations: 0 / 0.988 GB, free: 17.95 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001559/0.2535, allocations: 0.5263 MB / 0.9885 GB, free: 17.41 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.258e-05/0.2536, allocations: 96.83 kB / 0.9886 GB, free: 17.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.372e-05/0.2537, allocations: 15.98 kB / 0.9886 GB, free: 17.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003633/0.2541, allocations: 31.97 kB / 0.9887 GB, free: 17.25 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001306/0.2542, allocations: 23.95 kB / 0.9887 GB, free: 17.22 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.072e-05/0.2543, allocations: 19.98 kB / 0.9887 GB, free: 17.2 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000165/0.2544, allocations: 152.4 kB / 0.9889 GB, free: 17.05 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.41e-07/0.2545, allocations: 4 kB / 0.9889 GB, free: 17.05 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005564/0.255, allocations: 79.83 kB / 0.9889 GB, free: 16.97 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.0002024/0.2552, allocations: 119.2 kB / 0.989 GB, free: 16.84 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001746/0.257, allocations: 0.5619 MB / 0.9896 GB, free: 16.26 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.257, allocations: 0 / 0.9896 GB, free: 16.26 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0007645/0.2578, allocations: 200 kB / 0.9898 GB, free: 16.06 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005047/0.2583, allocations: 36.41 kB / 0.9898 GB, free: 16.03 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001204/0.2595, allocations: 0.5326 MB / 0.9903 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002143/0.2598, allocations: 0.7562 MB / 0.9911 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002033/0.26, allocations: 37.92 kB / 0.9911 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001124/0.2601, allocations: 19.44 kB / 0.9911 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of SimCode: time 1.002e-06/0.2601, allocations: 0 / 0.9911 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of Templates: time 0.009933/0.2701, allocations: 3.76 MB / 0.9948 GB, free: 10.91 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)