Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0/package.mo): time 2.415/2.415, allocations: 284.9 MB / 292.4 MB, free: 10.59 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.001405/0.001405, allocations: 168.9 kB / 360.6 MB, free: 7.273 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.157/2.157, allocations: 205.2 MB / 0.6191 GB, free: 12.2 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.001101/0.001101, allocations: 91.83 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.86e-05/2.871e-05, allocations: 4 kB / 0.8509 GB, free: 3.309 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8544/0.8544, allocations: 115.3 MB / 0.9634 GB, free: 78.4 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2413/1.096, allocations: 137.8 MB / 1.098 GB, free: 2.574 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002745/1.096, allocations: 72.77 kB / 1.098 GB, free: 2.504 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02344/1.12, allocations: 4.808 MB / 1.103 GB, free: 13.78 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.473e-06/1.12, allocations: 0 / 1.103 GB, free: 13.78 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.958e-05/1.12, allocations: 9.344 kB / 1.103 GB, free: 13.77 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.001304/1.121, allocations: 0.5714 MB / 1.103 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/1.121, allocations: 12.03 kB / 1.103 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001286/1.121, allocations: 28.92 kB / 1.103 GB, free: 13.1 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006316/1.122, allocations: 286.7 kB / 1.104 GB, free: 12.78 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.299e-05/1.122, allocations: 11.98 kB / 1.104 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001001/1.122, allocations: 20 kB / 1.104 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004748/1.123, allocations: 155.9 kB / 1.104 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005367/1.123, allocations: 185.3 kB / 1.104 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/1.123, allocations: 0 / 1.104 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.392e-05/1.123, allocations: 8 kB / 1.104 GB, free: 12.4 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/1.123, allocations: 4 kB / 1.104 GB, free: 12.4 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001999/1.125, allocations: 0.7216 MB / 1.105 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003991/1.126, allocations: 166.8 kB / 1.105 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002635/1.126, allocations: 101.2 kB / 1.105 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.962e-05/1.126, allocations: 4.844 kB / 1.105 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005029/1.126, allocations: 209.1 kB / 1.105 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=27): time 3.707e-06/1.126, allocations: 0 / 1.105 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of matching and sorting (n=27): time 0.0009145/1.127, allocations: 325.7 kB / 1.105 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.988e-05/1.127, allocations: 55.41 kB / 1.106 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002486/1.128, allocations: 182 kB / 1.106 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.929e-05/1.128, allocations: 29.7 kB / 1.106 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001516/1.128, allocations: 137.6 kB / 1.106 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 9.435e-05/1.128, allocations: 71.05 kB / 1.106 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.179e-05/1.128, allocations: 8 kB / 1.106 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001433/1.128, allocations: 330.8 kB / 1.106 GB, free: 9.988 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003942/1.129, allocations: 136 kB / 1.106 GB, free: 9.855 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004263/1.129, allocations: 168.2 kB / 1.107 GB, free: 9.676 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006674/1.13, allocations: 144.4 kB / 1.107 GB, free: 9.535 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-05/1.13, allocations: 7.953 kB / 1.107 GB, free: 9.527 MB / 0.7136 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.00133/1.131, allocations: 381.9 kB / 1.107 GB, free: 9.148 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.332e-05/1.131, allocations: 71.39 kB / 1.107 GB, free: 9.066 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.986e-06/1.131, allocations: 3 kB / 1.107 GB, free: 9.066 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/1.131, allocations: 4 kB / 1.107 GB, free: 9.062 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005748/1.132, allocations: 76 kB / 1.107 GB, free: 8.988 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/1.132, allocations: 0 / 1.107 GB, free: 8.988 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008883/1.133, allocations: 103.8 kB / 1.107 GB, free: 8.887 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.019e-05/1.133, allocations: 19.98 kB / 1.107 GB, free: 8.867 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.0001942/1.133, allocations: 138.4 kB / 1.107 GB, free: 8.727 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007518/1.134, allocations: 313.7 kB / 1.108 GB, free: 8.414 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.651e-05/1.134, allocations: 23.72 kB / 1.108 GB, free: 8.391 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.511e-05/1.134, allocations: 27.17 kB / 1.108 GB, free: 8.363 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.264e-06/1.134, allocations: 4 kB / 1.108 GB, free: 8.359 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.77e-06/1.134, allocations: 2.938 kB / 1.108 GB, free: 8.359 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/1.134, allocations: 0 / 1.108 GB, free: 8.359 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001199/1.135, allocations: 0.6632 MB / 1.108 GB, free: 7.656 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/1.135, allocations: 4 kB / 1.108 GB, free: 7.652 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003935/1.136, allocations: 35.97 kB / 1.109 GB, free: 7.617 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.787e-06/1.136, allocations: 4 kB / 1.109 GB, free: 7.613 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.492e-05/1.136, allocations: 3.984 kB / 1.109 GB, free: 7.609 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.598e-06/1.136, allocations: 7.938 kB / 1.109 GB, free: 7.602 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/1.136, allocations: 7.984 kB / 1.109 GB, free: 7.594 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007959/1.137, allocations: 411.1 kB / 1.109 GB, free: 7.176 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.06e-05/1.137, allocations: 100.8 kB / 1.109 GB, free: 7.059 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.052e-05/1.137, allocations: 3.984 kB / 1.109 GB, free: 7.055 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003878/1.137, allocations: 35.97 kB / 1.109 GB, free: 7.02 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001219/1.137, allocations: 27.95 kB / 1.109 GB, free: 6.992 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.025e-05/1.137, allocations: 11.98 kB / 1.109 GB, free: 6.98 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001636/1.138, allocations: 144.6 kB / 1.109 GB, free: 6.84 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.31e-07/1.138, allocations: 0 / 1.109 GB, free: 6.84 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0005442/1.138, allocations: 71.83 kB / 1.109 GB, free: 6.77 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.001229/1.139, allocations: 0.9666 MB / 1.11 GB, free: 5.777 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0009681/1.14, allocations: 442.7 kB / 1.111 GB, free: 5.32 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/1.14, allocations: 0 / 1.111 GB, free: 5.32 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0003427/1.141, allocations: 137.1 kB / 1.111 GB, free: 5.188 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005203/1.141, allocations: 46.53 kB / 1.111 GB, free: 5.145 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001308/1.143, allocations: 416.9 kB / 1.111 GB, free: 4.703 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004187/1.143, allocations: 0.7557 MB / 1.112 GB, free: 3.922 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0002227/1.143, allocations: 38.05 kB / 1.112 GB, free: 3.887 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001995/1.143, allocations: 67.41 kB / 1.112 GB, free: 3.82 MB / 0.7136 GB Notification: Performance of SimCode: time 7.61e-07/1.143, allocations: 4 kB / 1.112 GB, free: 3.816 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05328/1.197, allocations: 5.339 MB / 1.117 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002135/1.197, allocations: 159.4 kB / 1.117 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.698/3.895, allocations: 0 / 1.117 GB, free: 14.41 MB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1)