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.767/1.767, allocations: 289.7 MB / 302.2 MB, free: 2.176 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.001061/0.001061, allocations: 176.9 kB / 371.6 MB, free: 3.402 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.485/1.485, allocations: 205.2 MB / 0.6309 GB, free: 11.74 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.0008362/0.0008362, allocations: 98.23 kB / 0.745 GB, free: 54.64 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.242e-05/4.246e-05, allocations: 4 kB / 0.8663 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2643/0.2644, allocations: 116.3 MB / 0.9799 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.837/1.101, allocations: 139.4 MB / 1.116 GB, free: 44.45 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002415/1.102, allocations: 74 kB / 1.116 GB, free: 44.42 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.0117/1.113, allocations: 4.254 MB / 1.12 GB, free: 42 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.703e-06/1.114, allocations: 0 / 1.12 GB, free: 42 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.305e-05/1.114, allocations: 4 kB / 1.12 GB, free: 42 MB / 0.7448 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.0006356/1.114, allocations: 0.5232 MB / 1.121 GB, free: 41.47 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/1.114, allocations: 8.031 kB / 1.121 GB, free: 41.46 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.072e-05/1.114, allocations: 41.86 kB / 1.121 GB, free: 41.42 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.098e-05/1.114, allocations: 25.44 kB / 1.121 GB, free: 41.4 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003008/1.115, allocations: 241.1 kB / 1.121 GB, free: 41.16 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.314e-05/1.115, allocations: 15.08 kB / 1.121 GB, free: 41.15 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.98e-05/1.115, allocations: 14.44 kB / 1.121 GB, free: 41.14 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002098/1.115, allocations: 134.4 kB / 1.121 GB, free: 41.03 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/1.115, allocations: 0 / 1.121 GB, free: 41.03 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.671e-05/1.115, allocations: 6.828 kB / 1.121 GB, free: 41.03 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/1.115, allocations: 7.953 kB / 1.121 GB, free: 41.02 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001236/1.115, allocations: 66.56 kB / 1.121 GB, free: 40.98 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009189/1.116, allocations: 0.8935 MB / 1.122 GB, free: 40.24 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001341/1.116, allocations: 131.7 kB / 1.122 GB, free: 40.08 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.442e-05/1.116, allocations: 55.17 kB / 1.122 GB, free: 40.03 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.844e-05/1.116, allocations: 4 kB / 1.122 GB, free: 40.02 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001922/1.117, allocations: 146 kB / 1.122 GB, free: 39.89 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=11): time 1.152e-06/1.117, allocations: 0 / 1.122 GB, free: 39.89 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11): time 0.0003068/1.117, allocations: 150.2 kB / 1.123 GB, free: 39.77 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.674e-05/1.117, allocations: 161.7 kB / 1.123 GB, free: 39.58 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001575/1.117, allocations: 177.6 kB / 1.123 GB, free: 39.44 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.133e-05/1.117, allocations: 29.7 kB / 1.123 GB, free: 39.4 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.432e-05/1.117, allocations: 132.3 kB / 1.123 GB, free: 39.3 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.829e-05/1.117, allocations: 31.27 kB / 1.123 GB, free: 39.27 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.007e-05/1.117, allocations: 4 kB / 1.123 GB, free: 39.27 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.316e-05/1.117, allocations: 333.2 kB / 1.123 GB, free: 38.95 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001559/1.118, allocations: 82.8 kB / 1.124 GB, free: 38.9 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001842/1.118, allocations: 142.1 kB / 1.124 GB, free: 38.77 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001925/1.118, allocations: 148.1 kB / 1.124 GB, free: 38.66 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/1.118, allocations: 0.75 kB / 1.124 GB, free: 38.66 MB / 0.7448 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004871/1.118, allocations: 324.4 kB / 1.124 GB, free: 38.41 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 6.45e-05/1.118, allocations: 78.09 kB / 1.124 GB, free: 38.34 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/1.119, allocations: 0 / 1.124 GB, free: 38.34 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.94e-05/1.119, allocations: 4 kB / 1.124 GB, free: 38.33 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001998/1.119, allocations: 42.06 kB / 1.124 GB, free: 38.3 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/1.119, allocations: 0 / 1.124 GB, free: 38.3 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004195/1.119, allocations: 115.7 kB / 1.124 GB, free: 38.21 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.982e-05/1.119, allocations: 16.09 kB / 1.124 GB, free: 38.21 MB / 0.7448 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 9.432e-05/1.119, allocations: 121.9 kB / 1.124 GB, free: 38.09 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.637e-05/1.119, allocations: 15.81 kB / 1.125 GB, free: 38.07 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.066e-05/1.119, allocations: 23 kB / 1.125 GB, free: 38.05 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/1.119, allocations: 0 / 1.125 GB, free: 38.05 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.772e-06/1.119, allocations: 4 kB / 1.125 GB, free: 38.05 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.283e-06/1.119, allocations: 6.828 kB / 1.125 GB, free: 38.05 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000205/1.12, allocations: 250.5 kB / 1.125 GB, free: 37.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/1.12, allocations: 0 / 1.125 GB, free: 37.82 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001494/1.12, allocations: 34.98 kB / 1.125 GB, free: 37.79 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.646e-06/1.12, allocations: 0.5 kB / 1.125 GB, free: 37.79 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.813e-05/1.12, allocations: 11.28 kB / 1.125 GB, free: 37.79 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/1.12, allocations: 0 / 1.125 GB, free: 37.79 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.524e-06/1.12, allocations: 12.62 kB / 1.125 GB, free: 37.77 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002527/1.12, allocations: 226 kB / 1.125 GB, free: 37.54 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.926e-05/1.12, allocations: 98.03 kB / 1.125 GB, free: 37.43 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.629e-05/1.12, allocations: 3.281 kB / 1.125 GB, free: 37.43 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001451/1.12, allocations: 34.2 kB / 1.125 GB, free: 37.4 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.059e-05/1.12, allocations: 18.77 kB / 1.125 GB, free: 37.39 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.493e-05/1.121, allocations: 12.45 kB / 1.125 GB, free: 37.38 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001039/1.121, allocations: 142.5 kB / 1.125 GB, free: 37.27 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.41e-07/1.121, allocations: 1.031 kB / 1.125 GB, free: 37.27 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002612/1.121, allocations: 51.41 kB / 1.125 GB, free: 37.22 MB / 0.7448 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.0005418/1.121, allocations: 1.055 MB / 1.126 GB, free: 36.16 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003935/1.122, allocations: 306.7 kB / 1.127 GB, free: 35.92 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/1.122, allocations: 0 / 1.127 GB, free: 35.92 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001019/1.122, allocations: 51.58 kB / 1.127 GB, free: 35.88 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002769/1.122, allocations: 40.77 kB / 1.127 GB, free: 35.86 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006188/1.123, allocations: 297.1 kB / 1.127 GB, free: 35.59 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002117/1.123, allocations: 0.7315 MB / 1.128 GB, free: 34.85 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 8.184e-05/1.123, allocations: 21.52 kB / 1.128 GB, free: 34.84 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.83e-05/1.123, allocations: 52.08 kB / 1.128 GB, free: 34.83 MB / 0.7448 GB Notification: Performance of SimCode: time 3.01e-07/1.123, allocations: 0 / 1.128 GB, free: 34.83 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01665/1.14, allocations: 4.482 MB / 1.132 GB, free: 32.37 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001732/1.14, allocations: 160.2 kB / 1.132 GB, free: 32.15 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.852/2.992, allocations: 8 kB / 1.132 GB, free: 32.14 MB / 0.7448 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)