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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001384/0.001384, allocations: 108 kB / 15.6 MB, free: 132 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.001605/0.001605, allocations: 194.9 kB / 16.53 MB, free: 6.391 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.649/1.649, allocations: 205.1 MB / 222.4 MB, free: 4.578 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.787/1.787, allocations: 292.3 MB / 0.5489 GB, free: 12.87 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.001394/0.001394, allocations: 66.08 kB / 0.6716 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2571/0.2585, allocations: 114.5 MB / 0.7835 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.003185/0.2618, allocations: 1.075 MB / 0.7845 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002022/0.2638, allocations: 1.337 MB / 0.7858 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.133e-05/0.2639, allocations: 3.938 kB / 0.7858 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001319/0.2641, allocations: 23.73 kB / 0.7859 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.289e-05/0.2642, allocations: 35.64 kB / 0.7859 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007431/0.2649, allocations: 273.8 kB / 0.7862 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004374/0.2654, allocations: 411.2 kB / 0.7866 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002082/0.2656, allocations: 81.27 kB / 0.7866 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001755/0.2658, allocations: 151.6 kB / 0.7868 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001923/0.266, allocations: 155.5 kB / 0.7869 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.776e-05/0.266, allocations: 40 kB / 0.787 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001197/0.2662, allocations: 55.92 kB / 0.787 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.654e-05/0.2662, allocations: 59.83 kB / 0.7871 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001836/0.2664, allocations: 159.3 kB / 0.7872 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004039/0.2668, allocations: 419 kB / 0.7876 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.2669, allocations: 0 / 0.7876 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.352e-06/0.2669, allocations: 0 / 0.7876 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.151e-06/0.2669, allocations: 0 / 0.7876 GB, free: 9.148 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.001203/0.2681, allocations: 0.627 MB / 0.7882 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.2681, allocations: 8.031 kB / 0.7882 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.659e-05/0.2682, allocations: 54.72 kB / 0.7883 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.48e-05/0.2683, allocations: 36.66 kB / 0.7883 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003397/0.2686, allocations: 279.7 kB / 0.7886 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.289e-05/0.2687, allocations: 20.38 kB / 0.7886 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.571e-05/0.2688, allocations: 24.38 kB / 0.7886 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005883/0.2693, allocations: 241.7 kB / 0.7889 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.2694, allocations: 3.938 kB / 0.7889 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.19e-05/0.2694, allocations: 11.98 kB / 0.7889 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.2694, allocations: 4 kB / 0.7889 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007017/0.2701, allocations: 239.6 kB / 0.7891 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001259/0.2714, allocations: 0.7535 MB / 0.7899 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005253/0.2719, allocations: 210.4 kB / 0.7901 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003855/0.2723, allocations: 153.1 kB / 0.7902 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.036e-05/0.2724, allocations: 4 kB / 0.7902 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000556/0.2729, allocations: 258.1 kB / 0.7904 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=27): time 1.753e-06/0.2729, allocations: 3.938 kB / 0.7905 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of matching and sorting (n=27): time 0.00143/0.2744, allocations: 0.5401 MB / 0.791 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.927e-05/0.2744, allocations: 59.39 kB / 0.791 GB, free: 5.441 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002171/0.2746, allocations: 220.1 kB / 0.7912 GB, free: 5.211 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.646e-05/0.2747, allocations: 33.7 kB / 0.7913 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001065/0.2748, allocations: 140.5 kB / 0.7914 GB, free: 5.031 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.839e-05/0.2749, allocations: 63.19 kB / 0.7915 GB, free: 4.969 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001481/0.275, allocations: 81.61 kB / 0.7916 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.2752, allocations: 342.8 kB / 0.7919 GB, free: 4.539 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006951/0.2759, allocations: 183.7 kB / 0.7921 GB, free: 4.359 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005995/0.2765, allocations: 232.1 kB / 0.7923 GB, free: 4.117 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008408/0.2773, allocations: 393 kB / 0.7926 GB, free: 3.707 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.2774, allocations: 0 / 0.7926 GB, free: 3.707 MB / 0.6075 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001164/0.2785, allocations: 0.5243 MB / 0.7932 GB, free: 3.164 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.912e-05/0.2786, allocations: 75.39 kB / 0.7932 GB, free: 3.078 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/0.2786, allocations: 4 kB / 0.7932 GB, free: 3.074 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.2787, allocations: 0 / 0.7932 GB, free: 3.074 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003095/0.279, allocations: 59.88 kB / 0.7933 GB, free: 3.016 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.747e-06/0.279, allocations: 4 kB / 0.7933 GB, free: 3.012 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000486/0.2795, allocations: 87.66 kB / 0.7934 GB, free: 2.926 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.327e-05/0.2795, allocations: 19.98 kB / 0.7934 GB, free: 2.906 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.0002152/0.2798, allocations: 167.4 kB / 0.7936 GB, free: 2.734 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.853e-05/0.2798, allocations: 19.72 kB / 0.7936 GB, free: 2.715 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.413e-05/0.2799, allocations: 22.56 kB / 0.7936 GB, free: 2.695 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.2799, allocations: 4 kB / 0.7936 GB, free: 2.691 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.2799, allocations: 11.92 kB / 0.7936 GB, free: 2.68 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.2799, allocations: 3.984 kB / 0.7936 GB, free: 2.676 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001346/0.2812, allocations: 0.7842 MB / 0.7944 GB, free: 1.836 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.2813, allocations: 0 / 0.7944 GB, free: 1.836 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002125/0.2815, allocations: 43.95 kB / 0.7944 GB, free: 1.793 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.2815, allocations: 4 kB / 0.7944 GB, free: 1.789 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.629e-05/0.2815, allocations: 7.984 kB / 0.7944 GB, free: 1.781 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.2815, allocations: 7.938 kB / 0.7944 GB, free: 1.773 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.2815, allocations: 0 / 0.7944 GB, free: 1.773 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009597/0.2825, allocations: 0.5031 MB / 0.7949 GB, free: 1.254 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.279e-05/0.2826, allocations: 100.8 kB / 0.795 GB, free: 1.137 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.466e-05/0.2826, allocations: 7.984 kB / 0.795 GB, free: 1.129 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002032/0.2828, allocations: 19.97 kB / 0.7951 GB, free: 1.109 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.835e-05/0.2829, allocations: 27.97 kB / 0.7951 GB, free: 1.082 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.262e-05/0.283, allocations: 15.98 kB / 0.7951 GB, free: 1.066 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001434/0.2831, allocations: 165.5 kB / 0.7953 GB, free: 0.9062 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2831, allocations: 0 / 0.7953 GB, free: 0.9062 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003686/0.2835, allocations: 71.98 kB / 0.7953 GB, free: 0.8359 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.001379/0.2849, allocations: 1.052 MB / 0.7964 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001191/0.2861, allocations: 0.5614 MB / 0.7969 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.2861, allocations: 0 / 0.7969 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004411/0.2866, allocations: 192.3 kB / 0.7971 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000431/0.287, allocations: 52.56 kB / 0.7971 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005045/0.292, allocations: 3.164 MB / 0.8002 GB, free: 11.65 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000348/0.2924, allocations: 0.748 MB / 0.801 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001511/0.2926, allocations: 41.92 kB / 0.801 GB, free: 10.84 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001344/0.2927, allocations: 71.41 kB / 0.8011 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of SimCode: time 8.51e-07/0.2927, allocations: 0 / 0.8011 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0281/0.3208, allocations: 6.353 MB / 0.8073 GB, free: 4.539 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.942/8.263, allocations: 0 / 0.8073 GB, free: 4.539 MB / 0.6231 GB (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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1)