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.Max.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.Max,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Max,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.634/1.634, allocations: 249.3 MB / 261.8 MB, free: 5.879 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001163/0.001163, allocations: 166.2 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.64/1.64, allocations: 205.2 MB / 0.572 GB, free: 10.64 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.0009264/0.0009263, allocations: 90.84 kB / 0.6764 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.722e-05/3.723e-05, allocations: 4 kB / 0.7881 GB, free: 97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.217/0.2171, allocations: 106.3 MB / 0.8919 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.696/0.9132, allocations: 131.3 MB / 1.02 GB, free: 3.395 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002106/0.9134, allocations: 72.8 kB / 1.02 GB, free: 3.355 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002304/0.9157, allocations: 0.8331 MB / 1.021 GB, free: 2.578 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.663e-06/0.9158, allocations: 0 / 1.021 GB, free: 2.578 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.803e-06/0.9158, allocations: 4 kB / 1.021 GB, free: 2.574 MB / 0.6355 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.000429/0.9162, allocations: 358.8 kB / 1.021 GB, free: 2.184 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.9163, allocations: 8.031 kB / 1.021 GB, free: 2.176 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.238e-05/0.9163, allocations: 34.56 kB / 1.021 GB, free: 2.133 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.548e-05/0.9163, allocations: 7.906 kB / 1.021 GB, free: 2.125 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001281/0.9165, allocations: 174.6 kB / 1.022 GB, free: 1.918 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/0.9165, allocations: 0 / 1.022 GB, free: 1.918 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.39e-05/0.9165, allocations: 4 kB / 1.022 GB, free: 1.914 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000119/0.9166, allocations: 48.88 kB / 1.022 GB, free: 1.867 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-06/0.9167, allocations: 0 / 1.022 GB, free: 1.867 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/0.9167, allocations: 0 / 1.022 GB, free: 1.867 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.9167, allocations: 0 / 1.022 GB, free: 1.867 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.698e-05/0.9167, allocations: 19 kB / 1.022 GB, free: 1.855 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005389/0.9173, allocations: 306.5 kB / 1.022 GB, free: 1.52 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.59e-05/0.9174, allocations: 37.2 kB / 1.022 GB, free: 1.48 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.585e-05/0.9174, allocations: 18.8 kB / 1.022 GB, free: 1.465 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.295e-05/0.9174, allocations: 4 kB / 1.022 GB, free: 1.461 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.312e-05/0.9175, allocations: 41.25 kB / 1.022 GB, free: 1.414 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.153e-06/0.9175, allocations: 0 / 1.022 GB, free: 1.414 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001569/0.9176, allocations: 48.23 kB / 1.022 GB, free: 1.367 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.996e-05/0.9177, allocations: 55.41 kB / 1.022 GB, free: 1.301 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.907e-05/0.9178, allocations: 106.9 kB / 1.022 GB, free: 1.195 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/0.9178, allocations: 25.7 kB / 1.022 GB, free: 1.164 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.014e-05/0.9179, allocations: 87.7 kB / 1.022 GB, free: 1.078 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.8e-05/0.9179, allocations: 7.906 kB / 1.022 GB, free: 1.07 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.347e-06/0.9179, allocations: 0 / 1.022 GB, free: 1.07 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.918, allocations: 318.1 kB / 1.023 GB, free: 0.7539 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.573e-05/0.9181, allocations: 10.94 kB / 1.023 GB, free: 0.7461 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.202e-05/0.9181, allocations: 14.09 kB / 1.023 GB, free: 0.7383 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.592e-05/0.9181, allocations: 7.062 kB / 1.023 GB, free: 0.7344 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.9181, allocations: 0 / 1.023 GB, free: 0.7344 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.589e-05/0.9182, allocations: 56.09 kB / 1.023 GB, free: 0.6797 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.9182, allocations: 8 kB / 1.023 GB, free: 0.6719 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.75e-06/0.9183, allocations: 1.938 kB / 1.023 GB, free: 0.6719 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.009e-05/0.9183, allocations: 0 / 1.023 GB, free: 0.6719 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001446/0.9184, allocations: 19.98 kB / 1.023 GB, free: 0.6523 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.9184, allocations: 0.7031 kB / 1.023 GB, free: 0.6523 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.004e-05/0.9185, allocations: 19.97 kB / 1.023 GB, free: 0.6328 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.344e-05/0.9186, allocations: 11.95 kB / 1.023 GB, free: 0.6211 MB / 0.6355 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 () * 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.62e-05/0.9186, allocations: 102.9 kB / 1.023 GB, free: 0.5156 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.558e-05/0.9187, allocations: 3.938 kB / 1.023 GB, free: 0.5117 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001323/0.9188, allocations: 62.97 kB / 1.023 GB, free: 460 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.9188, allocations: 0 / 1.023 GB, free: 460 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.778e-06/0.9188, allocations: 0 / 1.023 GB, free: 460 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.9188, allocations: 0 / 1.023 GB, free: 460 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001789/0.919, allocations: 183.5 kB / 1.023 GB, free: 236 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.919, allocations: 0 / 1.023 GB, free: 236 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00011/0.9191, allocations: 23.98 kB / 1.023 GB, free: 212 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.9191, allocations: 0 / 1.023 GB, free: 212 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.9192, allocations: 0.875 kB / 1.023 GB, free: 212 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.9192, allocations: 4 kB / 1.023 GB, free: 208 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.9192, allocations: 0 / 1.023 GB, free: 208 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001461/0.9193, allocations: 150.4 kB / 1.023 GB, free: 48 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.184e-05/0.9194, allocations: 88.78 kB / 1.023 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.36e-05/0.9194, allocations: 0 / 1.023 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000121/0.9195, allocations: 19.92 kB / 1.023 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.791e-05/0.9196, allocations: 4.875 kB / 1.023 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.102e-06/0.9196, allocations: 3.984 kB / 1.023 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.55e-05/0.9197, allocations: 90.95 kB / 1.024 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9197, allocations: 0 / 1.024 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002118/0.9199, allocations: 15.84 kB / 1.024 GB, free: 15.82 MB / 0.6511 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 () * 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.0004354/0.9203, allocations: 0.6845 MB / 1.024 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 9.644e-05/0.9204, allocations: 27.42 kB / 1.024 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.9205, allocations: 0 / 1.024 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.338e-05/0.9205, allocations: 15.42 kB / 1.024 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001888/0.9207, allocations: 11.69 kB / 1.024 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003686/0.9211, allocations: 107.4 kB / 1.024 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002623/0.9213, allocations: 0.6809 MB / 1.025 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.109e-05/0.9214, allocations: 3.938 kB / 1.025 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.569e-05/0.9214, allocations: 18.75 kB / 1.025 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of SimCode: time 3.6e-07/0.9214, allocations: 0 / 1.025 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01272/0.9342, allocations: 1.29 MB / 1.026 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002755/0.9345, allocations: 178.9 kB / 1.026 GB, free: 12.81 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.462/2.396, allocations: 0 / 1.026 GB, free: 12.81 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Max_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Max.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe 2>&1)