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.418/1.418, allocations: 251.9 MB / 266.9 MB, free: 11.06 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00108/0.00108, allocations: 181.5 kB / 326.5 MB, free: 2.266 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.82/1.82, allocations: 205.4 MB / 0.5775 GB, free: 20.24 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.0009507/0.0009508, allocations: 96.73 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003777/0.0003778, allocations: 12.52 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2758/0.2762, allocations: 106.3 MB / 0.9002 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1974/0.4737, allocations: 131.8 MB / 1.029 GB, free: 11.84 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003411/0.4741, allocations: 71.95 kB / 1.029 GB, free: 11.77 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.007079/0.4812, allocations: 2.068 MB / 1.031 GB, free: 9.695 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.056e-06/0.4813, allocations: 3.938 kB / 1.031 GB, free: 9.691 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.749e-05/0.4813, allocations: 4 kB / 1.031 GB, free: 9.688 MB / 0.6823 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.001066/0.4824, allocations: 0.5064 MB / 1.031 GB, free: 9.133 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.808e-05/0.4825, allocations: 8.031 kB / 1.032 GB, free: 9.125 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.069e-05/0.4825, allocations: 42.55 kB / 1.032 GB, free: 9.074 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.785e-05/0.4826, allocations: 15.81 kB / 1.032 GB, free: 9.059 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002796/0.4829, allocations: 218.9 kB / 1.032 GB, free: 8.805 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.4829, allocations: 4 kB / 1.032 GB, free: 8.801 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.129e-05/0.483, allocations: 12 kB / 1.032 GB, free: 8.789 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006415/0.4836, allocations: 231.5 kB / 1.032 GB, free: 8.543 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.4836, allocations: 3.938 kB / 1.032 GB, free: 8.539 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.184e-05/0.4837, allocations: 7.953 kB / 1.032 GB, free: 8.531 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.4837, allocations: 4 kB / 1.032 GB, free: 8.527 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008226/0.4845, allocations: 247.7 kB / 1.032 GB, free: 8.285 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001458/0.486, allocations: 0.8175 MB / 1.033 GB, free: 7.402 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006637/0.4867, allocations: 261.6 kB / 1.033 GB, free: 7.102 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.777e-05/0.4867, allocations: 3.938 kB / 1.033 GB, free: 7.098 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005981/0.4873, allocations: 245.2 kB / 1.034 GB, free: 6.832 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=11): time 2.454e-06/0.4873, allocations: 0 / 1.034 GB, free: 6.832 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11): time 0.001401/0.4887, allocations: 437.6 kB / 1.034 GB, free: 6.398 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001127/0.4888, allocations: 166.2 kB / 1.034 GB, free: 6.199 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001733/0.489, allocations: 150 kB / 1.034 GB, free: 6.043 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.981e-05/0.4891, allocations: 37.64 kB / 1.034 GB, free: 6 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 9.809e-05/0.4892, allocations: 119.9 kB / 1.034 GB, free: 5.879 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.675e-05/0.4892, allocations: 27.64 kB / 1.034 GB, free: 5.852 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.25e-05/0.4892, allocations: 8 kB / 1.034 GB, free: 5.844 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001645/0.4894, allocations: 330.8 kB / 1.035 GB, free: 5.512 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004172/0.4898, allocations: 131.8 kB / 1.035 GB, free: 5.383 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004416/0.4903, allocations: 172.1 kB / 1.035 GB, free: 5.199 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003951/0.4907, allocations: 119.9 kB / 1.035 GB, free: 5.082 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.4907, allocations: 0 / 1.035 GB, free: 5.082 MB / 0.6823 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0009011/0.4916, allocations: 333.3 kB / 1.035 GB, free: 4.75 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.4916, allocations: 4 kB / 1.035 GB, free: 4.746 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.4917, allocations: 4 kB / 1.035 GB, free: 4.742 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.4917, allocations: 0 / 1.035 GB, free: 4.742 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000335/0.492, allocations: 71.94 kB / 1.036 GB, free: 4.672 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.492, allocations: 3.938 kB / 1.036 GB, free: 4.668 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002977/0.4923, allocations: 63.84 kB / 1.036 GB, free: 4.605 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.031e-05/0.4924, allocations: 4 kB / 1.036 GB, free: 4.602 MB / 0.6823 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 () * Number of clocked 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 0.0001362/0.4925, allocations: 130.9 kB / 1.036 GB, free: 4.465 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.974e-05/0.4925, allocations: 15.8 kB / 1.036 GB, free: 4.449 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.937e-05/0.4926, allocations: 16.94 kB / 1.036 GB, free: 4.434 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.431e-06/0.4926, allocations: 4 kB / 1.036 GB, free: 4.43 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.4926, allocations: 3.938 kB / 1.036 GB, free: 4.426 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.012e-06/0.4927, allocations: 8 kB / 1.036 GB, free: 4.418 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002484/0.4929, allocations: 233.5 kB / 1.036 GB, free: 4.141 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.4929, allocations: 0 / 1.036 GB, free: 4.141 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002321/0.4932, allocations: 55.89 kB / 1.036 GB, free: 4.086 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.4932, allocations: 7.938 kB / 1.036 GB, free: 4.078 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.109e-05/0.4932, allocations: 11.98 kB / 1.036 GB, free: 4.066 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.4932, allocations: 0 / 1.036 GB, free: 4.066 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.4932, allocations: 4 kB / 1.036 GB, free: 4.062 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009082/0.4941, allocations: 394.9 kB / 1.036 GB, free: 3.621 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.275e-05/0.4942, allocations: 88.95 kB / 1.037 GB, free: 3.516 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.73e-05/0.4942, allocations: 8 kB / 1.037 GB, free: 3.508 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002678/0.4945, allocations: 55.94 kB / 1.037 GB, free: 3.453 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/0.4946, allocations: 31.91 kB / 1.037 GB, free: 3.422 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.388e-05/0.4947, allocations: 4 kB / 1.037 GB, free: 3.418 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001016/0.4948, allocations: 139.2 kB / 1.037 GB, free: 3.281 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1e-07/0.4948, allocations: 0 / 1.037 GB, free: 3.281 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002379/0.495, allocations: 27.91 kB / 1.037 GB, free: 3.254 MB / 0.6823 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) * Number of clocked states: 0 () * 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.001485/0.4965, allocations: 1.21 MB / 1.038 GB, free: 1.988 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.000899/0.4974, allocations: 287.6 kB / 1.038 GB, free: 1.707 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4974, allocations: 0 / 1.038 GB, free: 1.707 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004972/0.4979, allocations: 160.2 kB / 1.038 GB, free: 1.551 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002615/0.4982, allocations: 25.27 kB / 1.038 GB, free: 1.527 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002965/0.5012, allocations: 1.795 MB / 1.04 GB, free: 15.64 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003335/0.5015, allocations: 0.7238 MB / 1.041 GB, free: 14.89 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001152/0.5017, allocations: 20.88 kB / 1.041 GB, free: 14.87 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001053/0.5018, allocations: 35.42 kB / 1.041 GB, free: 14.84 MB / 0.698 GB Notification: Performance of SimCode: time 3.31e-07/0.5018, allocations: 0 / 1.041 GB, free: 14.84 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01652/0.5183, allocations: 3.247 MB / 1.044 GB, free: 11.78 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002146/0.5186, allocations: 206.2 kB / 1.044 GB, free: 11.54 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.853/2.372, allocations: 0 / 1.044 GB, free: 11.54 MB / 0.698 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)