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.Add.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.Add,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Add,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Add",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.827/1.827, allocations: 249.3 MB / 261.8 MB, free: 5.934 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.001277/0.001277, allocations: 178.1 kB / 321.3 MB, free: 14.62 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.695/1.695, allocations: 205.2 MB / 0.572 GB, free: 10.66 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.0009022/0.0009021, allocations: 90.53 kB / 0.6764 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.513e-05/3.524e-05, allocations: 4 kB / 0.7881 GB, free: 96.96 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2036/0.2036, allocations: 106.3 MB / 0.8919 GB, free: 6.531 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7285/0.9322, allocations: 131.3 MB / 1.02 GB, free: 3.383 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002387/0.9325, allocations: 75.16 kB / 1.02 GB, free: 3.34 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.00262/0.9351, allocations: 0.8686 MB / 1.021 GB, free: 2.539 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.517e-06/0.9352, allocations: 4 kB / 1.021 GB, free: 2.535 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.737e-06/0.9352, allocations: 0 / 1.021 GB, free: 2.535 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.0005567/0.9358, allocations: 357.8 kB / 1.021 GB, free: 2.145 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.48e-05/0.9358, allocations: 12.03 kB / 1.021 GB, free: 2.133 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.136e-05/0.9359, allocations: 38.55 kB / 1.021 GB, free: 2.086 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.006e-05/0.9359, allocations: 7.844 kB / 1.021 GB, free: 2.078 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001618/0.9361, allocations: 171 kB / 1.022 GB, free: 1.871 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/0.9361, allocations: 3.375 kB / 1.022 GB, free: 1.871 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.428e-05/0.9361, allocations: 7.938 kB / 1.022 GB, free: 1.863 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001374/0.9363, allocations: 45.5 kB / 1.022 GB, free: 1.82 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.9363, allocations: 0 / 1.022 GB, free: 1.82 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.9363, allocations: 0 / 1.022 GB, free: 1.82 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.9363, allocations: 4 kB / 1.022 GB, free: 1.816 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.351e-05/0.9364, allocations: 23.17 kB / 1.022 GB, free: 1.801 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006074/0.937, allocations: 305.4 kB / 1.022 GB, free: 1.469 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.202e-05/0.9371, allocations: 42.17 kB / 1.022 GB, free: 1.426 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.074e-05/0.9372, allocations: 16.59 kB / 1.022 GB, free: 1.41 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.462e-05/0.9372, allocations: 0 / 1.022 GB, free: 1.41 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.147e-05/0.9372, allocations: 34.56 kB / 1.022 GB, free: 1.367 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.9372, allocations: 2.625 kB / 1.022 GB, free: 1.367 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001676/0.9374, allocations: 44.2 kB / 1.022 GB, free: 1.324 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.163e-05/0.9375, allocations: 59.28 kB / 1.022 GB, free: 1.258 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.9376, allocations: 112.3 kB / 1.022 GB, free: 1.141 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/0.9376, allocations: 25.7 kB / 1.022 GB, free: 1.109 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.881e-05/0.9377, allocations: 88.02 kB / 1.022 GB, free: 1.023 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.668e-05/0.9378, allocations: 15.73 kB / 1.022 GB, free: 1.008 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.528e-06/0.9378, allocations: 0 / 1.022 GB, free: 1.008 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.9379, allocations: 318.5 kB / 1.023 GB, free: 0.6914 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.787e-05/0.938, allocations: 7.125 kB / 1.023 GB, free: 0.6875 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.24e-05/0.938, allocations: 10.28 kB / 1.023 GB, free: 0.6836 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.75e-05/0.938, allocations: 11.5 kB / 1.023 GB, free: 0.6758 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.938, allocations: 4.375 kB / 1.023 GB, free: 0.6719 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.134e-05/0.9381, allocations: 52.69 kB / 1.023 GB, free: 0.6211 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.9381, allocations: 4 kB / 1.023 GB, free: 0.6172 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.9382, allocations: 0 / 1.023 GB, free: 0.6172 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.9382, allocations: 3.938 kB / 1.023 GB, free: 0.6133 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001586/0.9383, allocations: 27.91 kB / 1.023 GB, free: 0.5859 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.9384, allocations: 0 / 1.023 GB, free: 0.5859 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.095e-05/0.9385, allocations: 23.86 kB / 1.023 GB, free: 0.5664 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.9385, allocations: 3.953 kB / 1.023 GB, free: 0.5625 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 7.95e-05/0.9386, allocations: 105 kB / 1.023 GB, free: 464 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.558e-05/0.9386, allocations: 3.906 kB / 1.023 GB, free: 460 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.233e-05/0.9386, allocations: 11.09 kB / 1.023 GB, free: 448 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.9386, allocations: 4 kB / 1.023 GB, free: 444 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.9386, allocations: 0 / 1.023 GB, free: 444 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.9387, allocations: 4 kB / 1.023 GB, free: 440 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001755/0.9388, allocations: 177.3 kB / 1.023 GB, free: 220 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.9388, allocations: 0.875 kB / 1.023 GB, free: 220 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001069/0.939, allocations: 19.98 kB / 1.023 GB, free: 200 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.939, allocations: 0 / 1.023 GB, free: 200 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.939, allocations: 0 / 1.023 GB, free: 200 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.939, allocations: 0 / 1.023 GB, free: 200 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.939, allocations: 3.984 kB / 1.023 GB, free: 196 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001503/0.9392, allocations: 157.6 kB / 1.023 GB, free: 32 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.982e-05/0.9392, allocations: 86.06 kB / 1.023 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.48e-05/0.9393, allocations: 0 / 1.023 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001195/0.9394, allocations: 16.22 kB / 1.023 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.856e-05/0.9394, allocations: 7.672 kB / 1.023 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/0.9394, allocations: 4 kB / 1.023 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.264e-05/0.9395, allocations: 91.09 kB / 1.024 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9395, allocations: 0 / 1.024 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002105/0.9397, allocations: 8 kB / 1.024 GB, free: 15.81 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.0005073/0.9402, allocations: 0.6879 MB / 1.024 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001002/0.9403, allocations: 23.06 kB / 1.024 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.9404, allocations: 4 kB / 1.024 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 5e-05/0.9404, allocations: 18.67 kB / 1.024 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002039/0.9406, allocations: 13.03 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.0003688/0.941, allocations: 109.9 kB / 1.024 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002856/0.9413, allocations: 0.6809 MB / 1.025 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.121e-05/0.9413, allocations: 15.84 kB / 1.025 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.007e-05/0.9414, allocations: 11.12 kB / 1.025 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of SimCode: time 3.71e-07/0.9414, allocations: 0 / 1.025 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0124/0.9538, allocations: 1.339 MB / 1.026 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001898/0.9541, allocations: 168.4 kB / 1.027 GB, free: 12.75 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.49/2.444, allocations: 0 / 1.027 GB, free: 12.75 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Add_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Add.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe 2>&1)