Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.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.Sources.Validation.Constant,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Constant",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.499/1.499, 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.00117/0.00117, allocations: 184.9 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.657/1.657, allocations: 205.2 MB / 0.572 GB, free: 10.62 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.0008563/0.0008562, allocations: 82.5 kB / 0.6764 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 5.678e-05/5.681e-05, allocations: 8 kB / 0.7881 GB, free: 96.99 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2725/0.2726, allocations: 106.3 MB / 0.8919 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9114/1.184, allocations: 130.8 MB / 1.02 GB, free: 3.914 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003189/1.184, allocations: 71.7 kB / 1.02 GB, free: 3.875 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0006798/1.185, allocations: 372.5 kB / 1.02 GB, free: 3.516 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.013e-06/1.185, allocations: 0 / 1.02 GB, free: 3.516 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.165e-06/1.185, allocations: 1.125 kB / 1.02 GB, free: 3.516 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003241/1.186, allocations: 307 kB / 1.02 GB, free: 3.172 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.347e-05/1.186, allocations: 11.75 kB / 1.02 GB, free: 3.164 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.141e-05/1.186, allocations: 34.5 kB / 1.02 GB, free: 3.125 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.644e-05/1.186, allocations: 0 / 1.02 GB, free: 3.125 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001878/1.186, allocations: 173.4 kB / 1.021 GB, free: 2.918 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/1.186, allocations: 3.125 kB / 1.021 GB, free: 2.918 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.758e-06/1.186, allocations: 0 / 1.021 GB, free: 2.918 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001351/1.186, allocations: 25.7 kB / 1.021 GB, free: 2.887 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/1.186, allocations: 0 / 1.021 GB, free: 2.887 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.699e-06/1.186, allocations: 8 kB / 1.021 GB, free: 2.879 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/1.186, allocations: 0 / 1.021 GB, free: 2.879 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.362e-05/1.186, allocations: 0 / 1.021 GB, free: 2.879 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004009/1.187, allocations: 385.7 kB / 1.021 GB, free: 2.453 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.297e-05/1.187, allocations: 171.8 kB / 1.021 GB, free: 2.277 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.033e-05/1.187, allocations: 84.14 kB / 1.021 GB, free: 2.191 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.347e-05/1.187, allocations: 75.28 kB / 1.021 GB, free: 2.117 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.108e-05/1.187, allocations: 109.9 kB / 1.021 GB, free: 2 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 3.196e-06/1.187, allocations: 0 / 1.021 GB, free: 2 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 9.286e-05/1.187, allocations: 38.72 kB / 1.021 GB, free: 1.965 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.813e-05/1.187, allocations: 126.7 kB / 1.022 GB, free: 1.828 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.147e-05/1.187, allocations: 96.98 kB / 1.022 GB, free: 1.727 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.274e-05/1.187, allocations: 25.7 kB / 1.022 GB, free: 1.695 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.802e-05/1.187, allocations: 80.14 kB / 1.022 GB, free: 1.613 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.315e-06/1.187, allocations: 0 / 1.022 GB, free: 1.613 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.61e-07/1.187, allocations: 0 / 1.022 GB, free: 1.613 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000124/1.187, allocations: 317.8 kB / 1.022 GB, free: 1.297 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.699e-06/1.187, allocations: 0 / 1.022 GB, free: 1.297 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.869e-06/1.187, allocations: 4 kB / 1.022 GB, free: 1.293 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.743e-05/1.187, allocations: 75.28 kB / 1.022 GB, free: 1.219 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.998e-05/1.187, allocations: 79.41 kB / 1.022 GB, free: 1.141 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0) (initialization): time 7.045e-05/1.188, allocations: 29.64 kB / 1.022 GB, free: 1.105 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.745e-05/1.188, allocations: 83.28 kB / 1.022 GB, free: 1.023 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.017e-05/1.188, allocations: 75.28 kB / 1.022 GB, free: 0.9492 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.721e-05/1.188, allocations: 154.5 kB / 1.023 GB, free: 0.7969 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.369e-05/1.188, allocations: 79.27 kB / 1.023 GB, free: 0.7188 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.002e-05/1.188, allocations: 157.6 kB / 1.023 GB, free: 0.5664 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.317e-05/1.188, allocations: 83.22 kB / 1.023 GB, free: 496 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.14e-05/1.188, allocations: 75.28 kB / 1.023 GB, free: 420 kB / 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 (0): * Single equations (assignments): 0 * 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 0.000133/1.188, allocations: 255.5 kB / 1.023 GB, free: 156 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.632e-05/1.188, allocations: 108.9 kB / 1.023 GB, free: 40 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.179e-05/1.188, allocations: 111.6 kB / 1.023 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.9e-05/1.188, allocations: 184.6 kB / 1.024 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001061/1.189, allocations: 184.2 kB / 1.024 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.593e-05/1.189, allocations: 184.2 kB / 1.024 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000328/1.189, allocations: 408.4 kB / 1.024 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.012e-05/1.189, allocations: 101 kB / 1.024 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.105e-05/1.189, allocations: 105 kB / 1.024 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001018/1.189, allocations: 184.2 kB / 1.025 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.499e-05/1.189, allocations: 176.3 kB / 1.025 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001119/1.189, allocations: 187.8 kB / 1.025 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.08e-05/1.19, allocations: 180.3 kB / 1.025 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002089/1.19, allocations: 311.5 kB / 1.025 GB, free: 13.63 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 9.852e-05/1.19, allocations: 182.1 kB / 1.026 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001241/1.19, allocations: 183 kB / 1.026 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/1.19, allocations: 101 kB / 1.026 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.539e-05/1.19, allocations: 188.1 kB / 1.026 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.523e-05/1.19, allocations: 104.2 kB / 1.026 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.423e-05/1.19, allocations: 79.28 kB / 1.026 GB, free: 12.77 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.6e-07/1.19, allocations: 4 kB / 1.026 GB, free: 12.76 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003572/1.191, allocations: 0 / 1.026 GB, free: 12.76 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 (0): * Single equations (assignments): 0 * 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.000553/1.191, allocations: 0.8169 MB / 1.027 GB, free: 11.92 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 3.525e-05/1.191, allocations: 0 / 1.027 GB, free: 11.92 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/1.191, allocations: 0 / 1.027 GB, free: 11.92 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 5.2e-06/1.191, allocations: 4 kB / 1.027 GB, free: 11.92 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004065/1.192, allocations: 0.5176 MB / 1.028 GB, free: 11.4 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004593/1.192, allocations: 154.4 kB / 1.028 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003163/1.193, allocations: 0.6731 MB / 1.028 GB, free: 10.51 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.1e-05/1.193, allocations: 4 kB / 1.028 GB, free: 10.51 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.522e-05/1.193, allocations: 11.38 kB / 1.028 GB, free: 10.5 MB / 0.6511 GB Notification: Performance of SimCode: time 3.61e-07/1.193, allocations: 0 / 1.028 GB, free: 10.5 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01471/1.207, allocations: 0.7438 MB / 1.029 GB, free: 9.875 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000276/1.208, allocations: 180.5 kB / 1.029 GB, free: 9.652 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.454/2.661, allocations: 7.938 kB / 1.029 GB, free: 9.645 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Constant.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe 2>&1)