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.618/1.618, allocations: 285.6 MB / 293.1 MB, free: 10.29 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.001186/0.001185, allocations: 176.9 kB / 361.4 MB, free: 6.867 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.652/1.652, allocations: 205.2 MB / 0.62 GB, free: 11.64 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007876/0.0007876, allocations: 89.61 kB / 0.733 GB, free: 44.2 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.525e-05/2.541e-05, allocations: 4 kB / 0.8518 GB, free: 2.641 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5749/0.575, allocations: 115.3 MB / 0.9645 GB, free: 78.75 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1512/0.7262, allocations: 138 MB / 1.099 GB, free: 1.762 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001572/0.7264, allocations: 72.64 kB / 1.099 GB, free: 1.691 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01319/0.7396, allocations: 4.805 MB / 1.104 GB, free: 12.97 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.084e-06/0.7396, allocations: 4 kB / 1.104 GB, free: 12.97 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.288e-05/0.7396, allocations: 7.938 kB / 1.104 GB, free: 12.96 MB / 0.7136 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.0008408/0.7405, allocations: 0.5663 MB / 1.105 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.7405, allocations: 12.03 kB / 1.105 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.277e-05/0.7406, allocations: 28.75 kB / 1.105 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004075/0.741, allocations: 290.6 kB / 1.105 GB, free: 11.97 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.129e-05/0.741, allocations: 12 kB / 1.105 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.548e-05/0.7411, allocations: 25.25 kB / 1.105 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002876/0.7414, allocations: 153.1 kB / 1.105 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002968/0.7417, allocations: 193 kB / 1.105 GB, free: 11.6 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.7417, allocations: 0 / 1.105 GB, free: 11.6 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.785e-05/0.7418, allocations: 11.98 kB / 1.105 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.888e-06/0.7418, allocations: 4 kB / 1.105 GB, free: 11.58 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001229/0.743, allocations: 0.7216 MB / 1.106 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002443/0.7433, allocations: 166.8 kB / 1.106 GB, free: 10.65 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001487/0.7434, allocations: 102.3 kB / 1.106 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.289e-05/0.7435, allocations: 8.172 kB / 1.106 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003235/0.7438, allocations: 201.1 kB / 1.106 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=27): time 1.954e-06/0.7438, allocations: 0 / 1.106 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of matching and sorting (n=27): time 0.0005113/0.7443, allocations: 325.7 kB / 1.107 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.1e-05/0.7444, allocations: 59.39 kB / 1.107 GB, free: 9.938 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001516/0.7445, allocations: 174.1 kB / 1.107 GB, free: 9.762 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.028e-05/0.7446, allocations: 29.7 kB / 1.107 GB, free: 9.727 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.429e-05/0.7447, allocations: 136.6 kB / 1.107 GB, free: 9.59 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.544e-05/0.7447, allocations: 71.05 kB / 1.107 GB, free: 9.52 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.706e-05/0.7448, allocations: 4 kB / 1.107 GB, free: 9.516 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.7449, allocations: 334.8 kB / 1.107 GB, free: 9.18 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002201/0.7451, allocations: 136 kB / 1.108 GB, free: 9.047 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002453/0.7454, allocations: 172.1 kB / 1.108 GB, free: 8.863 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003892/0.7458, allocations: 148.7 kB / 1.108 GB, free: 8.719 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.7458, allocations: 0 / 1.108 GB, free: 8.719 MB / 0.7136 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0007509/0.7466, allocations: 389.9 kB / 1.108 GB, free: 8.332 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.06e-05/0.7466, allocations: 71.39 kB / 1.108 GB, free: 8.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.7466, allocations: 1.875 kB / 1.108 GB, free: 8.25 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.7466, allocations: 4 kB / 1.108 GB, free: 8.246 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002963/0.7469, allocations: 68.02 kB / 1.108 GB, free: 8.18 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.747, allocations: 4 kB / 1.108 GB, free: 8.176 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004611/0.7474, allocations: 99.81 kB / 1.109 GB, free: 8.078 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.326e-05/0.7475, allocations: 23.98 kB / 1.109 GB, free: 8.055 MB / 0.7136 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 () * 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.0001214/0.7476, allocations: 135.1 kB / 1.109 GB, free: 7.918 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004261/0.748, allocations: 313.7 kB / 1.109 GB, free: 7.605 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.434e-05/0.7481, allocations: 27.7 kB / 1.109 GB, free: 7.578 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.964e-05/0.7481, allocations: 27.17 kB / 1.109 GB, free: 7.551 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.7482, allocations: 0 / 1.109 GB, free: 7.551 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.7482, allocations: 4 kB / 1.109 GB, free: 7.547 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.7482, allocations: 0 / 1.109 GB, free: 7.547 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006815/0.7489, allocations: 0.6603 MB / 1.11 GB, free: 6.844 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.7489, allocations: 5.5 kB / 1.11 GB, free: 6.84 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002134/0.7491, allocations: 39.97 kB / 1.11 GB, free: 6.801 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.156e-06/0.7491, allocations: 8.672 kB / 1.11 GB, free: 6.793 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.057e-05/0.7491, allocations: 3.938 kB / 1.11 GB, free: 6.789 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/0.7491, allocations: 4 kB / 1.11 GB, free: 6.785 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.7492, allocations: 0 / 1.11 GB, free: 6.785 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004635/0.7496, allocations: 415.1 kB / 1.11 GB, free: 6.363 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.776e-05/0.7497, allocations: 104.8 kB / 1.11 GB, free: 6.242 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.96e-05/0.7497, allocations: 3 kB / 1.11 GB, free: 6.242 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002141/0.75, allocations: 35.95 kB / 1.11 GB, free: 6.207 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.38e-05/0.75, allocations: 27.95 kB / 1.11 GB, free: 6.18 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.258e-05/0.7501, allocations: 12 kB / 1.11 GB, free: 6.168 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.000107/0.7502, allocations: 148.6 kB / 1.11 GB, free: 6.023 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7502, allocations: 0 / 1.11 GB, free: 6.023 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.00032/0.7505, allocations: 67.84 kB / 1.111 GB, free: 5.957 MB / 0.7136 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) * 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.0007802/0.7513, allocations: 0.9742 MB / 1.111 GB, free: 4.957 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0005594/0.7519, allocations: 441.6 kB / 1.112 GB, free: 4.504 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.7519, allocations: 0 / 1.112 GB, free: 4.504 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001937/0.7521, allocations: 139.8 kB / 1.112 GB, free: 4.367 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003076/0.7524, allocations: 43.08 kB / 1.112 GB, free: 4.328 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007999/0.7532, allocations: 415.1 kB / 1.112 GB, free: 3.887 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002439/0.7535, allocations: 0.7557 MB / 1.113 GB, free: 3.105 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001206/0.7536, allocations: 34.06 kB / 1.113 GB, free: 3.074 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001105/0.7537, allocations: 71.41 kB / 1.113 GB, free: 3.004 MB / 0.7136 GB Notification: Performance of SimCode: time 3.41e-07/0.7537, allocations: 0 / 1.113 GB, free: 3.004 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4099/1.164, allocations: 5.341 MB / 1.119 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002378/1.164, allocations: 166.1 kB / 1.119 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.851/3.015, allocations: 0 / 1.119 GB, free: 13.59 MB / 0.7292 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)