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.909/1.909, allocations: 288.4 MB / 303.3 MB, free: 8.027 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.00122/0.001219, allocations: 188.5 kB / 372 MB, free: 10.25 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.71/1.71, allocations: 205.4 MB / 0.6307 GB, free: 9.977 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.0009761/0.0009762, allocations: 93.2 kB / 0.744 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003711/0.0003713, allocations: 12.09 kB / 0.867 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1905/0.1909, allocations: 115.3 MB / 0.9796 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.00124/0.1922, allocations: 0.7286 MB / 0.9804 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001609/0.1938, allocations: 1.305 MB / 0.9816 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001627/0.194, allocations: 4 kB / 0.9816 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001413/0.1942, allocations: 7.875 kB / 0.9816 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000145/0.1943, allocations: 39.69 kB / 0.9817 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009245/0.1953, allocations: 234.3 kB / 0.9819 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003517/0.1956, allocations: 327.2 kB / 0.9822 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001638/0.1958, allocations: 69 kB / 0.9823 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001745/0.196, allocations: 111.7 kB / 0.9824 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001613/0.1961, allocations: 135.5 kB / 0.9825 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.011e-05/0.1962, allocations: 12 kB / 0.9825 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.263e-05/0.1963, allocations: 31.98 kB / 0.9826 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.661e-05/0.1964, allocations: 43.83 kB / 0.9826 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.176e-05/0.1964, allocations: 69.58 kB / 0.9827 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000246/0.1967, allocations: 315.5 kB / 0.983 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1967, allocations: 3.938 kB / 0.983 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.683e-06/0.1967, allocations: 0 / 0.983 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.165e-06/0.1967, allocations: 0 / 0.983 GB, free: 24.12 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.0009314/0.1977, allocations: 0.5878 MB / 0.9835 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.1977, allocations: 12.02 kB / 0.9836 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.751e-05/0.1978, allocations: 50.55 kB / 0.9836 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.422e-05/0.1979, allocations: 31.7 kB / 0.9836 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002803/0.1982, allocations: 270.5 kB / 0.9839 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.629e-05/0.1982, allocations: 27.98 kB / 0.9839 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.679e-05/0.1983, allocations: 23.94 kB / 0.9839 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005357/0.1988, allocations: 253.5 kB / 0.9842 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.1988, allocations: 4 kB / 0.9842 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.617e-05/0.1989, allocations: 8 kB / 0.9842 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.1989, allocations: 4 kB / 0.9842 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006556/0.1995, allocations: 267.3 kB / 0.9845 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001098/0.2006, allocations: 0.777 MB / 0.9852 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004423/0.2011, allocations: 223 kB / 0.9854 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003709/0.2015, allocations: 173.1 kB / 0.9856 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.817e-05/0.2015, allocations: 192 / 0.9856 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004875/0.202, allocations: 271 kB / 0.9859 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=27): time 2.245e-06/0.202, allocations: 3.938 kB / 0.9859 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=27): time 0.001248/0.2033, allocations: 0.5865 MB / 0.9864 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.443e-05/0.2033, allocations: 59.41 kB / 0.9865 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001477/0.2035, allocations: 224.1 kB / 0.9867 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.028e-05/0.2035, allocations: 37.7 kB / 0.9867 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.826e-05/0.2036, allocations: 136.6 kB / 0.9869 GB, free: 19.9 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.242e-05/0.2036, allocations: 67.11 kB / 0.9869 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.687e-05/0.2037, allocations: 8 kB / 0.9869 GB, free: 19.83 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.487e-05/0.2037, allocations: 334.8 kB / 0.9873 GB, free: 19.49 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004317/0.2042, allocations: 199.9 kB / 0.9874 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004388/0.2046, allocations: 248.1 kB / 0.9877 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004233/0.205, allocations: 247.3 kB / 0.9879 GB, free: 18.79 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.205, allocations: 3.938 kB / 0.9879 GB, free: 18.78 MB / 0.6198 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001022/0.2061, allocations: 0.5669 MB / 0.9885 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.775e-05/0.2061, allocations: 67.39 kB / 0.9885 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.2061, allocations: 4 kB / 0.9885 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.2062, allocations: 0 / 0.9885 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002771/0.2064, allocations: 63.95 kB / 0.9886 GB, free: 18.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.2065, allocations: 15.92 kB / 0.9886 GB, free: 18.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004829/0.2069, allocations: 113.4 kB / 0.9887 GB, free: 17.93 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.049e-05/0.207, allocations: 23.98 kB / 0.9888 GB, free: 17.9 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.0001386/0.2071, allocations: 165 kB / 0.9889 GB, free: 17.73 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.15e-05/0.2072, allocations: 27.66 kB / 0.9889 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.19e-05/0.2072, allocations: 26.55 kB / 0.989 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.2072, allocations: 4 kB / 0.989 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.2072, allocations: 0 / 0.989 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.2072, allocations: 0 / 0.989 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001026/0.2083, allocations: 0.8187 MB / 0.9898 GB, free: 16.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.2083, allocations: 4 kB / 0.9898 GB, free: 16.8 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001973/0.2085, allocations: 43.91 kB / 0.9898 GB, free: 16.75 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.2085, allocations: 4 kB / 0.9898 GB, free: 16.75 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.056e-05/0.2085, allocations: 7.984 kB / 0.9898 GB, free: 16.74 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.2085, allocations: 4 kB / 0.9898 GB, free: 16.74 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.2085, allocations: 4 kB / 0.9898 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008252/0.2094, allocations: 0.5225 MB / 0.9903 GB, free: 16.2 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.168e-05/0.2094, allocations: 100.8 kB / 0.9904 GB, free: 16.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.691e-05/0.2095, allocations: 3.984 kB / 0.9904 GB, free: 16.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002026/0.2097, allocations: 35.97 kB / 0.9905 GB, free: 16.04 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.033e-05/0.2098, allocations: 31.94 kB / 0.9905 GB, free: 16.01 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.858e-05/0.2098, allocations: 15.98 kB / 0.9905 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.203e-05/0.2099, allocations: 157.6 kB / 0.9907 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2099, allocations: 0 / 0.9907 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002936/0.2102, allocations: 79.83 kB / 0.9907 GB, free: 15.76 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.00104/0.2112, allocations: 1.091 MB / 0.9918 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0009367/0.2122, allocations: 0.5571 MB / 0.9924 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2122, allocations: 0 / 0.9924 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003897/0.2126, allocations: 196.1 kB / 0.9925 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000375/0.213, allocations: 52.34 kB / 0.9926 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002782/0.2158, allocations: 1.867 MB / 0.9944 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001333/0.2159, allocations: 0.7482 MB / 0.9951 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001274/0.2161, allocations: 41.92 kB / 0.9952 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001032/0.2162, allocations: 67.41 kB / 0.9952 GB, free: 11.01 MB / 0.6198 GB Notification: Performance of SimCode: time 3.3e-07/0.2162, allocations: 0 / 0.9952 GB, free: 11.01 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01552/0.2317, allocations: 5.948 MB / 1.001 GB, free: 5.27 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001457/0.2319, allocations: 199.4 kB / 1.001 GB, free: 5.035 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.81/2.042, allocations: 4 kB / 1.001 GB, free: 5.031 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)