Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.582/1.582, allocations: 285.6 MB / 293.1 MB, free: 10.19 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.0009391/0.000939, allocations: 176.9 kB / 361.4 MB, free: 6.809 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.326/1.326, allocations: 205.2 MB / 0.62 GB, free: 11.64 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.0008703/0.0008704, allocations: 87.66 kB / 0.733 GB, free: 44.15 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.003e-05/2.004e-05, allocations: 4 kB / 0.8518 GB, free: 2.633 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5824/0.5824, allocations: 115.3 MB / 0.9645 GB, free: 78.61 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1957/0.7782, allocations: 137.7 MB / 1.099 GB, free: 1.996 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001917/0.7784, allocations: 80.69 kB / 1.099 GB, free: 1.922 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.0123/0.7907, allocations: 4.231 MB / 1.103 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.122e-06/0.7908, allocations: 0 / 1.103 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.355e-05/0.7908, allocations: 4 kB / 1.103 GB, free: 13.77 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0007084/0.7915, allocations: 0.5247 MB / 1.104 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.7916, allocations: 8.031 kB / 1.104 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.577e-05/0.7916, allocations: 26.86 kB / 1.104 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002755/0.7919, allocations: 250.5 kB / 1.104 GB, free: 12.87 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/0.7919, allocations: 0 / 1.104 GB, free: 12.87 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.249e-05/0.792, allocations: 15.94 kB / 1.104 GB, free: 12.85 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001342/0.7921, allocations: 52 kB / 1.104 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001792/0.7923, allocations: 121.9 kB / 1.104 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.7923, allocations: 4 kB / 1.104 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.499e-05/0.7924, allocations: 0 / 1.104 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.932e-06/0.7924, allocations: 7.891 kB / 1.104 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009721/0.7933, allocations: 0.8648 MB / 1.105 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001349/0.7935, allocations: 117.1 kB / 1.105 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.527e-05/0.7936, allocations: 52.34 kB / 1.105 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.037e-05/0.7936, allocations: 9.156 kB / 1.105 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001911/0.7938, allocations: 143.5 kB / 1.105 GB, free: 11.33 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=11): time 1.412e-06/0.7938, allocations: 3.938 kB / 1.105 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.0002855/0.7941, allocations: 132 kB / 1.105 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.411e-05/0.7942, allocations: 166.3 kB / 1.106 GB, free: 10.99 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001569/0.7943, allocations: 173.8 kB / 1.106 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.501e-05/0.7944, allocations: 29.7 kB / 1.106 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.352e-05/0.7945, allocations: 136.2 kB / 1.106 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.85e-05/0.7945, allocations: 19.72 kB / 1.106 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.548e-05/0.7946, allocations: 4 kB / 1.106 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.7947, allocations: 334.8 kB / 1.106 GB, free: 10.28 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001501/0.7948, allocations: 72 kB / 1.106 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001644/0.795, allocations: 138.4 kB / 1.106 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003335/0.7953, allocations: 91.92 kB / 1.107 GB, free: 9.961 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/0.7954, allocations: 4 kB / 1.107 GB, free: 9.957 MB / 0.7136 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0006233/0.796, allocations: 271.2 kB / 1.107 GB, free: 9.688 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.972e-05/0.7961, allocations: 72.33 kB / 1.107 GB, free: 9.605 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.7961, allocations: 4 kB / 1.107 GB, free: 9.602 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.7961, allocations: 8.219 kB / 1.107 GB, free: 9.594 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001889/0.7963, allocations: 31.97 kB / 1.107 GB, free: 9.562 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.7963, allocations: 11.92 kB / 1.107 GB, free: 9.551 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004454/0.7968, allocations: 99.77 kB / 1.107 GB, free: 9.453 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.56e-05/0.7968, allocations: 19.98 kB / 1.107 GB, free: 9.434 MB / 0.7136 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.384e-05/0.7969, allocations: 111.4 kB / 1.107 GB, free: 9.32 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001935/0.7971, allocations: 137.3 kB / 1.107 GB, free: 9.18 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.538e-05/0.7971, allocations: 19.81 kB / 1.107 GB, free: 9.16 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.768e-05/0.7972, allocations: 17.55 kB / 1.107 GB, free: 9.137 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.7972, allocations: 4 kB / 1.107 GB, free: 9.133 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.7972, allocations: 0 / 1.107 GB, free: 9.133 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.7972, allocations: 8.094 kB / 1.107 GB, free: 9.125 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001932/0.7974, allocations: 221.9 kB / 1.108 GB, free: 8.875 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.7974, allocations: 1.625 kB / 1.108 GB, free: 8.875 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001671/0.7976, allocations: 35.97 kB / 1.108 GB, free: 8.84 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.112e-06/0.7976, allocations: 4 kB / 1.108 GB, free: 8.836 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.7976, allocations: 0 / 1.108 GB, free: 8.836 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/0.7977, allocations: 7.938 kB / 1.108 GB, free: 8.828 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.7977, allocations: 4 kB / 1.108 GB, free: 8.824 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000237/0.7979, allocations: 222.6 kB / 1.108 GB, free: 8.555 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.069e-05/0.798, allocations: 106.9 kB / 1.108 GB, free: 8.434 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.642e-05/0.798, allocations: 3.984 kB / 1.108 GB, free: 8.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001547/0.7982, allocations: 23.98 kB / 1.108 GB, free: 8.406 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.957e-05/0.7982, allocations: 27.86 kB / 1.108 GB, free: 8.379 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.327e-05/0.7983, allocations: 10.44 kB / 1.108 GB, free: 8.371 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001033/0.7984, allocations: 136.6 kB / 1.108 GB, free: 8.238 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7984, allocations: 0 / 1.108 GB, free: 8.238 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002883/0.7987, allocations: 44 kB / 1.108 GB, free: 8.195 MB / 0.7136 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.001084/0.7998, allocations: 1.046 MB / 1.109 GB, free: 7.094 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0006863/0.8005, allocations: 290.8 kB / 1.109 GB, free: 6.785 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.8006, allocations: 0 / 1.109 GB, free: 6.785 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001626/0.8007, allocations: 47.94 kB / 1.109 GB, free: 6.738 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004932/0.8012, allocations: 39.58 kB / 1.11 GB, free: 6.703 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001043/0.8023, allocations: 276.7 kB / 1.11 GB, free: 6.383 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004038/0.8027, allocations: 0.7279 MB / 1.111 GB, free: 5.629 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001377/0.8029, allocations: 33.12 kB / 1.111 GB, free: 5.594 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001138/0.803, allocations: 43.42 kB / 1.111 GB, free: 5.551 MB / 0.7136 GB Notification: Performance of SimCode: time 9.02e-07/0.803, allocations: 0 / 1.111 GB, free: 5.551 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05097/0.854, allocations: 3.952 MB / 1.114 GB, free: 1.715 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002175/0.8543, allocations: 163.1 kB / 1.115 GB, free: 1.523 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.635/2.489, allocations: 4 kB / 1.115 GB, free: 1.52 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1)