Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.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.RealExtractSignal,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",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.477/2.477, allocations: 284.9 MB / 292.4 MB, free: 10.53 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.001474/0.001474, allocations: 184.9 kB / 360.6 MB, free: 7.285 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.167/2.167, allocations: 205.3 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.001196/0.001195, allocations: 85.25 kB / 0.7321 GB, free: 44.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.897e-05/2.917e-05, allocations: 4 kB / 0.8509 GB, free: 3.336 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8554/0.8555, allocations: 115.2 MB / 0.9634 GB, free: 78.68 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2429/1.098, allocations: 137.6 MB / 1.098 GB, free: 2.977 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002761/1.099, allocations: 71.47 kB / 1.098 GB, free: 2.91 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02093/1.12, allocations: 4.241 MB / 1.102 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.824e-06/1.12, allocations: 0 / 1.102 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.79e-05/1.12, allocations: 8 kB / 1.102 GB, free: 14.75 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001082/1.121, allocations: 0.5169 MB / 1.102 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.206e-05/1.121, allocations: 16.03 kB / 1.103 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001003/1.121, allocations: 22.61 kB / 1.103 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005338/1.122, allocations: 255.5 kB / 1.103 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.088e-05/1.122, allocations: 4 kB / 1.103 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001043/1.122, allocations: 12 kB / 1.103 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003165/1.122, allocations: 51.98 kB / 1.103 GB, free: 13.78 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004157/1.123, allocations: 124.5 kB / 1.103 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.827e-05/1.123, allocations: 7.938 kB / 1.103 GB, free: 13.63 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.38e-05/1.123, allocations: 3.953 kB / 1.103 GB, free: 13.63 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.674e-05/1.123, allocations: 4 kB / 1.103 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002372/1.125, allocations: 0.857 MB / 1.104 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003239/1.125, allocations: 121.1 kB / 1.104 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001805/1.126, allocations: 56.3 kB / 1.104 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.126e-05/1.126, allocations: 0 / 1.104 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003877/1.126, allocations: 151.1 kB / 1.104 GB, free: 12.31 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=11): time 2.254e-06/1.126, allocations: 0 / 1.104 GB, free: 12.31 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.0005021/1.127, allocations: 129.4 kB / 1.104 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.96e-05/1.127, allocations: 166.2 kB / 1.104 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002558/1.127, allocations: 175 kB / 1.105 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.307e-05/1.127, allocations: 33.78 kB / 1.105 GB, free: 11.76 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001435/1.127, allocations: 136.2 kB / 1.105 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.749e-05/1.127, allocations: 23.7 kB / 1.105 GB, free: 11.6 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.104e-05/1.127, allocations: 4 kB / 1.105 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001509/1.128, allocations: 326.8 kB / 1.105 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002624/1.128, allocations: 75.98 kB / 1.105 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002975/1.128, allocations: 134.1 kB / 1.105 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006081/1.129, allocations: 99.81 kB / 1.105 GB, free: 10.94 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/1.129, allocations: 0 / 1.105 GB, free: 10.94 MB / 0.7136 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001071/1.13, allocations: 269.3 kB / 1.106 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.84e-05/1.13, allocations: 75.39 kB / 1.106 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/1.13, allocations: 0 / 1.106 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.155e-05/1.13, allocations: 6.156 kB / 1.106 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003273/1.13, allocations: 44.12 kB / 1.106 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/1.13, allocations: 0 / 1.106 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008051/1.131, allocations: 103.8 kB / 1.106 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.308e-05/1.131, allocations: 19.98 kB / 1.106 GB, free: 10.41 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,$PRE.pul.booPul.y,pul.booPul.y,$whenCondition1,$whenCondition2,$PRE.pul1.booPul.y,pul1.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 11 * 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.0001491/1.131, allocations: 112.9 kB / 1.106 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003523/1.132, allocations: 141.3 kB / 1.106 GB, free: 10.15 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.048e-05/1.132, allocations: 15.81 kB / 1.106 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.153e-05/1.132, allocations: 13.56 kB / 1.106 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.819e-06/1.132, allocations: 7.984 kB / 1.106 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/1.132, allocations: 0 / 1.106 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/1.132, allocations: 288 / 1.106 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002897/1.132, allocations: 218.1 kB / 1.106 GB, free: 9.859 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.92e-06/1.132, allocations: 2.938 kB / 1.106 GB, free: 9.859 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000317/1.133, allocations: 44 kB / 1.106 GB, free: 9.816 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.005e-06/1.133, allocations: 3.984 kB / 1.106 GB, free: 9.812 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.258e-05/1.133, allocations: 7.984 kB / 1.106 GB, free: 9.805 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/1.133, allocations: 0 / 1.106 GB, free: 9.805 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/1.133, allocations: 0 / 1.106 GB, free: 9.805 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000392/1.133, allocations: 227.8 kB / 1.107 GB, free: 9.527 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.016e-05/1.133, allocations: 100.7 kB / 1.107 GB, free: 9.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.099e-05/1.133, allocations: 4 kB / 1.107 GB, free: 9.406 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002635/1.134, allocations: 31.92 kB / 1.107 GB, free: 9.375 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.118e-05/1.134, allocations: 19.36 kB / 1.107 GB, free: 9.359 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.3e-05/1.134, allocations: 7.984 kB / 1.107 GB, free: 9.352 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001616/1.134, allocations: 132.6 kB / 1.107 GB, free: 9.223 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.21e-07/1.134, allocations: 0 / 1.107 GB, free: 9.223 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004686/1.134, allocations: 52 kB / 1.107 GB, free: 9.172 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0008578/1.135, allocations: 1.052 MB / 1.108 GB, free: 8.066 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0006518/1.136, allocations: 282.7 kB / 1.108 GB, free: 7.766 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/1.136, allocations: 0 / 1.108 GB, free: 7.766 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001802/1.136, allocations: 56.42 kB / 1.108 GB, free: 7.711 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004892/1.137, allocations: 40.05 kB / 1.108 GB, free: 7.672 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000925/1.137, allocations: 276.7 kB / 1.109 GB, free: 7.352 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003536/1.138, allocations: 0.7279 MB / 1.109 GB, free: 6.598 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001528/1.138, allocations: 21.19 kB / 1.109 GB, free: 6.574 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001274/1.138, allocations: 51.42 kB / 1.109 GB, free: 6.523 MB / 0.7136 GB Notification: Performance of SimCode: time 8.92e-07/1.138, allocations: 3.938 kB / 1.109 GB, free: 6.52 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04282/1.181, allocations: 3.933 MB / 1.113 GB, free: 2.688 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000344/1.181, allocations: 151.8 kB / 1.113 GB, free: 2.5 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.534/3.716, allocations: 0 / 1.113 GB, free: 2.5 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1)