Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.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.Controls.OBC.CDL.Routing.Validation.RealExtractor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.725/1.725, allocations: 288.3 MB / 303.2 MB, free: 8.145 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.001266/0.001266, allocations: 189 kB / 371.8 MB, free: 10.27 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.825/1.825, allocations: 205.4 MB / 0.6306 GB, free: 10.02 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.0009452/0.0009451, allocations: 93.78 kB / 0.7439 GB, free: 5.953 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004029/0.000403, allocations: 12 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.227/0.2274, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.001108/0.2286, allocations: 0.7209 MB / 0.9801 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00137/0.23, allocations: 1.281 MB / 0.9814 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.984e-05/0.23, allocations: 8 kB / 0.9814 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001037/0.2302, allocations: 15.86 kB / 0.9814 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.084e-05/0.2302, allocations: 35.86 kB / 0.9814 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006482/0.2309, allocations: 232.9 kB / 0.9817 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002/0.2311, allocations: 199.7 kB / 0.9819 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001627/0.2313, allocations: 65.03 kB / 0.9819 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001157/0.2314, allocations: 119.6 kB / 0.982 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001386/0.2315, allocations: 135.5 kB / 0.9822 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.785e-05/0.2316, allocations: 16 kB / 0.9822 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.218e-05/0.2317, allocations: 23.98 kB / 0.9822 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.623e-05/0.2317, allocations: 43.83 kB / 0.9822 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.754e-05/0.2318, allocations: 69.58 kB / 0.9823 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002212/0.232, allocations: 311.5 kB / 0.9826 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.232, allocations: 0 / 0.9826 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.034e-06/0.232, allocations: 4 kB / 0.9826 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.2321, allocations: 0 / 0.9826 GB, free: 24.43 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.0008786/0.2329, allocations: 0.5839 MB / 0.9832 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.233, allocations: 8.031 kB / 0.9832 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.986e-05/0.2331, allocations: 35.72 kB / 0.9832 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000303/0.2334, allocations: 274.5 kB / 0.9835 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.825e-05/0.2334, allocations: 16 kB / 0.9835 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.945e-05/0.2335, allocations: 31.98 kB / 0.9835 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005449/0.234, allocations: 249.4 kB / 0.9838 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.2341, allocations: 3.984 kB / 0.9838 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.901e-05/0.2341, allocations: 15.98 kB / 0.9838 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.2341, allocations: 4 kB / 0.9838 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006524/0.2348, allocations: 275.2 kB / 0.984 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001135/0.2359, allocations: 0.7654 MB / 0.9848 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004591/0.2364, allocations: 231 kB / 0.985 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.087e-05/0.2364, allocations: 12.12 kB / 0.985 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004952/0.2369, allocations: 271 kB / 0.9853 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=27): time 1.683e-06/0.2369, allocations: 0 / 0.9853 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=27): time 0.001307/0.2382, allocations: 0.5865 MB / 0.9859 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.015e-05/0.2383, allocations: 59.34 kB / 0.9859 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000187/0.2385, allocations: 220.2 kB / 0.9861 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.364e-05/0.2386, allocations: 37.7 kB / 0.9862 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.872e-05/0.2387, allocations: 140.5 kB / 0.9863 GB, free: 20.42 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.623e-05/0.2387, allocations: 63.17 kB / 0.9864 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.965e-05/0.2388, allocations: 8 kB / 0.9864 GB, free: 20.35 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.925e-05/0.2389, allocations: 338.8 kB / 0.9867 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004483/0.2393, allocations: 195.9 kB / 0.9869 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004348/0.2398, allocations: 236.2 kB / 0.9871 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000415/0.2402, allocations: 255.3 kB / 0.9873 GB, free: 19.31 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.2402, allocations: 3.938 kB / 0.9873 GB, free: 19.31 MB / 0.6198 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001009/0.2412, allocations: 0.5629 MB / 0.9879 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.688e-05/0.2413, allocations: 69.27 kB / 0.988 GB, free: 18.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/0.2413, allocations: 4 kB / 0.988 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.885e-05/0.2414, allocations: 4.094 kB / 0.988 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002959/0.2417, allocations: 67.89 kB / 0.988 GB, free: 18.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.2417, allocations: 7.984 kB / 0.988 GB, free: 18.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004789/0.2422, allocations: 115.6 kB / 0.9882 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.944e-05/0.2422, allocations: 27.92 kB / 0.9882 GB, free: 18.43 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.0001565/0.2424, allocations: 163.7 kB / 0.9883 GB, free: 18.25 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.311e-05/0.2424, allocations: 27.7 kB / 0.9884 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.913e-05/0.2425, allocations: 22.56 kB / 0.9884 GB, free: 18.21 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.2425, allocations: 4 kB / 0.9884 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/0.2425, allocations: 0 / 0.9884 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.2425, allocations: 7.984 kB / 0.9884 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001043/0.2435, allocations: 0.8071 MB / 0.9892 GB, free: 17.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.2436, allocations: 4 kB / 0.9892 GB, free: 17.33 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001882/0.2438, allocations: 43.95 kB / 0.9892 GB, free: 17.29 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.2438, allocations: 4 kB / 0.9892 GB, free: 17.28 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.175e-05/0.2438, allocations: 4 kB / 0.9892 GB, free: 17.28 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.2438, allocations: 7.984 kB / 0.9892 GB, free: 17.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2438, allocations: 0 / 0.9892 GB, free: 17.27 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008268/0.2446, allocations: 0.5302 MB / 0.9898 GB, free: 16.72 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.953e-05/0.2447, allocations: 96.83 kB / 0.9899 GB, free: 16.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.966e-05/0.2447, allocations: 8 kB / 0.9899 GB, free: 16.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001964/0.2449, allocations: 35.95 kB / 0.9899 GB, free: 16.57 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.546e-05/0.245, allocations: 31.95 kB / 0.9899 GB, free: 16.54 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.814e-05/0.2451, allocations: 12 kB / 0.9899 GB, free: 16.52 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.56e-05/0.2452, allocations: 157.6 kB / 0.9901 GB, free: 16.37 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2452, allocations: 0 / 0.9901 GB, free: 16.37 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000311/0.2455, allocations: 75.84 kB / 0.9902 GB, free: 16.3 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.0001613/0.2456, allocations: 123.1 kB / 0.9903 GB, free: 16.16 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0009548/0.2466, allocations: 0.561 MB / 0.9908 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.2466, allocations: 0 / 0.9908 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003842/0.247, allocations: 197 kB / 0.991 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003077/0.2473, allocations: 48.28 kB / 0.9911 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007419/0.2481, allocations: 0.533 MB / 0.9916 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001656/0.2483, allocations: 0.7601 MB / 0.9923 GB, free: 14 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001222/0.2484, allocations: 41.91 kB / 0.9924 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.36e-05/0.2485, allocations: 19.44 kB / 0.9924 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of SimCode: time 2.31e-07/0.2485, allocations: 0 / 0.9924 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of Templates: time 0.006015/0.2545, allocations: 3.752 MB / 0.996 GB, free: 10.22 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1)