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.001304/0.001304, allocations: 101.4 kB / 15.7 MB, free: 28 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.001235/0.001235, allocations: 200.6 kB / 16.64 MB, free: 6.43 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.345/1.345, allocations: 205.1 MB / 222.5 MB, free: 4.555 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.671/1.671, 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.001529/0.00153, allocations: 73.33 kB / 0.6718 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.202/0.2036, allocations: 114.5 MB / 0.7836 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002481/0.2061, allocations: 1.077 MB / 0.7847 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001763/0.2079, allocations: 1.348 MB / 0.786 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.184e-05/0.208, allocations: 0 / 0.786 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001276/0.2082, allocations: 19.73 kB / 0.786 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.444e-05/0.2083, allocations: 39.59 kB / 0.7861 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007861/0.2091, allocations: 286.2 kB / 0.7863 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004683/0.2096, allocations: 411.2 kB / 0.7867 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002082/0.2098, allocations: 77.23 kB / 0.7868 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002306/0.21, allocations: 155.6 kB / 0.787 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002225/0.2103, allocations: 167.4 kB / 0.7871 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.832e-05/0.2103, allocations: 40 kB / 0.7872 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000102/0.2104, allocations: 47.98 kB / 0.7872 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.228e-05/0.2105, allocations: 63.83 kB / 0.7873 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001687/0.2107, allocations: 155.3 kB / 0.7874 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003921/0.2111, allocations: 427 kB / 0.7878 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2111, allocations: 0 / 0.7878 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.186e-06/0.2111, allocations: 3.984 kB / 0.7878 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.2111, allocations: 0 / 0.7878 GB, free: 8.965 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.00105/0.2122, allocations: 0.627 MB / 0.7884 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.2122, allocations: 8.031 kB / 0.7884 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.855e-05/0.2123, allocations: 50.73 kB / 0.7885 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.753e-05/0.2124, allocations: 28.66 kB / 0.7885 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003083/0.2127, allocations: 283.7 kB / 0.7888 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.952e-05/0.2127, allocations: 20.31 kB / 0.7888 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.097e-05/0.2128, allocations: 28.36 kB / 0.7888 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005562/0.2133, allocations: 234 kB / 0.7891 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.2134, allocations: 7.922 kB / 0.7891 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.772e-05/0.2134, allocations: 11.98 kB / 0.7891 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.2134, allocations: 7.938 kB / 0.7891 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006783/0.2141, allocations: 243.5 kB / 0.7893 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001151/0.2152, allocations: 0.7458 MB / 0.79 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004858/0.2157, allocations: 212.8 kB / 0.7902 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003769/0.2161, allocations: 161.1 kB / 0.7904 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.769e-05/0.2162, allocations: 0 / 0.7904 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005931/0.2168, allocations: 254.1 kB / 0.7906 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=27): time 1.643e-06/0.2168, allocations: 0 / 0.7906 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of matching and sorting (n=27): time 0.001358/0.2181, allocations: 0.544 MB / 0.7912 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.722e-05/0.2182, allocations: 59.39 kB / 0.7912 GB, free: 5.266 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002019/0.2184, allocations: 220.1 kB / 0.7914 GB, free: 5.035 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.15e-05/0.2185, allocations: 45.69 kB / 0.7915 GB, free: 4.984 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.236e-05/0.2186, allocations: 132.5 kB / 0.7916 GB, free: 4.852 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.533e-05/0.2186, allocations: 63.19 kB / 0.7917 GB, free: 4.789 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001444/0.2188, allocations: 81.67 kB / 0.7917 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.2189, allocations: 334.8 kB / 0.7921 GB, free: 4.367 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004781/0.2194, allocations: 187.7 kB / 0.7922 GB, free: 4.184 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004867/0.2199, allocations: 228.1 kB / 0.7925 GB, free: 3.945 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008168/0.2207, allocations: 393 kB / 0.7928 GB, free: 3.535 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.2207, allocations: 0 / 0.7928 GB, free: 3.535 MB / 0.6075 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001161/0.2219, allocations: 0.532 MB / 0.7934 GB, free: 2.984 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.581e-05/0.222, allocations: 72.17 kB / 0.7934 GB, free: 2.902 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.222, allocations: 0 / 0.7934 GB, free: 2.902 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.222, allocations: 4 kB / 0.7934 GB, free: 2.898 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000296/0.2223, allocations: 59.89 kB / 0.7935 GB, free: 2.84 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.2223, allocations: 4.125 kB / 0.7935 GB, free: 2.836 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004576/0.2228, allocations: 83.66 kB / 0.7936 GB, free: 2.754 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.498e-05/0.2228, allocations: 23.98 kB / 0.7936 GB, free: 2.73 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.0001735/0.223, allocations: 163.5 kB / 0.7937 GB, free: 2.562 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.109e-05/0.2231, allocations: 31.64 kB / 0.7938 GB, free: 2.531 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.937e-05/0.2231, allocations: 22.56 kB / 0.7938 GB, free: 2.512 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.2231, allocations: 4 kB / 0.7938 GB, free: 2.508 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.2231, allocations: 0 / 0.7938 GB, free: 2.508 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.022e-06/0.2231, allocations: 3.984 kB / 0.7938 GB, free: 2.504 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001296/0.2244, allocations: 0.792 MB / 0.7946 GB, free: 1.656 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.2245, allocations: 0 / 0.7946 GB, free: 1.656 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002206/0.2247, allocations: 39.89 kB / 0.7946 GB, free: 1.617 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.2247, allocations: 0 / 0.7946 GB, free: 1.617 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.732e-05/0.2247, allocations: 11.98 kB / 0.7946 GB, free: 1.605 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.2247, allocations: 0 / 0.7946 GB, free: 1.605 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.2247, allocations: 0 / 0.7946 GB, free: 1.605 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009867/0.2257, allocations: 0.4992 MB / 0.7951 GB, free: 1.09 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.671e-05/0.2258, allocations: 100.8 kB / 0.7952 GB, free: 0.9727 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.255e-05/0.2258, allocations: 8 kB / 0.7952 GB, free: 0.9648 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002104/0.2261, allocations: 31.95 kB / 0.7953 GB, free: 0.9336 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.905e-05/0.2261, allocations: 27.91 kB / 0.7953 GB, free: 0.9062 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-05/0.2262, allocations: 15.98 kB / 0.7953 GB, free: 0.8906 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001307/0.2263, allocations: 157.5 kB / 0.7954 GB, free: 0.7383 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2263, allocations: 0 / 0.7954 GB, free: 0.7383 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004443/0.2268, allocations: 71.98 kB / 0.7955 GB, free: 0.668 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.001313/0.2281, allocations: 1.056 MB / 0.7965 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001131/0.2292, allocations: 0.5224 MB / 0.7971 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.2293, allocations: 0 / 0.7971 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004313/0.2297, allocations: 192.5 kB / 0.7972 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004098/0.2301, allocations: 40.41 kB / 0.7973 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004865/0.235, allocations: 3.173 MB / 0.8004 GB, free: 11.52 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000355/0.2354, allocations: 0.7518 MB / 0.8011 GB, free: 10.74 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001583/0.2356, allocations: 41.91 kB / 0.8011 GB, free: 10.69 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001255/0.2357, allocations: 71.41 kB / 0.8012 GB, free: 10.62 MB / 0.6231 GB Notification: Performance of SimCode: time 7.02e-07/0.2357, allocations: 0 / 0.8012 GB, free: 10.62 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02263/0.2583, allocations: 6.373 MB / 0.8074 GB, free: 4.387 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.861/8.12, allocations: 7.984 kB / 0.8074 GB, free: 4.379 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)