Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 103.7 kB / 16.36 MB, free: 6.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 188 kB / 17.29 MB, free: 5.875 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.394/1.394, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.793/1.793, allocations: 292.3 MB / 0.5496 GB, free: 17.51 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001427, allocations: 71.89 kB / 0.6729 GB, free: 5.816 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2193/0.2207, allocations: 114.6 MB / 0.7848 GB, free: 3.145 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002469/0.2233, allocations: 1.074 MB / 0.7858 GB, free: 2.07 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002037/0.2253, allocations: 1.335 MB / 0.7871 GB, free: 0.7188 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.217e-05/0.2254, allocations: 4 kB / 0.7871 GB, free: 0.7148 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001336/0.2256, allocations: 19.75 kB / 0.7872 GB, free: 0.6953 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 8.268e-05/0.2257, allocations: 39.66 kB / 0.7872 GB, free: 0.6562 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007202/0.2264, allocations: 273.3 kB / 0.7875 GB, free: 404 kB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.3419/0.5683, allocations: 418.5 kB / 0.7879 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002621/0.5686, allocations: 78.8 kB / 0.7879 GB, free: 46.58 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002627/0.5689, allocations: 149.3 kB / 0.7881 GB, free: 46.58 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002104/0.5691, allocations: 165.1 kB / 0.7882 GB, free: 46.56 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.459e-05/0.5691, allocations: 41.47 kB / 0.7883 GB, free: 46.56 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001166/0.5693, allocations: 58.34 kB / 0.7883 GB, free: 46.56 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 6.715e-05/0.5693, allocations: 59 kB / 0.7884 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001441/0.5695, allocations: 155.7 kB / 0.7885 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004015/0.5699, allocations: 429.9 kB / 0.7889 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.5699, allocations: 0 / 0.7889 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.944e-06/0.5699, allocations: 0 / 0.7889 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.5699, allocations: 3.625 kB / 0.789 GB, free: 46.48 MB / 0.6544 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.001065/0.571, allocations: 0.6263 MB / 0.7896 GB, free: 46.01 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.571, allocations: 11.25 kB / 0.7896 GB, free: 46.01 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.25e-05/0.5711, allocations: 33.48 kB / 0.7896 GB, free: 46 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002933/0.5714, allocations: 279.6 kB / 0.7899 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.309e-05/0.5715, allocations: 17.81 kB / 0.7899 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.106e-05/0.5715, allocations: 28.41 kB / 0.7899 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005379/0.5721, allocations: 238.5 kB / 0.7901 GB, free: 45.74 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.5721, allocations: 2.812 kB / 0.7901 GB, free: 45.74 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.794e-05/0.5721, allocations: 14.72 kB / 0.7902 GB, free: 45.74 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.5722, allocations: 5.25 kB / 0.7902 GB, free: 45.74 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006527/0.5728, allocations: 235.7 kB / 0.7904 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00108/0.5739, allocations: 0.7511 MB / 0.7911 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004544/0.5744, allocations: 207.5 kB / 0.7913 GB, free: 45.42 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00035/0.5747, allocations: 156.1 kB / 0.7915 GB, free: 45.41 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.96e-05/0.5748, allocations: 9.844 kB / 0.7915 GB, free: 45.41 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005066/0.5753, allocations: 249.5 kB / 0.7917 GB, free: 45.36 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=27): time 2.675e-06/0.5753, allocations: 2.312 kB / 0.7917 GB, free: 45.36 MB / 0.6544 GB Notification: Performance of matching and sorting (n=27): time 0.00129/0.5766, allocations: 0.5466 MB / 0.7923 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.128e-05/0.5766, allocations: 59.94 kB / 0.7923 GB, free: 45.25 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001618/0.5768, allocations: 220.2 kB / 0.7925 GB, free: 45.14 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.977e-05/0.5768, allocations: 37.02 kB / 0.7926 GB, free: 45.11 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.945e-05/0.5769, allocations: 141 kB / 0.7927 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.489e-05/0.577, allocations: 63.86 kB / 0.7928 GB, free: 44.98 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001359/0.5771, allocations: 78.31 kB / 0.7928 GB, free: 44.97 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.634e-05/0.5772, allocations: 332.4 kB / 0.7931 GB, free: 44.66 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004451/0.5776, allocations: 187.1 kB / 0.7933 GB, free: 44.65 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004411/0.5781, allocations: 232.4 kB / 0.7935 GB, free: 44.61 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007176/0.5788, allocations: 384.7 kB / 0.7939 GB, free: 44.51 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.5788, allocations: 3.938 kB / 0.7939 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.00102/0.5798, allocations: 0.5372 MB / 0.7944 GB, free: 44.39 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.386e-05/0.5799, allocations: 75.05 kB / 0.7945 GB, free: 44.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.5799, allocations: 0 / 0.7945 GB, free: 44.32 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.996e-05/0.5799, allocations: 3.438 kB / 0.7945 GB, free: 44.32 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003877/0.5803, allocations: 55.05 kB / 0.7946 GB, free: 44.32 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.318e-06/0.5804, allocations: 7.391 kB / 0.7946 GB, free: 44.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005464/0.5809, allocations: 79.27 kB / 0.7946 GB, free: 44.32 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.15e-05/0.581, allocations: 20.64 kB / 0.7947 GB, free: 44.32 MB / 0.6544 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,extIndSig1.k[5],extIndSig1.k[4],extIndSig1.k[3],extIndSig1.k[2],extIndSig1.k[1],extIndSig1.index,$PRE.extIndSig1.index,pul1.booPul.y,$PRE.pul1.booPul.y,pul.booPul.y,$PRE.pul.booPul.y,extIndSig.k[5],extIndSig.k[4],extIndSig.k[3],extIndSig.k[2],extIndSig.k[1],extIndSig.index,$PRE.extIndSig.index,$whenCondition1,$whenCondition6) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001563/0.5811, allocations: 173.4 kB / 0.7948 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.722e-05/0.5812, allocations: 26.89 kB / 0.7949 GB, free: 44.18 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.167e-05/0.5812, allocations: 22.69 kB / 0.7949 GB, free: 44.18 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.5812, allocations: 3.375 kB / 0.7949 GB, free: 44.18 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.5812, allocations: 3.938 kB / 0.7949 GB, free: 44.18 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.5813, allocations: 0.625 kB / 0.7949 GB, free: 44.18 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001061/0.5823, allocations: 0.793 MB / 0.7957 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.5823, allocations: 1.938 kB / 0.7957 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001892/0.5825, allocations: 38.09 kB / 0.7957 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.61e-06/0.5825, allocations: 8.828 kB / 0.7957 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.297e-05/0.5826, allocations: 2.812 kB / 0.7957 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.5826, allocations: 3.281 kB / 0.7957 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.5826, allocations: 0 / 0.7957 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008381/0.5834, allocations: 0.4992 MB / 0.7962 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.887e-05/0.5835, allocations: 102.1 kB / 0.7963 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.345e-05/0.5835, allocations: 8.094 kB / 0.7963 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002003/0.5837, allocations: 20.2 kB / 0.7963 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.865e-05/0.5838, allocations: 33.88 kB / 0.7964 GB, free: 43.6 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.269e-05/0.5839, allocations: 18.41 kB / 0.7964 GB, free: 43.6 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001314/0.584, allocations: 155.8 kB / 0.7965 GB, free: 43.52 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.51e-07/0.584, allocations: 0 / 0.7965 GB, free: 43.52 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003533/0.5844, allocations: 77.52 kB / 0.7966 GB, free: 43.52 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001603/0.5845, allocations: 114.7 kB / 0.7967 GB, free: 43.43 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001012/0.5855, allocations: 0.5336 MB / 0.7972 GB, free: 43.29 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.5856, allocations: 0 / 0.7972 GB, free: 43.29 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0004111/0.586, allocations: 190.6 kB / 0.7974 GB, free: 43.29 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004091/0.5864, allocations: 42.47 kB / 0.7975 GB, free: 43.29 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000836/0.5872, allocations: 0.5072 MB / 0.7979 GB, free: 43.05 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002291/0.5875, allocations: 0.7524 MB / 0.7987 GB, free: 42.35 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.009e-05/0.5876, allocations: 26.73 kB / 0.7987 GB, free: 42.34 MB / 0.6544 GB Notification: Performance of SimCode: time 4.91e-07/0.5876, allocations: 0 / 0.7987 GB, free: 42.34 MB / 0.6544 GB Notification: Performance of Templates: time 0.007343/0.5949, allocations: 3.895 MB / 0.8025 GB, free: 42.14 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1)