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.001162/0.001162, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001191/0.001191, allocations: 197.7 kB / 16.14 MB, free: 6.711 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.594/1.594, allocations: 205.1 MB / 222 MB, free: 4.742 MB / 174.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.86/1.86, allocations: 292.2 MB / 0.5484 GB, free: 13.69 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.001538/0.001538, allocations: 65.47 kB / 0.6708 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2917/0.2933, allocations: 114.5 MB / 0.7827 GB, free: 14 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.003599/0.297, allocations: 1.137 MB / 0.7838 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002113/0.2991, allocations: 1.367 MB / 0.7851 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.953e-05/0.2992, allocations: 0 / 0.7851 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001674/0.2994, allocations: 7.875 kB / 0.7851 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.458e-05/0.2995, allocations: 35.7 kB / 0.7852 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008458/0.3004, allocations: 252.1 kB / 0.7854 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003795/0.3008, allocations: 355.2 kB / 0.7857 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002211/0.301, allocations: 77.27 kB / 0.7858 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001607/0.3012, allocations: 123.6 kB / 0.7859 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002179/0.3014, allocations: 151.4 kB / 0.7861 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.688e-05/0.3014, allocations: 24 kB / 0.7861 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001047/0.3016, allocations: 31.98 kB / 0.7861 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.93e-05/0.3016, allocations: 51.83 kB / 0.7862 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001691/0.3018, allocations: 139.3 kB / 0.7863 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004029/0.3022, allocations: 399 kB / 0.7867 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/0.3022, allocations: 0 / 0.7867 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.002e-06/0.3022, allocations: 0 / 0.7867 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.061e-06/0.3022, allocations: 0 / 0.7867 GB, free: 9.859 MB / 0.6075 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.001225/0.3035, allocations: 0.631 MB / 0.7873 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.3035, allocations: 8.031 kB / 0.7873 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.767e-05/0.3036, allocations: 32.66 kB / 0.7873 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003649/0.304, allocations: 279.7 kB / 0.7876 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.794e-05/0.304, allocations: 16.38 kB / 0.7876 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.644e-05/0.3041, allocations: 24.38 kB / 0.7877 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006216/0.3047, allocations: 249.7 kB / 0.7879 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.3048, allocations: 192 / 0.7879 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.499e-05/0.3048, allocations: 15.92 kB / 0.7879 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.807e-06/0.3048, allocations: 4 kB / 0.7879 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007463/0.3056, allocations: 231.6 kB / 0.7881 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001435/0.307, allocations: 0.7614 MB / 0.7889 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004983/0.3075, allocations: 206.4 kB / 0.7891 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003832/0.3079, allocations: 153.1 kB / 0.7892 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.276e-05/0.308, allocations: 7.938 kB / 0.7892 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005782/0.3086, allocations: 260.9 kB / 0.7895 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=27): time 1.663e-06/0.3086, allocations: 0 / 0.7895 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of matching and sorting (n=27): time 0.001445/0.31, allocations: 0.5419 MB / 0.79 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.19e-05/0.3101, allocations: 59.39 kB / 0.7901 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002207/0.3103, allocations: 220.1 kB / 0.7903 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.287e-05/0.3104, allocations: 37.7 kB / 0.7903 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/0.3105, allocations: 140.6 kB / 0.7904 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.692e-05/0.3106, allocations: 67.09 kB / 0.7905 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001495/0.3107, allocations: 77.67 kB / 0.7906 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001578/0.3109, allocations: 334.8 kB / 0.7909 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004731/0.3114, allocations: 183.7 kB / 0.7911 GB, free: 5.129 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005391/0.3119, allocations: 232.1 kB / 0.7913 GB, free: 4.887 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008798/0.3128, allocations: 388.2 kB / 0.7917 GB, free: 4.48 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.3128, allocations: 3.938 kB / 0.7917 GB, free: 4.477 MB / 0.6075 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001137/0.314, allocations: 0.5324 MB / 0.7922 GB, free: 3.926 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.991e-05/0.314, allocations: 71.39 kB / 0.7923 GB, free: 3.844 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.3141, allocations: 4 kB / 0.7923 GB, free: 3.84 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/0.3141, allocations: 4 kB / 0.7923 GB, free: 3.836 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002953/0.3144, allocations: 59.88 kB / 0.7923 GB, free: 3.777 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.427e-06/0.3144, allocations: 0 / 0.7923 GB, free: 3.777 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004746/0.3149, allocations: 99.72 kB / 0.7924 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.716e-05/0.3149, allocations: 19.98 kB / 0.7924 GB, free: 3.66 MB / 0.6075 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.0001976/0.3151, allocations: 167.4 kB / 0.7926 GB, free: 3.488 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.983e-05/0.3152, allocations: 23.72 kB / 0.7926 GB, free: 3.465 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.92e-05/0.3153, allocations: 22.56 kB / 0.7926 GB, free: 3.445 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.263e-06/0.3153, allocations: 7.984 kB / 0.7926 GB, free: 3.438 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.697e-06/0.3153, allocations: 0 / 0.7926 GB, free: 3.438 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.3153, allocations: 0 / 0.7926 GB, free: 3.438 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001285/0.3166, allocations: 0.7831 MB / 0.7934 GB, free: 2.598 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.3166, allocations: 3.984 kB / 0.7934 GB, free: 2.594 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001997/0.3168, allocations: 43.89 kB / 0.7935 GB, free: 2.551 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.3168, allocations: 0 / 0.7935 GB, free: 2.551 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.655e-05/0.3168, allocations: 7.984 kB / 0.7935 GB, free: 2.543 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.3169, allocations: 0 / 0.7935 GB, free: 2.543 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3169, allocations: 0 / 0.7935 GB, free: 2.543 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009926/0.3179, allocations: 0.5081 MB / 0.794 GB, free: 2.02 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.776e-05/0.3179, allocations: 88.92 kB / 0.794 GB, free: 1.914 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.762e-05/0.318, allocations: 11.98 kB / 0.7941 GB, free: 1.902 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002033/0.3182, allocations: 23.97 kB / 0.7941 GB, free: 1.879 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/0.3183, allocations: 31.91 kB / 0.7941 GB, free: 1.848 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.933e-05/0.3183, allocations: 15.92 kB / 0.7941 GB, free: 1.832 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001556/0.3185, allocations: 157.6 kB / 0.7943 GB, free: 1.68 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3185, allocations: 0 / 0.7943 GB, free: 1.68 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003496/0.3189, allocations: 79.77 kB / 0.7944 GB, free: 1.602 MB / 0.6075 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.0002676/0.3191, allocations: 119.2 kB / 0.7945 GB, free: 1.477 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001138/0.3203, allocations: 0.5258 MB / 0.795 GB, free: 0.9258 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3203, allocations: 0 / 0.795 GB, free: 0.9258 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0004325/0.3207, allocations: 184.1 kB / 0.7952 GB, free: 0.7461 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004245/0.3212, allocations: 40.41 kB / 0.7952 GB, free: 0.707 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009556/0.3221, allocations: 0.5518 MB / 0.7957 GB, free: 140 kB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000306/0.3225, allocations: 0.7443 MB / 0.7965 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001211/0.3226, allocations: 37.92 kB / 0.7965 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.084e-05/0.3227, allocations: 23.44 kB / 0.7965 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of SimCode: time 2.2e-07/0.3227, allocations: 0 / 0.7965 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of Templates: time 0.007458/0.3301, allocations: 3.929 MB / 0.8004 GB, free: 11.41 MB / 0.6231 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)