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.785/1.785, allocations: 288.4 MB / 303.4 MB, free: 8.129 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.001545/0.001545, allocations: 181.5 kB / 372 MB, free: 10.26 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.986/1.986, allocations: 205.4 MB / 0.6307 GB, free: 9.977 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.000992/0.000992, allocations: 97.3 kB / 0.7441 GB, free: 5.891 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004137/0.0004136, allocations: 15.22 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2323/0.2327, allocations: 115.3 MB / 0.9796 GB, free: 27.65 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.001272/0.234, allocations: 0.7285 MB / 0.9803 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001852/0.2359, allocations: 1.305 MB / 0.9816 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001576/0.2361, allocations: 4 kB / 0.9816 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001429/0.2363, allocations: 7.875 kB / 0.9816 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001439/0.2364, allocations: 39.7 kB / 0.9816 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009445/0.2374, allocations: 230.4 kB / 0.9818 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003788/0.2378, allocations: 327.2 kB / 0.9822 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001863/0.238, allocations: 61.03 kB / 0.9822 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002287/0.2382, allocations: 115.7 kB / 0.9823 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002223/0.2384, allocations: 139.5 kB / 0.9825 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.809e-05/0.2385, allocations: 12 kB / 0.9825 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001127/0.2387, allocations: 31.98 kB / 0.9825 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.667e-05/0.2387, allocations: 39.84 kB / 0.9825 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.594e-05/0.2388, allocations: 73.56 kB / 0.9826 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003023/0.2391, allocations: 311.5 kB / 0.9829 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.2391, allocations: 3.938 kB / 0.9829 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2392, allocations: 0 / 0.9829 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.201e-05/0.2392, allocations: 0 / 0.9829 GB, free: 24.23 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.001113/0.2403, allocations: 0.5878 MB / 0.9835 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.2403, allocations: 8.031 kB / 0.9835 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001145/0.2405, allocations: 31.72 kB / 0.9835 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000343/0.2408, allocations: 278.5 kB / 0.9838 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.093e-05/0.2409, allocations: 16 kB / 0.9838 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.201e-05/0.2409, allocations: 27.98 kB / 0.9838 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005864/0.2415, allocations: 253.4 kB / 0.9841 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.2415, allocations: 0 / 0.9841 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.895e-05/0.2416, allocations: 15.98 kB / 0.9841 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.2416, allocations: 3.938 kB / 0.9841 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006964/0.2423, allocations: 271.3 kB / 0.9844 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001342/0.2436, allocations: 0.7654 MB / 0.9851 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004657/0.2441, allocations: 230.9 kB / 0.9853 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003598/0.2445, allocations: 170.4 kB / 0.9855 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.243e-05/0.2445, allocations: 4.188 kB / 0.9855 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005698/0.2451, allocations: 271 kB / 0.9857 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=27): time 3.586e-06/0.2451, allocations: 3.984 kB / 0.9857 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=27): time 0.001325/0.2465, allocations: 0.5942 MB / 0.9863 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.842e-05/0.2465, allocations: 59.41 kB / 0.9864 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001721/0.2467, allocations: 216.2 kB / 0.9866 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.463e-05/0.2467, allocations: 37.69 kB / 0.9866 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.742e-05/0.2468, allocations: 140.5 kB / 0.9868 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.754e-05/0.2469, allocations: 59.17 kB / 0.9868 GB, free: 20 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.893e-05/0.2469, allocations: 11.98 kB / 0.9868 GB, free: 19.99 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.006e-05/0.247, allocations: 334.8 kB / 0.9871 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004493/0.2474, allocations: 199.9 kB / 0.9873 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004568/0.2479, allocations: 240.2 kB / 0.9876 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004484/0.2484, allocations: 255.2 kB / 0.9878 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.2484, allocations: 0 / 0.9878 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001077/0.2495, allocations: 0.5553 MB / 0.9884 GB, free: 18.38 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.805e-05/0.2495, allocations: 71.39 kB / 0.9884 GB, free: 18.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.2495, allocations: 0 / 0.9884 GB, free: 18.29 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.274e-05/0.2496, allocations: 4 kB / 0.9884 GB, free: 18.29 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002967/0.2499, allocations: 67.89 kB / 0.9885 GB, free: 18.22 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.166e-06/0.2499, allocations: 4 kB / 0.9885 GB, free: 18.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005025/0.2504, allocations: 123.6 kB / 0.9886 GB, free: 18.1 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.309e-05/0.2504, allocations: 23.98 kB / 0.9886 GB, free: 18.07 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.0001547/0.2506, allocations: 167.7 kB / 0.9888 GB, free: 17.9 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.389e-05/0.2507, allocations: 23.7 kB / 0.9888 GB, free: 17.88 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.761e-05/0.2507, allocations: 22.56 kB / 0.9888 GB, free: 17.86 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.2507, allocations: 4 kB / 0.9888 GB, free: 17.85 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.2507, allocations: 0 / 0.9888 GB, free: 17.85 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.2507, allocations: 3.984 kB / 0.9888 GB, free: 17.85 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001079/0.2518, allocations: 0.8188 MB / 0.9896 GB, free: 16.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.2518, allocations: 0 / 0.9896 GB, free: 16.97 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002014/0.252, allocations: 47.89 kB / 0.9897 GB, free: 16.93 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.2521, allocations: 0 / 0.9897 GB, free: 16.93 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.177e-05/0.2521, allocations: 8 kB / 0.9897 GB, free: 16.92 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.2521, allocations: 4 kB / 0.9897 GB, free: 16.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.2521, allocations: 0 / 0.9897 GB, free: 16.91 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008485/0.253, allocations: 0.5341 MB / 0.9902 GB, free: 16.36 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.561e-05/0.253, allocations: 104.7 kB / 0.9903 GB, free: 16.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.873e-05/0.253, allocations: 8 kB / 0.9903 GB, free: 16.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002317/0.2533, allocations: 35.95 kB / 0.9904 GB, free: 16.2 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.73e-05/0.2534, allocations: 27.95 kB / 0.9904 GB, free: 16.17 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.905e-05/0.2534, allocations: 12 kB / 0.9904 GB, free: 16.16 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001044/0.2535, allocations: 157.6 kB / 0.9906 GB, free: 16.01 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2535, allocations: 0 / 0.9906 GB, free: 16.01 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003114/0.2539, allocations: 83.8 kB / 0.9906 GB, free: 15.93 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.0001568/0.254, allocations: 119.2 kB / 0.9907 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0009821/0.255, allocations: 0.5609 MB / 0.9913 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.255, allocations: 0 / 0.9913 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000408/0.2554, allocations: 201 kB / 0.9915 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003968/0.2559, allocations: 44.39 kB / 0.9915 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008478/0.2567, allocations: 0.5275 MB / 0.992 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000185/0.2569, allocations: 0.7484 MB / 0.9928 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001291/0.257, allocations: 33.94 kB / 0.9928 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.4e-05/0.2571, allocations: 27.42 kB / 0.9928 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of SimCode: time 2.3e-07/0.2571, allocations: 0 / 0.9928 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of Templates: time 0.006648/0.2638, allocations: 3.766 MB / 0.9965 GB, free: 9.859 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)