Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.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.RealExtractor,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.728/1.728, allocations: 289.9 MB / 297.4 MB, free: 6.375 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.001745/0.001744, allocations: 184.8 kB / 366.7 MB, free: 1.672 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.691/1.691, allocations: 205.3 MB / 0.626 GB, free: 7.137 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.0008036/0.0008035, allocations: 96.44 kB / 0.74 GB, free: 39.52 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.349e-05/2.353e-05, allocations: 4 kB / 0.8598 GB, free: 12.94 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6222/0.6223, allocations: 116.3 MB / 0.9734 GB, free: 76.15 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1816/0.8039, allocations: 139 MB / 1.109 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001881/0.8041, allocations: 71.95 kB / 1.109 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01411/0.8183, allocations: 4.804 MB / 1.114 GB, free: 6.305 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.466e-06/0.8183, allocations: 0 / 1.114 GB, free: 6.305 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.227e-05/0.8183, allocations: 7.938 kB / 1.114 GB, free: 6.297 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.0008891/0.8192, allocations: 0.5831 MB / 1.114 GB, free: 5.656 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.8193, allocations: 8.031 kB / 1.114 GB, free: 5.648 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.496e-05/0.8194, allocations: 32.84 kB / 1.114 GB, free: 5.617 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004329/0.8198, allocations: 290.6 kB / 1.115 GB, free: 5.293 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.224e-05/0.8198, allocations: 12 kB / 1.115 GB, free: 5.281 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.572e-05/0.8199, allocations: 16 kB / 1.115 GB, free: 5.266 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000295/0.8202, allocations: 159.9 kB / 1.115 GB, free: 5.109 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003394/0.8206, allocations: 191.2 kB / 1.115 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.8206, allocations: 0 / 1.115 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.909e-05/0.8206, allocations: 7.984 kB / 1.115 GB, free: 4.91 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.8206, allocations: 4 kB / 1.115 GB, free: 4.906 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001245/0.8219, allocations: 0.7154 MB / 1.116 GB, free: 4.148 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002433/0.8221, allocations: 164.9 kB / 1.116 GB, free: 3.98 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000153/0.8223, allocations: 105.2 kB / 1.116 GB, free: 3.875 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.86e-05/0.8223, allocations: 3.844 kB / 1.116 GB, free: 3.875 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003113/0.8226, allocations: 206.7 kB / 1.116 GB, free: 3.66 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=27): time 1.703e-06/0.8227, allocations: 0 / 1.116 GB, free: 3.66 MB / 0.7136 GB Notification: Performance of matching and sorting (n=27): time 0.0005407/0.8232, allocations: 327.5 kB / 1.117 GB, free: 3.336 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.136e-05/0.8233, allocations: 59.39 kB / 1.117 GB, free: 3.266 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001745/0.8234, allocations: 182 kB / 1.117 GB, free: 3.082 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.521e-05/0.8235, allocations: 33.7 kB / 1.117 GB, free: 3.043 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.701e-05/0.8236, allocations: 140.6 kB / 1.117 GB, free: 2.902 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.92e-05/0.8237, allocations: 63.05 kB / 1.117 GB, free: 2.84 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.072e-05/0.8237, allocations: 4 kB / 1.117 GB, free: 2.836 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.8238, allocations: 342.8 kB / 1.117 GB, free: 2.492 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002419/0.8241, allocations: 128 kB / 1.117 GB, free: 2.367 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002766/0.8244, allocations: 176.1 kB / 1.118 GB, free: 2.18 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004927/0.8249, allocations: 148.7 kB / 1.118 GB, free: 2.035 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.8249, allocations: 0 / 1.118 GB, free: 2.035 MB / 0.7136 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0008314/0.8257, allocations: 393.9 kB / 1.118 GB, free: 1.645 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.381e-05/0.8258, allocations: 71.39 kB / 1.118 GB, free: 1.562 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.8258, allocations: 4 kB / 1.118 GB, free: 1.559 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.8258, allocations: 0 / 1.118 GB, free: 1.559 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003347/0.8262, allocations: 68.02 kB / 1.118 GB, free: 1.492 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.8262, allocations: 4 kB / 1.118 GB, free: 1.488 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005101/0.8267, allocations: 99.81 kB / 1.118 GB, free: 1.391 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.412e-05/0.8268, allocations: 19.98 kB / 1.118 GB, free: 1.371 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.0002042/0.827, allocations: 138.6 kB / 1.119 GB, free: 1.23 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004913/0.8275, allocations: 305.2 kB / 1.119 GB, free: 0.9258 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.805e-05/0.8275, allocations: 26.53 kB / 1.119 GB, free: 0.9023 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.857e-05/0.8276, allocations: 27.17 kB / 1.119 GB, free: 0.875 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/0.8276, allocations: 4 kB / 1.119 GB, free: 0.8711 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.8277, allocations: 0 / 1.119 GB, free: 0.8711 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.8277, allocations: 0 / 1.119 GB, free: 0.8711 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009766/0.8286, allocations: 0.6666 MB / 1.12 GB, free: 164 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.8287, allocations: 0 / 1.12 GB, free: 164 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002314/0.8289, allocations: 39.97 kB / 1.12 GB, free: 124 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.301e-06/0.8289, allocations: 0 / 1.12 GB, free: 124 kB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.956e-05/0.829, allocations: 11.92 kB / 1.12 GB, free: 112 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.829, allocations: 2.5 kB / 1.12 GB, free: 112 kB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.829, allocations: 0 / 1.12 GB, free: 112 kB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005836/0.8296, allocations: 424 kB / 1.12 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.947e-05/0.8297, allocations: 100.8 kB / 1.12 GB, free: 15.56 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.501e-05/0.8297, allocations: 9.312 kB / 1.12 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002247/0.83, allocations: 31.95 kB / 1.12 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/0.8301, allocations: 23.97 kB / 1.12 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.009e-05/0.8301, allocations: 15.98 kB / 1.12 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001563/0.8303, allocations: 143.2 kB / 1.12 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.81e-07/0.8303, allocations: 0 / 1.12 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003853/0.8307, allocations: 71.84 kB / 1.12 GB, free: 15.27 MB / 0.7292 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.0008502/0.8315, allocations: 0.9659 MB / 1.121 GB, free: 14.28 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0006399/0.8322, allocations: 438.7 kB / 1.122 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.8322, allocations: 0 / 1.122 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002272/0.8324, allocations: 135.9 kB / 1.122 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004052/0.8328, allocations: 40.44 kB / 1.122 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001007/0.8338, allocations: 420.4 kB / 1.122 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003333/0.8342, allocations: 0.7557 MB / 1.123 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001304/0.8343, allocations: 34.05 kB / 1.123 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001334/0.8345, allocations: 75.41 kB / 1.123 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of SimCode: time 2.6e-07/0.8345, allocations: 0 / 1.123 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0245/0.859, allocations: 5.342 MB / 1.128 GB, free: 7.117 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001932/0.8592, allocations: 149.5 kB / 1.129 GB, free: 6.922 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.896/2.755, allocations: 0 / 1.129 GB, free: 6.922 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1)