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.675/2.675, allocations: 287.3 MB / 302.3 MB, free: 8.32 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.001545/0.001545, allocations: 183.3 kB / 370.8 MB, free: 10.86 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.139/2.139, allocations: 205.4 MB / 0.6295 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001946/0.001947, allocations: 87.64 kB / 0.7428 GB, free: 6.641 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004835/0.0004834, allocations: 15.86 kB / 0.8657 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2581/0.2586, allocations: 115.3 MB / 0.9783 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9128/1.171, allocations: 138.3 MB / 1.113 GB, free: 15.64 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002562/1.172, allocations: 71.95 kB / 1.113 GB, free: 15.64 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02118/1.193, allocations: 4.267 MB / 1.118 GB, free: 31.11 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.835e-06/1.193, allocations: 0 / 1.118 GB, free: 31.11 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.355e-05/1.193, allocations: 3.906 kB / 1.118 GB, free: 31.11 MB / 0.698 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.001209/1.194, allocations: 0.5571 MB / 1.118 GB, free: 30.62 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.901e-05/1.194, allocations: 11.7 kB / 1.118 GB, free: 30.62 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.342e-05/1.194, allocations: 45.09 kB / 1.118 GB, free: 30.58 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001017/1.194, allocations: 19.44 kB / 1.118 GB, free: 30.57 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003803/1.195, allocations: 245.9 kB / 1.118 GB, free: 30.36 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.878e-05/1.195, allocations: 15.72 kB / 1.118 GB, free: 30.35 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.872e-05/1.195, allocations: 15.34 kB / 1.118 GB, free: 30.35 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006425/1.196, allocations: 189.4 kB / 1.119 GB, free: 30.27 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/1.196, allocations: 0 / 1.119 GB, free: 30.27 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.351e-05/1.196, allocations: 11.8 kB / 1.119 GB, free: 30.27 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.17e-05/1.196, allocations: 0 / 1.119 GB, free: 30.27 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000852/1.197, allocations: 174.8 kB / 1.119 GB, free: 30.25 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001669/1.198, allocations: 0.8866 MB / 1.12 GB, free: 29.64 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005373/1.199, allocations: 174.6 kB / 1.12 GB, free: 29.52 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.961e-05/1.199, allocations: 0 / 1.12 GB, free: 29.52 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005914/1.199, allocations: 205.2 kB / 1.12 GB, free: 29.41 MB / 0.698 GB Notification: Performance of pre-optimization done (n=11): time 2.024e-06/1.2, allocations: 0 / 1.12 GB, free: 29.41 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.001574/1.201, allocations: 326.7 kB / 1.12 GB, free: 29.36 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001265/1.201, allocations: 164.6 kB / 1.121 GB, free: 29.17 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002368/1.202, allocations: 190.2 kB / 1.121 GB, free: 29.07 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.559e-05/1.202, allocations: 33.48 kB / 1.121 GB, free: 29.04 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001243/1.202, allocations: 136.1 kB / 1.121 GB, free: 28.94 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.011e-05/1.202, allocations: 25.62 kB / 1.121 GB, free: 28.92 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.839e-05/1.202, allocations: 3.812 kB / 1.121 GB, free: 28.92 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001569/1.202, allocations: 332 kB / 1.121 GB, free: 28.61 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006003/1.203, allocations: 136.7 kB / 1.121 GB, free: 28.6 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006108/1.203, allocations: 191.7 kB / 1.122 GB, free: 28.53 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006238/1.204, allocations: 198.3 kB / 1.122 GB, free: 28.45 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/1.204, allocations: 3.812 kB / 1.122 GB, free: 28.45 MB / 0.698 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001512/1.205, allocations: 427.3 kB / 1.122 GB, free: 28.33 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.511e-05/1.206, allocations: 80.52 kB / 1.122 GB, free: 28.26 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/1.206, allocations: 3.812 kB / 1.122 GB, free: 28.26 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/1.206, allocations: 3.875 kB / 1.122 GB, free: 28.26 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003026/1.206, allocations: 32.25 kB / 1.122 GB, free: 28.26 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/1.206, allocations: 8.578 kB / 1.122 GB, free: 28.26 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007939/1.207, allocations: 107.2 kB / 1.122 GB, free: 28.25 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.265e-05/1.207, allocations: 17.36 kB / 1.122 GB, free: 28.25 MB / 0.698 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.0002036/1.207, allocations: 142.5 kB / 1.123 GB, free: 28.12 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.164e-05/1.207, allocations: 18.81 kB / 1.123 GB, free: 28.12 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.493e-05/1.207, allocations: 14.84 kB / 1.123 GB, free: 28.11 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/1.207, allocations: 11.77 kB / 1.123 GB, free: 28.1 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/1.207, allocations: 0 / 1.123 GB, free: 28.1 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/1.207, allocations: 11.23 kB / 1.123 GB, free: 28.1 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002899/1.207, allocations: 247.6 kB / 1.123 GB, free: 27.91 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/1.207, allocations: 0 / 1.123 GB, free: 27.91 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002698/1.208, allocations: 38.94 kB / 1.123 GB, free: 27.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/1.208, allocations: 3.844 kB / 1.123 GB, free: 27.9 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.691e-05/1.208, allocations: 0 / 1.123 GB, free: 27.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.868e-06/1.208, allocations: 3.844 kB / 1.123 GB, free: 27.9 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/1.208, allocations: 5.828 kB / 1.123 GB, free: 27.9 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001012/1.209, allocations: 328.2 kB / 1.123 GB, free: 27.72 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.696e-05/1.209, allocations: 98.91 kB / 1.123 GB, free: 27.62 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.871e-05/1.209, allocations: 0 / 1.123 GB, free: 27.62 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002925/1.209, allocations: 43.31 kB / 1.123 GB, free: 27.61 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.314e-05/1.209, allocations: 16.41 kB / 1.123 GB, free: 27.61 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.684e-05/1.209, allocations: 3.781 kB / 1.123 GB, free: 27.61 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001793/1.21, allocations: 144.8 kB / 1.123 GB, free: 27.53 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.81e-07/1.21, allocations: 3.938 kB / 1.123 GB, free: 27.52 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000465/1.21, allocations: 59.7 kB / 1.124 GB, free: 27.51 MB / 0.698 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.001601/1.212, allocations: 1.148 MB / 1.125 GB, free: 26.54 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001464/1.213, allocations: 407.3 kB / 1.125 GB, free: 26.39 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/1.213, allocations: 3.938 kB / 1.125 GB, free: 26.39 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005249/1.214, allocations: 107.4 kB / 1.125 GB, free: 26.38 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004822/1.214, allocations: 46.77 kB / 1.125 GB, free: 26.38 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001743/1.216, allocations: 1.834 MB / 1.127 GB, free: 24.65 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003527/1.216, allocations: 0.7268 MB / 1.128 GB, free: 23.95 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001745/1.217, allocations: 28.28 kB / 1.128 GB, free: 23.95 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001158/1.217, allocations: 46.86 kB / 1.128 GB, free: 23.94 MB / 0.698 GB Notification: Performance of SimCode: time 1.042e-06/1.217, allocations: 3.844 kB / 1.128 GB, free: 23.94 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02421/1.241, allocations: 4.431 MB / 1.132 GB, free: 23.59 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002747/1.241, allocations: 192.5 kB / 1.132 GB, free: 23.35 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.492/3.733, allocations: 0 / 1.132 GB, free: 23.35 MB / 0.698 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)