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.RealExtractor.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.RealExtractor,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.425/1.425, allocations: 251.9 MB / 266.9 MB, free: 10.88 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.001156/0.001156, allocations: 175.9 kB / 326.5 MB, free: 2.254 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.978/1.978, allocations: 205.4 MB / 0.5775 GB, free: 20.23 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.0009559/0.0009558, allocations: 94.23 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003843/0.0003844, allocations: 9 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2841/0.2845, allocations: 106.4 MB / 0.9002 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1887/0.4733, allocations: 132.1 MB / 1.029 GB, free: 11.57 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002834/0.4736, allocations: 71.95 kB / 1.029 GB, free: 11.5 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.009005/0.4827, allocations: 2.638 MB / 1.032 GB, free: 8.848 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.625e-06/0.4827, allocations: 0 / 1.032 GB, free: 8.848 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.38e-05/0.4827, allocations: 8 kB / 1.032 GB, free: 8.84 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.001143/0.4839, allocations: 0.5516 MB / 1.032 GB, free: 8.238 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/0.4839, allocations: 11.97 kB / 1.032 GB, free: 8.227 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.605e-05/0.484, allocations: 50.53 kB / 1.032 GB, free: 8.168 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.891e-05/0.4841, allocations: 23.72 kB / 1.032 GB, free: 8.145 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003833/0.4845, allocations: 242.6 kB / 1.033 GB, free: 7.867 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.112e-05/0.4845, allocations: 16 kB / 1.033 GB, free: 7.852 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.051e-05/0.4846, allocations: 27.98 kB / 1.033 GB, free: 7.824 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007707/0.4854, allocations: 297.2 kB / 1.033 GB, free: 7.527 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.4854, allocations: 3.984 kB / 1.033 GB, free: 7.523 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.029e-05/0.4854, allocations: 15.92 kB / 1.033 GB, free: 7.508 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.455e-06/0.4854, allocations: 4 kB / 1.033 GB, free: 7.504 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001007/0.4864, allocations: 347.7 kB / 1.033 GB, free: 7.164 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001536/0.488, allocations: 0.6948 MB / 1.034 GB, free: 6.418 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008378/0.4888, allocations: 310.4 kB / 1.034 GB, free: 6.105 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.033e-05/0.4889, allocations: 4 kB / 1.034 GB, free: 6.102 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007243/0.4896, allocations: 308.9 kB / 1.035 GB, free: 5.785 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=27): time 1.764e-06/0.4896, allocations: 0 / 1.035 GB, free: 5.785 MB / 0.6823 GB Notification: Performance of matching and sorting (n=27): time 0.001824/0.4915, allocations: 0.6855 MB / 1.035 GB, free: 5.098 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.319e-05/0.4915, allocations: 63.39 kB / 1.035 GB, free: 5.023 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001648/0.4917, allocations: 165.4 kB / 1.036 GB, free: 4.855 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.102e-05/0.4917, allocations: 41.64 kB / 1.036 GB, free: 4.809 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 9.906e-05/0.4919, allocations: 132.5 kB / 1.036 GB, free: 4.672 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 6.328e-05/0.4919, allocations: 67.09 kB / 1.036 GB, free: 4.605 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.993e-05/0.4919, allocations: 8 kB / 1.036 GB, free: 4.598 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.4921, allocations: 335.4 kB / 1.036 GB, free: 4.262 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005202/0.4926, allocations: 187.9 kB / 1.036 GB, free: 4.078 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005122/0.4931, allocations: 197 kB / 1.036 GB, free: 3.887 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005033/0.4937, allocations: 192.3 kB / 1.037 GB, free: 3.699 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.4937, allocations: 3.938 kB / 1.037 GB, free: 3.695 MB / 0.6823 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001159/0.4948, allocations: 468.8 kB / 1.037 GB, free: 3.23 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/0.4949, allocations: 8 kB / 1.037 GB, free: 3.223 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.4949, allocations: 0 / 1.037 GB, free: 3.223 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.4949, allocations: 4 kB / 1.037 GB, free: 3.219 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004401/0.4954, allocations: 87.86 kB / 1.037 GB, free: 3.133 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.938e-06/0.4954, allocations: 4 kB / 1.037 GB, free: 3.129 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003159/0.4957, allocations: 71.78 kB / 1.037 GB, free: 3.059 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.828e-05/0.4957, allocations: 8 kB / 1.037 GB, free: 3.051 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.extIndSig.index,extIndSig.index,extIndSig.k[1],extIndSig.k[2],extIndSig.k[3],extIndSig.k[4],extIndSig.k[5],$PRE.pul.T_start,pul.T_start,$PRE.pul.count,pul.count,$PRE.pul1.T_start,pul1.T_start,$PRE.pul1.count,pul1.count,$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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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.0001809/0.4959, allocations: 163.5 kB / 1.037 GB, free: 2.883 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.88e-05/0.496, allocations: 23.7 kB / 1.037 GB, free: 2.859 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.6e-05/0.496, allocations: 22.56 kB / 1.037 GB, free: 2.84 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.64e-06/0.496, allocations: 4 kB / 1.037 GB, free: 2.836 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.496, allocations: 0 / 1.037 GB, free: 2.836 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.4961, allocations: 3.984 kB / 1.037 GB, free: 2.832 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001546/0.4976, allocations: 0.8699 MB / 1.038 GB, free: 1.906 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.4976, allocations: 3.938 kB / 1.038 GB, free: 1.902 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00029/0.4979, allocations: 63.94 kB / 1.038 GB, free: 1.84 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.155e-06/0.4979, allocations: 0 / 1.038 GB, free: 1.84 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.911e-05/0.498, allocations: 12 kB / 1.038 GB, free: 1.828 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.498, allocations: 0 / 1.038 GB, free: 1.828 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.498, allocations: 0 / 1.038 GB, free: 1.828 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001315/0.4993, allocations: 0.5968 MB / 1.039 GB, free: 1.215 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.009e-05/0.4994, allocations: 100.8 kB / 1.039 GB, free: 1.098 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.86e-05/0.4994, allocations: 15.92 kB / 1.039 GB, free: 1.082 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003366/0.4998, allocations: 55.94 kB / 1.039 GB, free: 1.027 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000123/0.4999, allocations: 39.94 kB / 1.039 GB, free: 0.9883 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.802e-05/0.4999, allocations: 11.98 kB / 1.039 GB, free: 0.9766 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001164/0.5001, allocations: 139.4 kB / 1.039 GB, free: 0.8398 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5001, allocations: 0 / 1.039 GB, free: 0.8398 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002997/0.5004, allocations: 56 kB / 1.039 GB, free: 0.7852 MB / 0.6823 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 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,extIndSig.index,extIndSig.k[1],extIndSig.k[2],extIndSig.k[3],extIndSig.k[4],extIndSig.k[5],pul.T_start,pul.count,pul1.T_start,pul1.count,extIndSig1.index,extIndSig1.k[1],extIndSig1.k[2],extIndSig1.k[3],extIndSig1.k[4],extIndSig1.k[5]) * Number of discrete states: 4 (pul1.count,pul.count,extIndSig.index,extIndSig1.index) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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.001648/0.502, allocations: 1.165 MB / 1.041 GB, free: 15.59 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001207/0.5033, allocations: 447.5 kB / 1.041 GB, free: 15.16 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.5033, allocations: 4 kB / 1.041 GB, free: 15.15 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005958/0.5039, allocations: 240.2 kB / 1.041 GB, free: 14.92 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002785/0.5042, allocations: 27.34 kB / 1.041 GB, free: 14.89 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003309/0.5075, allocations: 1.637 MB / 1.043 GB, free: 13.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003568/0.5079, allocations: 0.7442 MB / 1.044 GB, free: 12.43 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001529/0.508, allocations: 37.94 kB / 1.044 GB, free: 12.39 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001291/0.5082, allocations: 59.41 kB / 1.044 GB, free: 12.33 MB / 0.698 GB Notification: Performance of SimCode: time 2.635e-06/0.5082, allocations: 0 / 1.044 GB, free: 12.33 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01538/0.5236, allocations: 4.667 MB / 1.048 GB, free: 7.844 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001822/0.5238, allocations: 195.2 kB / 1.048 GB, free: 7.605 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.758/2.282, allocations: 1.875 kB / 1.048 GB, free: 7.605 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1)