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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,fileNamePrefix="Buildings_maint_8_0_x_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/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.475/1.475, allocations: 288.4 MB / 303.6 MB, free: 8.066 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.0009662/0.0009662, allocations: 191.2 kB / 372.3 MB, free: 10.12 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.24/1.24, allocations: 205.4 MB / 0.631 GB, free: 9.801 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.0007468/0.0007468, allocations: 94.28 kB / 0.7444 GB, free: 5.711 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003852/0.0003853, allocations: 16.59 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.203/0.2034, allocations: 115.3 MB / 0.9802 GB, free: 27.24 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.001011/0.2044, allocations: 0.7325 MB / 0.9809 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001443/0.2059, allocations: 1.305 MB / 0.9822 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000105/0.206, allocations: 4 kB / 0.9822 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000108/0.2061, allocations: 11.86 kB / 0.9822 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.565e-05/0.2062, allocations: 35.72 kB / 0.9822 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006736/0.2069, allocations: 230.5 kB / 0.9825 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002852/0.2072, allocations: 323.3 kB / 0.9828 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001565/0.2074, allocations: 69.3 kB / 0.9828 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001744/0.2076, allocations: 123.6 kB / 0.9829 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000159/0.2077, allocations: 131.5 kB / 0.9831 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.519e-05/0.2078, allocations: 16 kB / 0.9831 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.782e-05/0.2079, allocations: 31.98 kB / 0.9831 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.254e-05/0.208, allocations: 43.83 kB / 0.9832 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001393/0.2081, allocations: 149.1 kB / 0.9833 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002552/0.2084, allocations: 303.5 kB / 0.9836 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.732e-06/0.2084, allocations: 7.938 kB / 0.9836 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.773e-06/0.2084, allocations: 4 kB / 0.9836 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.674e-06/0.2084, allocations: 0 / 0.9836 GB, free: 23.73 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.0009244/0.2093, allocations: 0.5802 MB / 0.9842 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.2094, allocations: 12.03 kB / 0.9842 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.963e-05/0.2094, allocations: 50.73 kB / 0.9842 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.664e-05/0.2095, allocations: 28.66 kB / 0.9843 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002802/0.2098, allocations: 283.7 kB / 0.9845 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.196e-05/0.2099, allocations: 20.36 kB / 0.9845 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.456e-05/0.2099, allocations: 20.38 kB / 0.9846 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005349/0.2105, allocations: 261.7 kB / 0.9848 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.2105, allocations: 3.938 kB / 0.9848 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.755e-05/0.2105, allocations: 11.98 kB / 0.9848 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.2105, allocations: 4 kB / 0.9848 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006278/0.2112, allocations: 271.5 kB / 0.9851 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00105/0.2122, allocations: 0.7576 MB / 0.9858 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004328/0.2127, allocations: 233.5 kB / 0.9861 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003337/0.213, allocations: 169.1 kB / 0.9862 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.139e-05/0.213, allocations: 7.938 kB / 0.9862 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004796/0.2135, allocations: 270.9 kB / 0.9865 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=27): time 2.024e-06/0.2135, allocations: 3.938 kB / 0.9865 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of matching and sorting (n=27): time 0.001201/0.2147, allocations: 0.5901 MB / 0.9871 GB, free: 20 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.46e-05/0.2148, allocations: 59.41 kB / 0.9871 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000157/0.215, allocations: 220.1 kB / 0.9873 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.896e-05/0.215, allocations: 37.7 kB / 0.9874 GB, free: 19.65 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.099e-05/0.2151, allocations: 136.5 kB / 0.9875 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.345e-05/0.2151, allocations: 67.09 kB / 0.9876 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.539e-05/0.2152, allocations: 8 kB / 0.9876 GB, free: 19.44 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.971e-05/0.2152, allocations: 342.8 kB / 0.9879 GB, free: 19.1 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004298/0.2157, allocations: 191.7 kB / 0.9881 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004305/0.2161, allocations: 248.1 kB / 0.9883 GB, free: 18.65 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007233/0.2168, allocations: 427.4 kB / 0.9887 GB, free: 18.21 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.2169, allocations: 7.938 kB / 0.9887 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001008/0.2179, allocations: 0.5594 MB / 0.9893 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.273e-05/0.2179, allocations: 67.39 kB / 0.9893 GB, free: 17.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.2179, allocations: 0 / 0.9893 GB, free: 17.54 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.218, allocations: 4 kB / 0.9893 GB, free: 17.54 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002682/0.2182, allocations: 75.88 kB / 0.9894 GB, free: 17.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.2182, allocations: 0 / 0.9894 GB, free: 17.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004733/0.2187, allocations: 115.7 kB / 0.9895 GB, free: 17.35 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.223e-05/0.2188, allocations: 19.98 kB / 0.9895 GB, free: 17.33 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.0001395/0.2189, allocations: 169 kB / 0.9897 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.088e-05/0.219, allocations: 27.7 kB / 0.9897 GB, free: 17.13 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.139e-05/0.219, allocations: 26.56 kB / 0.9898 GB, free: 17.11 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.219, allocations: 0 / 0.9898 GB, free: 17.11 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.792e-06/0.219, allocations: 0 / 0.9898 GB, free: 17.11 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.219, allocations: 7.984 kB / 0.9898 GB, free: 17.1 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001003/0.22, allocations: 0.8187 MB / 0.9906 GB, free: 16.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.2201, allocations: 0 / 0.9906 GB, free: 16.22 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002027/0.2203, allocations: 47.95 kB / 0.9906 GB, free: 16.18 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.2203, allocations: 0 / 0.9906 GB, free: 16.18 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.176e-05/0.2203, allocations: 8 kB / 0.9906 GB, free: 16.17 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.2203, allocations: 0 / 0.9906 GB, free: 16.17 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.2203, allocations: 4 kB / 0.9906 GB, free: 16.16 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008076/0.2211, allocations: 0.534 MB / 0.9911 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.707e-05/0.2212, allocations: 104.8 kB / 0.9912 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.742e-05/0.2212, allocations: 4 kB / 0.9912 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001934/0.2214, allocations: 35.95 kB / 0.9913 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.084e-05/0.2215, allocations: 27.95 kB / 0.9913 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.808e-05/0.2215, allocations: 16 kB / 0.9913 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.199e-05/0.2216, allocations: 165.5 kB / 0.9915 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2216, allocations: 0 / 0.9915 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003022/0.222, allocations: 75.91 kB / 0.9916 GB, free: 15.18 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.001018/0.223, allocations: 1.08 MB / 0.9926 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0009012/0.2239, allocations: 0.5571 MB / 0.9932 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.2239, allocations: 4 kB / 0.9932 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004185/0.2243, allocations: 196.1 kB / 0.9933 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000371/0.2247, allocations: 48.33 kB / 0.9934 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002665/0.2274, allocations: 1.859 MB / 0.9952 GB, free: 11.32 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001603/0.2276, allocations: 0.748 MB / 0.9959 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001148/0.2277, allocations: 37.94 kB / 0.996 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001065/0.2278, allocations: 67.41 kB / 0.996 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of SimCode: time 3.41e-07/0.2278, allocations: 0 / 0.996 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01618/0.244, allocations: 5.994 MB / 1.002 GB, free: 4.656 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001652/0.2442, allocations: 198.1 kB / 1.002 GB, free: 4.422 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.717/1.962, allocations: 0 / 1.002 GB, free: 4.422 MB / 0.6198 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1)