Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0.0/package.mo): time 2.574/2.574, allocations: 287.3 MB / 302.3 MB, free: 8.27 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.001507/0.001507, allocations: 188.1 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.166/2.166, allocations: 205.4 MB / 0.6295 GB, free: 10.63 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001068/0.001068, allocations: 101.2 kB / 0.7428 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004939/0.0004939, allocations: 17.19 kB / 0.8657 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2521/0.2527, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9563/1.209, allocations: 138.6 MB / 1.114 GB, free: 15.43 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000359/1.209, allocations: 75.44 kB / 1.114 GB, free: 15.43 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03652/1.246, allocations: 4.839 MB / 1.118 GB, free: 30.87 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.677e-06/1.246, allocations: 3.938 kB / 1.118 GB, free: 30.86 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.64e-05/1.246, allocations: 7.781 kB / 1.118 GB, free: 30.86 MB / 0.698 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.002278/1.248, allocations: 0.6067 MB / 1.119 GB, free: 30.36 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.007e-05/1.248, allocations: 15.58 kB / 1.119 GB, free: 30.36 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001702/1.249, allocations: 54.97 kB / 1.119 GB, free: 30.31 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002202/1.249, allocations: 30.94 kB / 1.119 GB, free: 30.3 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009993/1.25, allocations: 280.2 kB / 1.119 GB, free: 30.08 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.398e-05/1.25, allocations: 22.94 kB / 1.119 GB, free: 30.08 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001555/1.25, allocations: 25.69 kB / 1.119 GB, free: 30.08 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001488/1.252, allocations: 258.8 kB / 1.12 GB, free: 30.04 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.075e-05/1.252, allocations: 2.859 kB / 1.12 GB, free: 30.04 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.626e-05/1.252, allocations: 13.98 kB / 1.12 GB, free: 30.04 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.347e-05/1.252, allocations: 3.844 kB / 1.12 GB, free: 30.04 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001886/1.254, allocations: 269.2 kB / 1.12 GB, free: 30.03 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002889/1.257, allocations: 0.766 MB / 1.121 GB, free: 29.71 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001298/1.258, allocations: 225.8 kB / 1.121 GB, free: 29.69 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.789e-05/1.258, allocations: 4.188 kB / 1.121 GB, free: 29.68 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001384/1.26, allocations: 281.4 kB / 1.121 GB, free: 29.62 MB / 0.698 GB Notification: Performance of pre-optimization done (n=27): time 5.34e-06/1.26, allocations: 0 / 1.121 GB, free: 29.62 MB / 0.698 GB Notification: Performance of matching and sorting (n=27): time 0.003686/1.263, allocations: 0.583 MB / 1.122 GB, free: 29.57 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.641e-05/1.263, allocations: 55.28 kB / 1.122 GB, free: 29.5 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004099/1.264, allocations: 203.8 kB / 1.122 GB, free: 29.4 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001466/1.264, allocations: 33.52 kB / 1.122 GB, free: 29.37 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001825/1.264, allocations: 138.9 kB / 1.122 GB, free: 29.28 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001147/1.264, allocations: 67.91 kB / 1.122 GB, free: 29.24 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.754e-05/1.264, allocations: 7.781 kB / 1.122 GB, free: 29.24 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001922/1.265, allocations: 342.5 kB / 1.123 GB, free: 28.92 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001198/1.266, allocations: 197.1 kB / 1.123 GB, free: 28.91 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001295/1.267, allocations: 249.2 kB / 1.123 GB, free: 28.86 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001131/1.268, allocations: 243.7 kB / 1.123 GB, free: 28.8 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/1.268, allocations: 0 / 1.123 GB, free: 28.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.002928/1.271, allocations: 0.5629 MB / 1.124 GB, free: 28.67 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001149/1.272, allocations: 69.36 kB / 1.124 GB, free: 28.61 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/1.272, allocations: 3.875 kB / 1.124 GB, free: 28.61 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.547e-05/1.272, allocations: 0 / 1.124 GB, free: 28.61 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007649/1.272, allocations: 65 kB / 1.124 GB, free: 28.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.566e-05/1.272, allocations: 3.75 kB / 1.124 GB, free: 28.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001272/1.274, allocations: 114.8 kB / 1.124 GB, free: 28.59 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001007/1.274, allocations: 21.27 kB / 1.124 GB, free: 28.59 MB / 0.698 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 () * Number of clocked 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.0004442/1.274, allocations: 159.8 kB / 1.124 GB, free: 28.46 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.413e-05/1.274, allocations: 34.27 kB / 1.124 GB, free: 28.45 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.635e-05/1.275, allocations: 29.44 kB / 1.124 GB, free: 28.43 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/1.275, allocations: 0 / 1.124 GB, free: 28.43 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/1.275, allocations: 3.938 kB / 1.124 GB, free: 28.43 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.572e-05/1.275, allocations: 3.047 kB / 1.124 GB, free: 28.43 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002908/1.278, allocations: 0.8132 MB / 1.125 GB, free: 28.11 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.346e-06/1.278, allocations: 4 kB / 1.125 GB, free: 28.11 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005421/1.278, allocations: 47.48 kB / 1.125 GB, free: 28.11 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.491e-05/1.278, allocations: 3.875 kB / 1.125 GB, free: 28.11 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.232e-05/1.278, allocations: 5.547 kB / 1.125 GB, free: 28.11 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.263e-06/1.278, allocations: 3.844 kB / 1.125 GB, free: 28.11 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/1.278, allocations: 0 / 1.125 GB, free: 28.11 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002402/1.281, allocations: 0.5262 MB / 1.126 GB, free: 27.95 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001399/1.281, allocations: 96.39 kB / 1.126 GB, free: 27.84 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.944e-05/1.281, allocations: 9.734 kB / 1.126 GB, free: 27.84 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005531/1.282, allocations: 41.45 kB / 1.126 GB, free: 27.84 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001618/1.282, allocations: 33.09 kB / 1.126 GB, free: 27.83 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.158e-05/1.282, allocations: 10.52 kB / 1.126 GB, free: 27.83 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002792/1.282, allocations: 154 kB / 1.126 GB, free: 27.75 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.51e-07/1.282, allocations: 0 / 1.126 GB, free: 27.75 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009096/1.283, allocations: 74.77 kB / 1.126 GB, free: 27.75 MB / 0.698 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) * Number of clocked states: 0 () * 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.003991/1.287, allocations: 1.093 MB / 1.127 GB, free: 27.06 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002716/1.29, allocations: 0.5591 MB / 1.128 GB, free: 26.91 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/1.29, allocations: 0 / 1.128 GB, free: 26.91 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000775/1.291, allocations: 198.7 kB / 1.128 GB, free: 26.91 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005368/1.291, allocations: 42.39 kB / 1.128 GB, free: 26.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002038/1.293, allocations: 1.414 MB / 1.129 GB, free: 25.77 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004048/1.294, allocations: 0.7554 MB / 1.13 GB, free: 25.07 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002607/1.294, allocations: 38.97 kB / 1.13 GB, free: 25.06 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001875/1.294, allocations: 70.88 kB / 1.13 GB, free: 25.06 MB / 0.698 GB Notification: Performance of SimCode: time 1.483e-06/1.294, allocations: 0 / 1.13 GB, free: 25.06 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02775/1.322, allocations: 5.852 MB / 1.136 GB, free: 23.6 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000176/1.322, allocations: 188.8 kB / 1.136 GB, free: 23.36 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.657/3.979, allocations: 4.953 kB / 1.136 GB, free: 23.36 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1)