Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.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.Continuous.Validation.Min,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Min,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Min",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.429/1.429, allocations: 251.9 MB / 266.9 MB, free: 10.99 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.001203/0.001203, allocations: 179.6 kB / 326.5 MB, free: 2.223 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.895/1.895, allocations: 205.4 MB / 0.5775 GB, free: 20.22 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.0008279/0.0008279, allocations: 96.47 kB / 0.6821 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003494/0.0003496, allocations: 14.2 kB / 0.7963 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2089/0.2093, allocations: 106.3 MB / 0.9002 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1631/0.3724, allocations: 131.4 MB / 1.028 GB, free: 12.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002101/0.3726, allocations: 75.95 kB / 1.029 GB, free: 12.12 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002193/0.3748, allocations: 0.8331 MB / 1.029 GB, free: 11.29 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3748, allocations: 0 / 1.029 GB, free: 11.29 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.725e-06/0.3749, allocations: 4 kB / 1.029 GB, free: 11.29 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000415/0.3753, allocations: 387 kB / 1.03 GB, free: 10.86 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.3753, allocations: 8.031 kB / 1.03 GB, free: 10.85 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.337e-05/0.3754, allocations: 30.56 kB / 1.03 GB, free: 10.81 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.201e-05/0.3754, allocations: 7.938 kB / 1.03 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001136/0.3755, allocations: 171 kB / 1.03 GB, free: 10.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.3755, allocations: 4 kB / 1.03 GB, free: 10.59 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.068e-05/0.3756, allocations: 4 kB / 1.03 GB, free: 10.59 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002483/0.3758, allocations: 77.66 kB / 1.03 GB, free: 10.51 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.3758, allocations: 0 / 1.03 GB, free: 10.51 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.395e-06/0.3758, allocations: 0 / 1.03 GB, free: 10.51 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.3758, allocations: 0 / 1.03 GB, free: 10.51 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003135/0.3762, allocations: 91.86 kB / 1.03 GB, free: 10.42 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004731/0.3766, allocations: 304.8 kB / 1.03 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001949/0.3769, allocations: 70.53 kB / 1.03 GB, free: 9.992 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.046e-05/0.3769, allocations: 0 / 1.03 GB, free: 9.992 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.115e-05/0.3769, allocations: 34.56 kB / 1.031 GB, free: 9.949 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.3769, allocations: 0 / 1.031 GB, free: 9.949 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.0005427/0.3775, allocations: 165.6 kB / 1.031 GB, free: 9.781 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.718e-05/0.3775, allocations: 51.41 kB / 1.031 GB, free: 9.719 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.643e-05/0.3776, allocations: 97 kB / 1.031 GB, free: 9.617 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/0.3776, allocations: 29.7 kB / 1.031 GB, free: 9.582 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.327e-05/0.3777, allocations: 92.03 kB / 1.031 GB, free: 9.488 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.704e-05/0.3777, allocations: 11.91 kB / 1.031 GB, free: 9.477 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.057e-06/0.3777, allocations: 0 / 1.031 GB, free: 9.477 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.3778, allocations: 318.8 kB / 1.031 GB, free: 9.156 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001449/0.378, allocations: 39.95 kB / 1.031 GB, free: 9.117 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001357/0.3781, allocations: 43.97 kB / 1.031 GB, free: 9.074 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001395/0.3783, allocations: 43.95 kB / 1.031 GB, free: 9.031 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.3783, allocations: 4 kB / 1.031 GB, free: 9.027 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003128/0.3786, allocations: 121.6 kB / 1.031 GB, free: 8.902 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.3786, allocations: 4 kB / 1.031 GB, free: 8.898 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.818e-06/0.3786, allocations: 0 / 1.031 GB, free: 8.898 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.3787, allocations: 0 / 1.031 GB, free: 8.898 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001348/0.3788, allocations: 19.98 kB / 1.032 GB, free: 8.879 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.3788, allocations: 0 / 1.032 GB, free: 8.879 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.297e-05/0.3789, allocations: 31.91 kB / 1.032 GB, free: 8.848 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.3789, allocations: 3.938 kB / 1.032 GB, free: 8.844 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: 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 7.618e-05/0.379, allocations: 113.8 kB / 1.032 GB, free: 8.723 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.43e-05/0.379, allocations: 3.906 kB / 1.032 GB, free: 8.719 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003639/0.3794, allocations: 133.8 kB / 1.032 GB, free: 8.578 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.3794, allocations: 0 / 1.032 GB, free: 8.578 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.3794, allocations: 0 / 1.032 GB, free: 8.578 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.3794, allocations: 4.031 kB / 1.032 GB, free: 8.574 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001686/0.3796, allocations: 181.6 kB / 1.032 GB, free: 8.348 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.3796, allocations: 0 / 1.032 GB, free: 8.348 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001023/0.3797, allocations: 23.92 kB / 1.032 GB, free: 8.324 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.3797, allocations: 0 / 1.032 GB, free: 8.324 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.427e-06/0.3798, allocations: 4 kB / 1.032 GB, free: 8.32 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.3798, allocations: 4 kB / 1.032 GB, free: 8.316 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3798, allocations: 320 / 1.032 GB, free: 8.316 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003755/0.3802, allocations: 223.4 kB / 1.032 GB, free: 8.082 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.977e-05/0.3802, allocations: 81.02 kB / 1.032 GB, free: 7.984 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.365e-05/0.3802, allocations: 0 / 1.032 GB, free: 7.984 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.3803, allocations: 19.92 kB / 1.032 GB, free: 7.965 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.876e-05/0.3804, allocations: 7.984 kB / 1.032 GB, free: 7.957 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.3804, allocations: 4 kB / 1.032 GB, free: 7.953 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.936e-05/0.3804, allocations: 87.27 kB / 1.032 GB, free: 7.867 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3804, allocations: 4 kB / 1.032 GB, free: 7.863 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001976/0.3807, allocations: 4 kB / 1.032 GB, free: 7.859 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: 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.0006325/0.3813, allocations: 0.7521 MB / 1.033 GB, free: 7.082 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003258/0.3816, allocations: 95.86 kB / 1.033 GB, free: 6.988 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.3816, allocations: 0 / 1.033 GB, free: 6.988 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001488/0.3818, allocations: 47.95 kB / 1.033 GB, free: 6.941 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000197/0.382, allocations: 4 kB / 1.033 GB, free: 6.938 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000424/0.3824, allocations: 178 kB / 1.033 GB, free: 6.719 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002621/0.3827, allocations: 0.6809 MB / 1.034 GB, free: 6.012 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.282e-05/0.3827, allocations: 4 kB / 1.034 GB, free: 6.008 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.359e-05/0.3828, allocations: 15.42 kB / 1.034 GB, free: 5.992 MB / 0.6823 GB Notification: Performance of SimCode: time 2.31e-07/0.3828, allocations: 0 / 1.034 GB, free: 5.992 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01037/0.3932, allocations: 1.28 MB / 1.035 GB, free: 4.863 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000154/0.3934, allocations: 185.9 kB / 1.036 GB, free: 4.629 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.496/1.89, allocations: 1.25 kB / 1.036 GB, free: 4.629 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Min_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Min.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe 2>&1)