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.001466/0.001466, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002311/0.002311, allocations: 188.3 kB / 16.64 MB, free: 6.594 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.716/1.716, allocations: 205.1 MB / 222.5 MB, free: 4.559 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.913/1.913, allocations: 292.3 MB / 0.549 GB, free: 12.76 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: 68.53 kB / 0.6723 GB, free: 25.93 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3258/0.3273, allocations: 114.6 MB / 0.7841 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.004076/0.3314, allocations: 1.075 MB / 0.7852 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003381/0.3348, allocations: 1.329 MB / 0.7865 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001611/0.335, allocations: 7.938 kB / 0.7865 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002528/0.3354, allocations: 19.73 kB / 0.7865 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001231/0.3355, allocations: 43.59 kB / 0.7866 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001012/0.3365, allocations: 282 kB / 0.7868 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0007386/0.3373, allocations: 415.2 kB / 0.7872 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002637/0.3376, allocations: 73.28 kB / 0.7873 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001979/0.3378, allocations: 151.6 kB / 0.7874 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002823/0.338, allocations: 171.4 kB / 0.7876 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.188e-05/0.3381, allocations: 40 kB / 0.7876 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001149/0.3382, allocations: 51.98 kB / 0.7877 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.709e-05/0.3383, allocations: 63.83 kB / 0.7877 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001707/0.3385, allocations: 155.3 kB / 0.7879 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004778/0.339, allocations: 426.7 kB / 0.7883 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.363e-06/0.339, allocations: 0 / 0.7883 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.903e-06/0.339, allocations: 0 / 0.7883 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.634e-06/0.339, allocations: 3.938 kB / 0.7883 GB, free: 8.457 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.001337/0.3404, allocations: 0.6309 MB / 0.7889 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.3404, allocations: 12.03 kB / 0.7889 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.883e-05/0.3405, allocations: 28.66 kB / 0.789 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000386/0.3409, allocations: 279.7 kB / 0.7892 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.402e-05/0.341, allocations: 16.38 kB / 0.7892 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.844e-05/0.341, allocations: 32.3 kB / 0.7893 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005846/0.3416, allocations: 234 kB / 0.7895 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.3417, allocations: 192 / 0.7895 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.564e-05/0.3417, allocations: 19.92 kB / 0.7895 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-06/0.3417, allocations: 4 kB / 0.7895 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007198/0.3424, allocations: 239.5 kB / 0.7897 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00129/0.3437, allocations: 0.7457 MB / 0.7905 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005053/0.3443, allocations: 209.5 kB / 0.7907 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003956/0.3447, allocations: 157.1 kB / 0.7908 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.06e-05/0.3447, allocations: 3.938 kB / 0.7908 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000587/0.3453, allocations: 260.9 kB / 0.7911 GB, free: 5.434 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=27): time 2.585e-06/0.3453, allocations: 0 / 0.7911 GB, free: 5.434 MB / 0.6075 GB Notification: Performance of matching and sorting (n=27): time 0.00151/0.3468, allocations: 0.5401 MB / 0.7916 GB, free: 4.891 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.182e-05/0.3469, allocations: 63.41 kB / 0.7917 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002641/0.3472, allocations: 216.1 kB / 0.7919 GB, free: 4.59 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.796e-05/0.3472, allocations: 41.69 kB / 0.7919 GB, free: 4.543 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001442/0.3474, allocations: 128.6 kB / 0.792 GB, free: 4.414 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.207e-05/0.3475, allocations: 71.09 kB / 0.7921 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000165/0.3477, allocations: 77.67 kB / 0.7922 GB, free: 4.262 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002036/0.3479, allocations: 334.8 kB / 0.7925 GB, free: 3.926 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005338/0.3484, allocations: 191.7 kB / 0.7927 GB, free: 3.738 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006034/0.349, allocations: 228.1 kB / 0.7929 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009619/0.35, allocations: 385 kB / 0.7933 GB, free: 3.098 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/0.35, allocations: 3.938 kB / 0.7933 GB, free: 3.094 MB / 0.6075 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001316/0.3513, allocations: 0.537 MB / 0.7938 GB, free: 2.539 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.293e-05/0.3514, allocations: 67.39 kB / 0.7939 GB, free: 2.461 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/0.3515, allocations: 0 / 0.7939 GB, free: 2.461 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.136e-05/0.3515, allocations: 4 kB / 0.7939 GB, free: 2.457 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003028/0.3518, allocations: 64.02 kB / 0.7939 GB, free: 2.395 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.121e-05/0.3518, allocations: 3.984 kB / 0.7939 GB, free: 2.391 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004705/0.3523, allocations: 91.66 kB / 0.794 GB, free: 2.301 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.897e-05/0.3523, allocations: 19.98 kB / 0.794 GB, free: 2.281 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.0002164/0.3526, allocations: 167.4 kB / 0.7942 GB, free: 2.109 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.135e-05/0.3526, allocations: 27.7 kB / 0.7942 GB, free: 2.082 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.705e-05/0.3527, allocations: 22.56 kB / 0.7942 GB, free: 2.062 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.997e-06/0.3527, allocations: 4 kB / 0.7942 GB, free: 2.059 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.27e-05/0.3527, allocations: 11.86 kB / 0.7943 GB, free: 2.047 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.3527, allocations: 0 / 0.7943 GB, free: 2.047 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001392/0.3541, allocations: 0.7881 MB / 0.795 GB, free: 1.203 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.3541, allocations: 0 / 0.795 GB, free: 1.203 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001985/0.3543, allocations: 35.95 kB / 0.7951 GB, free: 1.168 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.3544, allocations: 0 / 0.7951 GB, free: 1.168 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.951e-05/0.3544, allocations: 15.92 kB / 0.7951 GB, free: 1.152 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.3544, allocations: 4 kB / 0.7951 GB, free: 1.148 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.3544, allocations: 0 / 0.7951 GB, free: 1.148 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001017/0.3554, allocations: 0.4992 MB / 0.7956 GB, free: 0.6328 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.478e-05/0.3555, allocations: 92.92 kB / 0.7957 GB, free: 0.5234 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.589e-05/0.3556, allocations: 11.98 kB / 0.7957 GB, free: 0.5117 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002031/0.3558, allocations: 23.97 kB / 0.7957 GB, free: 500 kB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001142/0.3559, allocations: 23.97 kB / 0.7957 GB, free: 476 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.305e-05/0.356, allocations: 15.98 kB / 0.7957 GB, free: 460 kB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001622/0.3561, allocations: 153.6 kB / 0.7959 GB, free: 308 kB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3562, allocations: 0 / 0.7959 GB, free: 308 kB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004215/0.3566, allocations: 83.77 kB / 0.796 GB, free: 224 kB / 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.0003348/0.3569, allocations: 123.2 kB / 0.7961 GB, free: 92 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001241/0.3582, allocations: 0.5221 MB / 0.7966 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3582, allocations: 3.938 kB / 0.7966 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004364/0.3586, allocations: 183.8 kB / 0.7968 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004278/0.3591, allocations: 45.47 kB / 0.7968 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009997/0.3601, allocations: 484.9 kB / 0.7973 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003901/0.3605, allocations: 0.7518 MB / 0.798 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001278/0.3606, allocations: 41.92 kB / 0.798 GB, free: 14 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.221e-05/0.3607, allocations: 23.44 kB / 0.7981 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of SimCode: time 7.61e-07/0.3607, allocations: 0 / 0.7981 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of Templates: time 0.009195/0.3699, allocations: 4.199 MB / 0.8022 GB, free: 9.82 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)