Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.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.Continuous.Validation.Max,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Max,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Max",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.759/1.759, allocations: 292.6 MB / 307.5 MB, free: 5.203 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.001577/0.001577, allocations: 176.9 kB / 377.1 MB, free: 1.539 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.828/1.828, allocations: 205.4 MB / 0.6366 GB, free: 8.609 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.0008681/0.0008681, allocations: 90.55 kB / 0.7509 GB, free: 63.29 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005088/0.0005086, allocations: 12 kB / 0.8749 GB, free: 11.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2636/0.2641, allocations: 116.3 MB / 0.9884 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6647/0.9289, allocations: 138.5 MB / 1.124 GB, free: 35.9 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000267/0.9292, allocations: 66.03 kB / 1.124 GB, free: 35.84 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.00227/0.9315, allocations: 0.808 MB / 1.125 GB, free: 35.21 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.384e-06/0.9316, allocations: 0 / 1.125 GB, free: 35.21 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.625e-06/0.9316, allocations: 4 kB / 1.125 GB, free: 35.2 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004486/0.932, allocations: 367.7 kB / 1.125 GB, free: 34.82 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.9321, allocations: 12.02 kB / 1.125 GB, free: 34.8 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.717e-05/0.9321, allocations: 30.56 kB / 1.125 GB, free: 34.77 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.287e-05/0.9322, allocations: 6.062 kB / 1.125 GB, free: 34.76 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.615e-05/0.9323, allocations: 179.5 kB / 1.125 GB, free: 34.55 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.9323, allocations: 4.625 kB / 1.125 GB, free: 34.54 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.127e-05/0.9323, allocations: 3.984 kB / 1.125 GB, free: 34.54 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002481/0.9326, allocations: 83.28 kB / 1.125 GB, free: 34.47 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.9326, allocations: 0 / 1.125 GB, free: 34.47 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.9326, allocations: 4.703 kB / 1.125 GB, free: 34.46 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.9326, allocations: 0.6875 kB / 1.125 GB, free: 34.46 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002748/0.9329, allocations: 90.27 kB / 1.125 GB, free: 34.4 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004598/0.9334, allocations: 298.1 kB / 1.126 GB, free: 34.08 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001904/0.9336, allocations: 63.95 kB / 1.126 GB, free: 34.02 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.239e-05/0.9336, allocations: 11.97 kB / 1.126 GB, free: 34.02 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.954e-05/0.9336, allocations: 38.56 kB / 1.126 GB, free: 33.97 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.9336, allocations: 0 / 1.126 GB, free: 33.97 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0005372/0.9342, allocations: 160.8 kB / 1.126 GB, free: 33.84 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.017e-05/0.9342, allocations: 51.41 kB / 1.126 GB, free: 33.77 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.284e-05/0.9343, allocations: 105.1 kB / 1.126 GB, free: 33.67 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.027e-06/0.9343, allocations: 30.36 kB / 1.126 GB, free: 33.63 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.067e-05/0.9344, allocations: 84.14 kB / 1.126 GB, free: 33.55 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.699e-05/0.9344, allocations: 3.906 kB / 1.126 GB, free: 33.54 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.457e-06/0.9344, allocations: 4 kB / 1.126 GB, free: 33.54 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.9345, allocations: 322.4 kB / 1.126 GB, free: 33.22 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001441/0.9347, allocations: 38.94 kB / 1.126 GB, free: 33.19 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001213/0.9348, allocations: 42.98 kB / 1.127 GB, free: 33.16 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001278/0.9349, allocations: 48.52 kB / 1.127 GB, free: 33.12 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.9349, allocations: 0 / 1.127 GB, free: 33.12 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000287/0.9352, allocations: 126 kB / 1.127 GB, free: 33.01 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.9352, allocations: 4.781 kB / 1.127 GB, free: 33.01 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.9353, allocations: 4.984 kB / 1.127 GB, free: 33 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.9353, allocations: 4 kB / 1.127 GB, free: 33 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001327/0.9354, allocations: 18.75 kB / 1.127 GB, free: 32.99 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.9354, allocations: 8 kB / 1.127 GB, free: 32.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.349e-05/0.9355, allocations: 15.89 kB / 1.127 GB, free: 32.97 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.9355, allocations: 0 / 1.127 GB, free: 32.97 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 6.903e-05/0.9356, allocations: 121 kB / 1.127 GB, free: 32.84 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.536e-05/0.9356, allocations: 6.203 kB / 1.127 GB, free: 32.84 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003471/0.936, allocations: 125.5 kB / 1.127 GB, free: 32.73 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.936, allocations: 8 kB / 1.127 GB, free: 32.73 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/0.936, allocations: 0 / 1.127 GB, free: 32.73 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.936, allocations: 0.5 kB / 1.127 GB, free: 32.73 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001421/0.9362, allocations: 172.1 kB / 1.127 GB, free: 32.52 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.9362, allocations: 0 / 1.127 GB, free: 32.52 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001034/0.9363, allocations: 20.03 kB / 1.127 GB, free: 32.5 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.9363, allocations: 0 / 1.127 GB, free: 32.5 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.9363, allocations: 4 kB / 1.127 GB, free: 32.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.9363, allocations: 0.9375 kB / 1.127 GB, free: 32.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.9364, allocations: 7.984 kB / 1.127 GB, free: 32.5 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003707/0.9367, allocations: 221.1 kB / 1.127 GB, free: 32.29 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.617e-05/0.9368, allocations: 81.11 kB / 1.127 GB, free: 32.19 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.551e-05/0.9368, allocations: 0 / 1.127 GB, free: 32.19 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001161/0.9369, allocations: 23.16 kB / 1.127 GB, free: 32.17 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.986e-05/0.937, allocations: 4 kB / 1.127 GB, free: 32.17 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.997e-06/0.937, allocations: 0 / 1.127 GB, free: 32.17 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.308e-05/0.937, allocations: 92.16 kB / 1.128 GB, free: 32.08 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.1e-07/0.937, allocations: 0 / 1.128 GB, free: 32.08 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002007/0.9372, allocations: 8.656 kB / 1.128 GB, free: 32.07 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0005574/0.9378, allocations: 0.7521 MB / 1.128 GB, free: 31.32 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003157/0.9381, allocations: 100.1 kB / 1.128 GB, free: 31.25 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.9381, allocations: 0 / 1.128 GB, free: 31.25 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.000136/0.9383, allocations: 45.8 kB / 1.128 GB, free: 31.21 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000221/0.9385, allocations: 4.562 kB / 1.128 GB, free: 31.21 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004193/0.9389, allocations: 162.5 kB / 1.129 GB, free: 31.02 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001554/0.9391, allocations: 0.6844 MB / 1.129 GB, free: 30.32 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.472e-05/0.9392, allocations: 11.94 kB / 1.129 GB, free: 30.31 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.517e-05/0.9392, allocations: 11.44 kB / 1.129 GB, free: 30.3 MB / 0.7292 GB Notification: Performance of SimCode: time 3.01e-07/0.9392, allocations: 0 / 1.129 GB, free: 30.3 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01159/0.9508, allocations: 1.275 MB / 1.131 GB, free: 29.63 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001469/0.951, allocations: 181.4 kB / 1.131 GB, free: 29.39 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.736/2.687, allocations: 0.8125 kB / 1.131 GB, free: 29.39 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Max_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Max.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe 2>&1)