Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.575/1.575, allocations: 249.3 MB / 261.8 MB, free: 5.926 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001317/0.001317, allocations: 178.1 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.686/1.686, allocations: 205.2 MB / 0.572 GB, free: 10.61 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008661/0.0008659, allocations: 88.58 kB / 0.6764 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 2.572e-05/2.574e-05, allocations: 7.984 kB / 0.788 GB, free: 96.97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1737/0.1737, allocations: 106.3 MB / 0.8919 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6877/0.8615, allocations: 131.8 MB / 1.021 GB, free: 2.926 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002553/0.8618, allocations: 71.14 kB / 1.021 GB, free: 2.887 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.006512/0.8684, allocations: 2.069 MB / 1.023 GB, free: 1.027 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.393e-06/0.8684, allocations: 0 / 1.023 GB, free: 1.027 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.167e-05/0.8684, allocations: 4 kB / 1.023 GB, free: 1.023 MB / 0.6355 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.000859/0.8693, allocations: 493.5 kB / 1.023 GB, free: 0.5078 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.8693, allocations: 12.03 kB / 1.023 GB, free: 0.4961 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.726e-05/0.8694, allocations: 41.3 kB / 1.023 GB, free: 464 kB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.047e-05/0.8694, allocations: 15.81 kB / 1.023 GB, free: 448 kB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002021/0.8696, allocations: 213.5 kB / 1.023 GB, free: 200 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.8696, allocations: 8.172 kB / 1.023 GB, free: 192 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.583e-05/0.8697, allocations: 15.25 kB / 1.023 GB, free: 180 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002415/0.8699, allocations: 142.2 kB / 1.024 GB, free: 44 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.8699, allocations: 0 / 1.024 GB, free: 44 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.923e-05/0.87, allocations: 6.891 kB / 1.024 GB, free: 40 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.87, allocations: 7.938 kB / 1.024 GB, free: 32 kB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001565/0.8701, allocations: 65.23 kB / 1.024 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001233/0.8714, allocations: 0.8193 MB / 1.024 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001855/0.8716, allocations: 134.1 kB / 1.025 GB, free: 15 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.507e-05/0.8717, allocations: 65.53 kB / 1.025 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.031e-05/0.8717, allocations: 7.938 kB / 1.025 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002466/0.872, allocations: 139.2 kB / 1.025 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=11): time 3.517e-06/0.872, allocations: 4 kB / 1.025 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11): time 0.0003081/0.8723, allocations: 126.8 kB / 1.025 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.437e-05/0.8724, allocations: 166.1 kB / 1.025 GB, free: 14.47 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00013/0.8725, allocations: 151.5 kB / 1.025 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.585e-05/0.8726, allocations: 37.31 kB / 1.025 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.819e-05/0.8727, allocations: 117.1 kB / 1.025 GB, free: 14.19 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.767e-05/0.8727, allocations: 23.53 kB / 1.025 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.037e-05/0.8727, allocations: 11.66 kB / 1.025 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.8728, allocations: 334 kB / 1.026 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.562e-05/0.8729, allocations: 38 kB / 1.026 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001652/0.8731, allocations: 75.53 kB / 1.026 GB, free: 13.74 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.92e-05/0.8732, allocations: 42.05 kB / 1.026 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.8732, allocations: 0 / 1.026 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002583/0.8735, allocations: 152.2 kB / 1.026 GB, free: 13.58 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.8735, allocations: 11.98 kB / 1.026 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.8735, allocations: 96 / 1.026 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.8735, allocations: 11.92 kB / 1.026 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003391/0.8739, allocations: 67.11 kB / 1.026 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.8739, allocations: 3.984 kB / 1.026 GB, free: 13.49 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002853/0.8742, allocations: 55.86 kB / 1.026 GB, free: 13.44 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.965e-05/0.8742, allocations: 7.438 kB / 1.026 GB, free: 13.43 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.pul.T_start,pul.T_start,$PRE.pul.count,pul.count,$whenCondition1,$PRE.pul1.T_start,pul1.T_start,$PRE.pul1.count,pul1.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * 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 8.317e-05/0.8743, allocations: 118.9 kB / 1.026 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.032e-05/0.8743, allocations: 19.8 kB / 1.026 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.384e-05/0.8744, allocations: 18.88 kB / 1.026 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.8744, allocations: 4 kB / 1.026 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.8744, allocations: 0 / 1.026 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.8744, allocations: 4 kB / 1.026 GB, free: 13.28 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001892/0.8746, allocations: 240.9 kB / 1.027 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.8746, allocations: 0 / 1.027 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002412/0.8749, allocations: 51.95 kB / 1.027 GB, free: 12.97 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.8749, allocations: 0 / 1.027 GB, free: 12.97 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.747e-05/0.8749, allocations: 11.98 kB / 1.027 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.8749, allocations: 0 / 1.027 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.8749, allocations: 0 / 1.027 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002574/0.8752, allocations: 226.8 kB / 1.027 GB, free: 12.71 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.819e-05/0.8752, allocations: 89 kB / 1.027 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.858e-05/0.8753, allocations: 4 kB / 1.027 GB, free: 12.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002809/0.8756, allocations: 62.39 kB / 1.027 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.954e-05/0.8757, allocations: 26.77 kB / 1.027 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.386e-05/0.8757, allocations: 4 kB / 1.027 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 8.755e-05/0.8758, allocations: 126.3 kB / 1.027 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8758, allocations: 0 / 1.027 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002311/0.876, allocations: 35.22 kB / 1.027 GB, free: 12.38 MB / 0.6511 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 ($whenCondition2,pul.T_start,pul.count,$whenCondition1,pul1.T_start,pul1.count) * Number of discrete states: 2 (pul1.count,pul.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0005721/0.8766, allocations: 1.045 MB / 1.028 GB, free: 11.31 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002233/0.8768, allocations: 101.9 kB / 1.028 GB, free: 11.24 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.8768, allocations: 0 / 1.028 GB, free: 11.24 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002135/0.8771, allocations: 67 kB / 1.028 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002591/0.8773, allocations: 34.78 kB / 1.028 GB, free: 11.17 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006335/0.878, allocations: 250.7 kB / 1.029 GB, free: 10.9 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003135/0.8783, allocations: 0.7236 MB / 1.029 GB, free: 10.16 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001042/0.8784, allocations: 20.86 kB / 1.029 GB, free: 10.13 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.974e-05/0.8785, allocations: 40.48 kB / 1.029 GB, free: 10.12 MB / 0.6511 GB Notification: Performance of SimCode: time 3.31e-07/0.8785, allocations: 0 / 1.029 GB, free: 10.12 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01406/0.8926, allocations: 3.276 MB / 1.033 GB, free: 6.984 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001869/0.8928, allocations: 182.8 kB / 1.033 GB, free: 6.758 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.632/2.525, allocations: 3.938 kB / 1.033 GB, free: 6.754 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1)