Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.736/1.736, allocations: 292.6 MB / 307.5 MB, free: 5.199 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.001044/0.001043, allocations: 188 kB / 377.1 MB, free: 1.508 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.843/1.843, allocations: 205.4 MB / 0.6366 GB, free: 8.594 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.000941/0.000941, allocations: 93.92 kB / 0.7509 GB, free: 63.03 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003602/0.0003603, allocations: 8 kB / 0.8749 GB, free: 11.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2638/0.2642, allocations: 116.3 MB / 0.9884 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7459/1.01, allocations: 139.5 MB / 1.125 GB, free: 35.18 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000264/1.01, allocations: 73.08 kB / 1.125 GB, free: 35.12 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01153/1.022, allocations: 4.261 MB / 1.129 GB, free: 32.12 MB / 0.7292 GB Notification: Performance of FrontEnd: time 4.568e-06/1.022, allocations: 4 kB / 1.129 GB, free: 32.12 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.689e-05/1.022, allocations: 8 kB / 1.129 GB, free: 32.11 MB / 0.7292 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.0009335/1.023, allocations: 0.5487 MB / 1.129 GB, free: 31.54 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/1.023, allocations: 12.02 kB / 1.129 GB, free: 31.52 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.748e-05/1.023, allocations: 41.94 kB / 1.129 GB, free: 31.48 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.379e-05/1.023, allocations: 26.38 kB / 1.129 GB, free: 31.45 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000243/1.023, allocations: 247.7 kB / 1.13 GB, free: 31.19 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.342e-05/1.023, allocations: 11.44 kB / 1.13 GB, free: 31.18 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.365e-05/1.024, allocations: 16 kB / 1.13 GB, free: 31.16 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004118/1.024, allocations: 188.3 kB / 1.13 GB, free: 30.99 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/1.024, allocations: 0 / 1.13 GB, free: 30.99 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.962e-05/1.024, allocations: 8.562 kB / 1.13 GB, free: 30.98 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/1.024, allocations: 0 / 1.13 GB, free: 30.98 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007696/1.025, allocations: 165.4 kB / 1.13 GB, free: 30.86 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009968/1.026, allocations: 0.904 MB / 1.131 GB, free: 30.01 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003186/1.026, allocations: 170.5 kB / 1.131 GB, free: 29.81 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.878e-05/1.026, allocations: 11.55 kB / 1.131 GB, free: 29.8 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003483/1.027, allocations: 204.2 kB / 1.131 GB, free: 29.61 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=11): time 1.603e-06/1.027, allocations: 0 / 1.131 GB, free: 29.61 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11): time 0.0009712/1.028, allocations: 330.2 kB / 1.132 GB, free: 29.34 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.156e-05/1.028, allocations: 158.4 kB / 1.132 GB, free: 29.15 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001525/1.028, allocations: 184.3 kB / 1.132 GB, free: 28.98 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.804e-05/1.028, allocations: 29.7 kB / 1.132 GB, free: 28.94 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.726e-05/1.028, allocations: 131.2 kB / 1.132 GB, free: 28.81 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.996e-05/1.028, allocations: 35.25 kB / 1.132 GB, free: 28.78 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.049e-05/1.028, allocations: 4 kB / 1.132 GB, free: 28.78 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.699e-05/1.028, allocations: 330.4 kB / 1.132 GB, free: 28.45 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000334/1.028, allocations: 137.1 kB / 1.133 GB, free: 28.34 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004809/1.029, allocations: 191.6 kB / 1.133 GB, free: 28.15 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004177/1.029, allocations: 197.9 kB / 1.133 GB, free: 27.96 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/1.029, allocations: 0 / 1.133 GB, free: 27.96 MB / 0.7292 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001055/1.03, allocations: 437 kB / 1.133 GB, free: 27.57 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 5.272e-05/1.03, allocations: 67.91 kB / 1.133 GB, free: 27.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/1.03, allocations: 4.562 kB / 1.133 GB, free: 27.5 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/1.03, allocations: 4 kB / 1.133 GB, free: 27.49 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002983/1.031, allocations: 35.72 kB / 1.134 GB, free: 27.46 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/1.031, allocations: 8.281 kB / 1.134 GB, free: 27.46 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005325/1.031, allocations: 104.5 kB / 1.134 GB, free: 27.38 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.199e-05/1.031, allocations: 15.61 kB / 1.134 GB, free: 27.37 MB / 0.7292 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 () * Number of clocked 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.0001576/1.032, allocations: 150 kB / 1.134 GB, free: 27.21 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.916e-05/1.032, allocations: 15.81 kB / 1.134 GB, free: 27.2 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.352e-05/1.032, allocations: 22.38 kB / 1.134 GB, free: 27.18 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.631e-05/1.032, allocations: 8 kB / 1.134 GB, free: 27.18 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.894e-06/1.032, allocations: 4.688 kB / 1.134 GB, free: 27.17 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.563e-06/1.032, allocations: 4 kB / 1.134 GB, free: 27.17 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002255/1.032, allocations: 251.9 kB / 1.134 GB, free: 26.91 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/1.032, allocations: 0 / 1.134 GB, free: 26.91 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002023/1.032, allocations: 30.38 kB / 1.134 GB, free: 26.88 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.023e-06/1.032, allocations: 5.781 kB / 1.134 GB, free: 26.88 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.685e-05/1.032, allocations: 5.406 kB / 1.134 GB, free: 26.88 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/1.032, allocations: 8.641 kB / 1.134 GB, free: 26.87 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/1.032, allocations: 0 / 1.134 GB, free: 26.87 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008258/1.033, allocations: 326.8 kB / 1.134 GB, free: 26.53 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.644e-05/1.033, allocations: 94.09 kB / 1.135 GB, free: 26.42 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.237e-05/1.033, allocations: 5.312 kB / 1.135 GB, free: 26.42 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001906/1.033, allocations: 31.78 kB / 1.135 GB, free: 26.39 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.174e-05/1.033, allocations: 21.14 kB / 1.135 GB, free: 26.38 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.611e-05/1.033, allocations: 5.297 kB / 1.135 GB, free: 26.38 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001243/1.034, allocations: 155.8 kB / 1.135 GB, free: 26.24 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.001e-06/1.034, allocations: 0 / 1.135 GB, free: 26.24 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003584/1.034, allocations: 63.78 kB / 1.135 GB, free: 26.18 MB / 0.7292 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 () * Number of clocked 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.001382/1.035, allocations: 1.146 MB / 1.136 GB, free: 25.02 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.00106/1.036, allocations: 410 kB / 1.136 GB, free: 24.64 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/1.036, allocations: 0 / 1.136 GB, free: 24.64 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002822/1.037, allocations: 109.5 kB / 1.136 GB, free: 24.55 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002915/1.037, allocations: 44.8 kB / 1.136 GB, free: 24.52 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009754/1.038, allocations: 1.834 MB / 1.138 GB, free: 22.64 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001599/1.038, allocations: 0.7326 MB / 1.139 GB, free: 21.9 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 9.333e-05/1.038, allocations: 22.75 kB / 1.139 GB, free: 21.89 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.857e-05/1.038, allocations: 48.78 kB / 1.139 GB, free: 21.84 MB / 0.7292 GB Notification: Performance of SimCode: time 6.61e-07/1.038, allocations: 0 / 1.139 GB, free: 21.84 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0173/1.056, allocations: 4.425 MB / 1.143 GB, free: 19.43 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00021/1.056, allocations: 193.7 kB / 1.144 GB, free: 19.19 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.746/2.802, allocations: 0 / 1.144 GB, free: 19.19 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1)