Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.399/1.399, allocations: 249.5 MB / 257 MB, free: 6.906 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009837/0.0009837, allocations: 183.5 kB / 316.3 MB, free: 3.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.487/1.487, allocations: 205.3 MB / 0.5671 GB, free: 15.83 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000769/0.0007689, allocations: 86.42 kB / 0.6714 GB, free: 4.949 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.566e-05/2.59e-05, allocations: 8 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2454/0.2455, allocations: 106.3 MB / 0.8853 GB, free: 12.15 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.851/1.097, allocations: 132.3 MB / 1.015 GB, free: 5.07 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002452/1.097, allocations: 71.52 kB / 1.015 GB, free: 5.031 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.008232/1.105, allocations: 2.632 MB / 1.017 GB, free: 2.695 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.062e-06/1.105, allocations: 0 / 1.017 GB, free: 2.695 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.38e-05/1.105, allocations: 8 kB / 1.017 GB, free: 2.688 MB / 0.6355 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.001044/1.106, allocations: 0.5263 MB / 1.018 GB, free: 2.129 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/1.106, allocations: 8.031 kB / 1.018 GB, free: 2.121 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.76e-05/1.106, allocations: 23.72 kB / 1.018 GB, free: 2.098 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003572/1.107, allocations: 254.9 kB / 1.018 GB, free: 1.82 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.177e-05/1.107, allocations: 7.875 kB / 1.018 GB, free: 1.816 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.17e-05/1.107, allocations: 12 kB / 1.018 GB, free: 1.805 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002994/1.107, allocations: 152.4 kB / 1.018 GB, free: 1.711 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003848/1.108, allocations: 195.9 kB / 1.018 GB, free: 1.555 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/1.108, allocations: 4 kB / 1.018 GB, free: 1.551 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.473e-05/1.108, allocations: 7.734 kB / 1.018 GB, free: 1.547 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/1.108, allocations: 4 kB / 1.018 GB, free: 1.543 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001457/1.109, allocations: 0.6518 MB / 1.019 GB, free: 0.9453 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002827/1.109, allocations: 172.2 kB / 1.019 GB, free: 0.8242 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001659/1.11, allocations: 110.8 kB / 1.019 GB, free: 0.7539 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.39e-05/1.11, allocations: 4 kB / 1.019 GB, free: 0.75 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003378/1.11, allocations: 212.7 kB / 1.019 GB, free: 0.5742 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=27): time 1.963e-06/1.11, allocations: 0 / 1.019 GB, free: 0.5742 MB / 0.6355 GB Notification: Performance of matching and sorting (n=27): time 0.0005486/1.11, allocations: 313 kB / 1.02 GB, free: 340 kB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/1.111, allocations: 67.14 kB / 1.02 GB, free: 264 kB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001415/1.111, allocations: 161.1 kB / 1.02 GB, free: 112 kB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.147e-05/1.111, allocations: 25.7 kB / 1.02 GB, free: 80 kB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/1.111, allocations: 124 kB / 1.02 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.05e-05/1.111, allocations: 70.53 kB / 1.02 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.672e-05/1.111, allocations: 0 / 1.02 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001325/1.111, allocations: 326.7 kB / 1.021 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001587/1.111, allocations: 102.3 kB / 1.021 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001425/1.111, allocations: 97.92 kB / 1.021 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001308/1.112, allocations: 87.2 kB / 1.021 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/1.112, allocations: 4 kB / 1.021 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003909/1.112, allocations: 258.6 kB / 1.021 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/1.112, allocations: 4 kB / 1.021 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/1.112, allocations: 3.984 kB / 1.021 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/1.112, allocations: 4 kB / 1.021 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004426/1.112, allocations: 95.67 kB / 1.021 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/1.112, allocations: 0 / 1.021 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003125/1.113, allocations: 75.62 kB / 1.021 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.797e-05/1.113, allocations: 10.44 kB / 1.021 GB, free: 15.03 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.extIndSig.index,extIndSig.index,extIndSig.k[1],extIndSig.k[2],extIndSig.k[3],extIndSig.k[4],extIndSig.k[5],$PRE.pul.T_start,pul.T_start,$PRE.pul.count,pul.count,$PRE.pul1.T_start,pul1.T_start,$PRE.pul1.count,pul1.count,$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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * 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.0001349/1.113, allocations: 128.7 kB / 1.021 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004237/1.113, allocations: 302.5 kB / 1.022 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.338e-05/1.113, allocations: 23.7 kB / 1.022 GB, free: 14.65 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.972e-05/1.113, allocations: 26.56 kB / 1.022 GB, free: 14.63 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.224e-06/1.114, allocations: 4 kB / 1.022 GB, free: 14.63 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/1.114, allocations: 0 / 1.022 GB, free: 14.63 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/1.114, allocations: 3.984 kB / 1.022 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000713/1.114, allocations: 0.6269 MB / 1.022 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/1.114, allocations: 0 / 1.022 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003004/1.115, allocations: 67.88 kB / 1.022 GB, free: 14 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/1.115, allocations: 0 / 1.022 GB, free: 14 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.869e-05/1.115, allocations: 7.984 kB / 1.022 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/1.115, allocations: 0 / 1.022 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/1.115, allocations: 0 / 1.022 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004762/1.115, allocations: 405.4 kB / 1.023 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.328e-05/1.115, allocations: 92.86 kB / 1.023 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.963e-05/1.115, allocations: 15.42 kB / 1.023 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003237/1.116, allocations: 51.88 kB / 1.023 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001766/1.116, allocations: 50.03 kB / 1.023 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.132e-05/1.116, allocations: 12 kB / 1.023 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 8.783e-05/1.116, allocations: 130.4 kB / 1.023 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.41e-07/1.116, allocations: 0 / 1.023 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002963/1.116, allocations: 51.89 kB / 1.023 GB, free: 13.27 MB / 0.6511 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 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,extIndSig.index,extIndSig.k[1],extIndSig.k[2],extIndSig.k[3],extIndSig.k[4],extIndSig.k[5],pul.T_start,pul.count,pul1.T_start,pul1.count,extIndSig1.index,extIndSig1.k[1],extIndSig1.k[2],extIndSig1.k[3],extIndSig1.k[4],extIndSig1.k[5]) * Number of discrete states: 4 (pul1.count,pul.count,extIndSig.index,extIndSig1.index) * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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.0008118/1.117, allocations: 0.9619 MB / 1.024 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.00041/1.117, allocations: 241.3 kB / 1.024 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/1.117, allocations: 0 / 1.024 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002103/1.118, allocations: 141.1 kB / 1.024 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002953/1.118, allocations: 22.55 kB / 1.024 GB, free: 12.1 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008771/1.119, allocations: 386.1 kB / 1.025 GB, free: 11.74 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003254/1.119, allocations: 0.7433 MB / 1.026 GB, free: 10.97 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001354/1.119, allocations: 37.83 kB / 1.026 GB, free: 10.93 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001277/1.119, allocations: 55.36 kB / 1.026 GB, free: 10.91 MB / 0.6511 GB Notification: Performance of SimCode: time 6.11e-07/1.119, allocations: 4 kB / 1.026 GB, free: 10.91 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02513/1.145, allocations: 4.232 MB / 1.03 GB, free: 6.711 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002347/1.145, allocations: 157.7 kB / 1.03 GB, free: 6.52 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.816/2.961, allocations: 3.25 kB / 1.03 GB, free: 6.52 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1)