Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.685/1.685, allocations: 289.7 MB / 302.2 MB, free: 2.172 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.001119/0.001119, allocations: 179.2 kB / 371.6 MB, free: 3.387 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.438/1.438, allocations: 205.1 MB / 0.6309 GB, free: 11.74 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.0009433/0.0009434, allocations: 88.92 kB / 0.745 GB, free: 54.48 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.734e-05/3.749e-05, allocations: 4 kB / 0.8663 GB, free: 14.94 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2253/0.2254, allocations: 116.3 MB / 0.9799 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7765/1.002, allocations: 139.6 MB / 1.116 GB, free: 44.26 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002163/1.002, allocations: 76.77 kB / 1.116 GB, free: 44.23 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.01369/1.016, allocations: 4.816 MB / 1.121 GB, free: 41.54 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.645e-06/1.016, allocations: 3.938 kB / 1.121 GB, free: 41.53 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.294e-05/1.016, allocations: 4 kB / 1.121 GB, free: 41.53 MB / 0.7448 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.001271/1.017, allocations: 0.5818 MB / 1.122 GB, free: 40.96 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 7.187e-05/1.017, allocations: 8.031 kB / 1.122 GB, free: 40.95 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001402/1.018, allocations: 52.66 kB / 1.122 GB, free: 40.91 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001637/1.018, allocations: 37.38 kB / 1.122 GB, free: 40.88 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005875/1.018, allocations: 277.8 kB / 1.122 GB, free: 40.61 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.581e-05/1.018, allocations: 22.22 kB / 1.122 GB, free: 40.6 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.982e-05/1.018, allocations: 30.56 kB / 1.122 GB, free: 40.58 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003884/1.019, allocations: 196.3 kB / 1.122 GB, free: 40.47 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/1.019, allocations: 0 / 1.122 GB, free: 40.47 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.094e-05/1.019, allocations: 9.812 kB / 1.122 GB, free: 40.46 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/1.019, allocations: 4 kB / 1.122 GB, free: 40.46 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002958/1.019, allocations: 164.3 kB / 1.122 GB, free: 40.37 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001413/1.021, allocations: 0.7667 MB / 1.123 GB, free: 39.87 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002722/1.021, allocations: 167.4 kB / 1.123 GB, free: 39.76 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001782/1.021, allocations: 116.2 kB / 1.123 GB, free: 39.7 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.301e-05/1.021, allocations: 3.422 kB / 1.123 GB, free: 39.7 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003922/1.022, allocations: 220.8 kB / 1.124 GB, free: 39.55 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=27): time 2.865e-06/1.022, allocations: 0.9375 kB / 1.124 GB, free: 39.55 MB / 0.7448 GB Notification: Performance of matching and sorting (n=27): time 0.0006382/1.022, allocations: 331 kB / 1.124 GB, free: 39.33 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.83e-05/1.022, allocations: 62.27 kB / 1.124 GB, free: 39.27 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002/1.023, allocations: 193.8 kB / 1.124 GB, free: 39.11 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.797e-05/1.023, allocations: 41.08 kB / 1.124 GB, free: 39.07 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.518e-05/1.023, allocations: 135.1 kB / 1.124 GB, free: 38.96 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.038e-05/1.023, allocations: 72.66 kB / 1.124 GB, free: 38.9 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.95e-05/1.023, allocations: 6.938 kB / 1.124 GB, free: 38.9 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001089/1.023, allocations: 343.4 kB / 1.125 GB, free: 38.57 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002564/1.023, allocations: 141.1 kB / 1.125 GB, free: 38.5 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000264/1.023, allocations: 193.8 kB / 1.125 GB, free: 38.36 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002503/1.024, allocations: 195.7 kB / 1.125 GB, free: 38.22 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/1.024, allocations: 0 / 1.125 GB, free: 38.22 MB / 0.7448 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006638/1.024, allocations: 451.4 kB / 1.126 GB, free: 37.9 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.081e-05/1.024, allocations: 69.78 kB / 1.126 GB, free: 37.83 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.248e-06/1.024, allocations: 4.5 kB / 1.126 GB, free: 37.83 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/1.024, allocations: 0 / 1.126 GB, free: 37.83 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003076/1.025, allocations: 68.48 kB / 1.126 GB, free: 37.78 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/1.025, allocations: 3.938 kB / 1.126 GB, free: 37.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004913/1.025, allocations: 109.8 kB / 1.126 GB, free: 37.7 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.928e-05/1.025, allocations: 19.34 kB / 1.126 GB, free: 37.68 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition4,$whenCondition5,$whenCondition2,$whenCondition3,$whenCondition6,$whenCondition1,$PRE.extIndSig.index,extIndSig.index,extIndSig.k[1],extIndSig.k[2],extIndSig.k[3],extIndSig.k[4],extIndSig.k[5],$PRE.pul.booPul.y,pul.booPul.y,$PRE.pul1.booPul.y,pul1.booPul.y,$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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * 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.0001209/1.026, allocations: 146 kB / 1.126 GB, free: 37.55 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.798e-05/1.026, allocations: 27.09 kB / 1.126 GB, free: 37.52 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.553e-05/1.026, allocations: 22.88 kB / 1.126 GB, free: 37.51 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/1.026, allocations: 4 kB / 1.126 GB, free: 37.51 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/1.026, allocations: 0.8125 kB / 1.126 GB, free: 37.51 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/1.026, allocations: 3.328 kB / 1.126 GB, free: 37.51 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007223/1.026, allocations: 0.7169 MB / 1.127 GB, free: 36.96 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/1.026, allocations: 4 kB / 1.127 GB, free: 36.96 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002117/1.027, allocations: 50.28 kB / 1.127 GB, free: 36.92 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/1.027, allocations: 1.266 kB / 1.127 GB, free: 36.92 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.841e-05/1.027, allocations: 7.75 kB / 1.127 GB, free: 36.91 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.661e-06/1.027, allocations: 3.969 kB / 1.127 GB, free: 36.91 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/1.027, allocations: 0 / 1.127 GB, free: 36.91 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004639/1.027, allocations: 433.6 kB / 1.127 GB, free: 36.59 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.163e-05/1.027, allocations: 100.8 kB / 1.127 GB, free: 36.47 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.823e-05/1.027, allocations: 3.688 kB / 1.127 GB, free: 36.47 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002186/1.027, allocations: 37.73 kB / 1.127 GB, free: 36.45 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.77e-05/1.028, allocations: 25.27 kB / 1.127 GB, free: 36.44 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.526e-05/1.028, allocations: 15.69 kB / 1.127 GB, free: 36.43 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001099/1.028, allocations: 155.1 kB / 1.128 GB, free: 36.31 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/1.028, allocations: 3.938 kB / 1.128 GB, free: 36.3 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003382/1.028, allocations: 78.7 kB / 1.128 GB, free: 36.24 MB / 0.7448 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 ($whenCondition6,$whenCondition4,$whenCondition5,$whenCondition2,$whenCondition3,$whenCondition1,extIndSig.index,extIndSig.k[1],extIndSig.k[2],extIndSig.k[3],extIndSig.k[4],extIndSig.k[5],pul.booPul.y,pul1.booPul.y,extIndSig1.index,extIndSig1.k[1],extIndSig1.k[2],extIndSig1.k[3],extIndSig1.k[4],extIndSig1.k[5]) * Number of discrete states: 2 (extIndSig.index,extIndSig1.index) * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * 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.0007588/1.029, allocations: 0.9833 MB / 1.129 GB, free: 35.35 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0005794/1.029, allocations: 460.7 kB / 1.129 GB, free: 35.02 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/1.029, allocations: 0 / 1.129 GB, free: 35.02 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002005/1.03, allocations: 137.3 kB / 1.129 GB, free: 34.94 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003282/1.03, allocations: 46.02 kB / 1.129 GB, free: 34.91 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000898/1.031, allocations: 450.3 kB / 1.13 GB, free: 34.56 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001984/1.031, allocations: 0.7519 MB / 1.13 GB, free: 33.82 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001317/1.031, allocations: 36.69 kB / 1.13 GB, free: 33.79 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00012/1.031, allocations: 73.64 kB / 1.131 GB, free: 33.78 MB / 0.7448 GB Notification: Performance of SimCode: time 5.01e-07/1.031, allocations: 0 / 1.131 GB, free: 33.78 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0173/1.049, allocations: 5.926 MB / 1.136 GB, free: 30.5 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000146/1.049, allocations: 175.2 kB / 1.137 GB, free: 30.26 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.023/3.072, allocations: 0 / 1.137 GB, free: 30.26 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1)