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.398/1.398, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.001123/0.001123, allocations: 178.6 kB / 326.5 MB, free: 2.25 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.928/1.928, allocations: 205.4 MB / 0.5775 GB, free: 20.58 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.0008424/0.0008424, allocations: 92.36 kB / 0.6821 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005516/0.0005515, allocations: 9.625 kB / 0.7963 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2459/0.2465, allocations: 106.3 MB / 0.9002 GB, free: 64.35 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1805/0.4271, allocations: 130.9 MB / 1.028 GB, free: 13.32 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002246/0.4274, allocations: 75.95 kB / 1.028 GB, free: 13.25 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0004907/0.4279, allocations: 372.8 kB / 1.028 GB, free: 12.88 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.555e-06/0.4279, allocations: 0 / 1.028 GB, free: 12.88 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.715e-06/0.4279, allocations: 0 / 1.028 GB, free: 12.88 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002889/0.4282, allocations: 319.4 kB / 1.029 GB, free: 12.52 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.237e-05/0.4283, allocations: 8.031 kB / 1.029 GB, free: 12.51 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.077e-05/0.4283, allocations: 30.56 kB / 1.029 GB, free: 12.47 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.767e-05/0.4284, allocations: 4 kB / 1.029 GB, free: 12.47 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001363/0.4285, allocations: 167 kB / 1.029 GB, free: 12.27 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.4285, allocations: 3.984 kB / 1.029 GB, free: 12.26 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.077e-05/0.4285, allocations: 4 kB / 1.029 GB, free: 12.26 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001025/0.4286, allocations: 37.58 kB / 1.029 GB, free: 12.21 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.956e-06/0.4287, allocations: 4 kB / 1.029 GB, free: 12.21 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.4287, allocations: 0 / 1.029 GB, free: 12.21 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.4287, allocations: 0 / 1.029 GB, free: 12.21 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.012e-05/0.4287, allocations: 0 / 1.029 GB, free: 12.21 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003688/0.4291, allocations: 383.5 kB / 1.029 GB, free: 11.79 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001011/0.4292, allocations: 173.1 kB / 1.029 GB, free: 11.61 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.161e-05/0.4292, allocations: 75.28 kB / 1.03 GB, free: 11.53 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.314e-05/0.4293, allocations: 105.9 kB / 1.03 GB, free: 11.42 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=0): time 1.123e-06/0.4293, allocations: 4 kB / 1.03 GB, free: 11.41 MB / 0.6823 GB Notification: Performance of matching and sorting (n=0): time 8.773e-05/0.4294, allocations: 25.7 kB / 1.03 GB, free: 11.38 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.063e-05/0.4295, allocations: 135.5 kB / 1.03 GB, free: 11.24 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001155/0.4296, allocations: 93 kB / 1.03 GB, free: 11.14 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/0.4297, allocations: 25.7 kB / 1.03 GB, free: 11.11 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.293e-05/0.4297, allocations: 80.14 kB / 1.03 GB, free: 11.03 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.426e-06/0.4297, allocations: 0 / 1.03 GB, free: 11.03 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.2e-07/0.4297, allocations: 0 / 1.03 GB, free: 11.03 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.4299, allocations: 314.8 kB / 1.03 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.24e-05/0.4299, allocations: 0 / 1.03 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.606e-06/0.4299, allocations: 8.062 kB / 1.03 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.782e-05/0.4299, allocations: 79.28 kB / 1.03 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.747e-05/0.43, allocations: 75.28 kB / 1.03 GB, free: 10.55 MB / 0.6823 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.434e-05/0.43, allocations: 25.7 kB / 1.03 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.645e-05/0.4301, allocations: 87.28 kB / 1.031 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.193e-05/0.4301, allocations: 79.27 kB / 1.031 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.007e-05/0.4302, allocations: 156.1 kB / 1.031 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.945e-05/0.4302, allocations: 79.28 kB / 1.031 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.835e-05/0.4302, allocations: 154.5 kB / 1.031 GB, free: 9.973 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.976e-05/0.4303, allocations: 79.28 kB / 1.031 GB, free: 9.895 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.809e-05/0.4304, allocations: 79.28 kB / 1.031 GB, free: 9.816 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 (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.0001103/0.4305, allocations: 268.3 kB / 1.031 GB, free: 9.543 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.682e-05/0.4305, allocations: 112.9 kB / 1.032 GB, free: 9.426 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.424e-05/0.4306, allocations: 112.1 kB / 1.032 GB, free: 9.309 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.933e-05/0.4306, allocations: 180.2 kB / 1.032 GB, free: 9.125 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.988e-05/0.4307, allocations: 176.3 kB / 1.032 GB, free: 8.945 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.84e-05/0.4308, allocations: 184.2 kB / 1.032 GB, free: 8.758 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002172/0.431, allocations: 409.1 kB / 1.033 GB, free: 8.301 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.044e-05/0.431, allocations: 105 kB / 1.033 GB, free: 8.191 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.549e-05/0.4311, allocations: 108.9 kB / 1.033 GB, free: 8.078 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.519e-05/0.4312, allocations: 180.2 kB / 1.033 GB, free: 7.895 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.832e-05/0.4312, allocations: 180.2 kB / 1.033 GB, free: 7.711 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.011e-05/0.4313, allocations: 181.1 kB / 1.033 GB, free: 7.527 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.426e-05/0.4314, allocations: 180.3 kB / 1.033 GB, free: 7.344 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001611/0.4315, allocations: 307.7 kB / 1.034 GB, free: 7.02 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.976e-05/0.4316, allocations: 190 kB / 1.034 GB, free: 6.809 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.758e-05/0.4317, allocations: 176.3 kB / 1.034 GB, free: 6.629 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.469e-05/0.4318, allocations: 101.4 kB / 1.034 GB, free: 6.523 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.491e-05/0.4319, allocations: 196.2 kB / 1.034 GB, free: 6.324 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.994e-05/0.4319, allocations: 101 kB / 1.034 GB, free: 6.219 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.21e-05/0.4319, allocations: 79.28 kB / 1.035 GB, free: 6.141 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1e-07/0.432, allocations: 0 / 1.035 GB, free: 6.141 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002362/0.4322, allocations: 4 kB / 1.035 GB, free: 6.137 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 (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.000451/0.4327, allocations: 0.8127 MB / 1.035 GB, free: 5.297 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 3.894e-05/0.4327, allocations: 4 kB / 1.035 GB, free: 5.293 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.4327, allocations: 0 / 1.035 GB, free: 5.293 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 2.415e-06/0.4327, allocations: 0 / 1.035 GB, free: 5.293 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002891/0.433, allocations: 0.5246 MB / 1.036 GB, free: 4.766 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006346/0.4337, allocations: 497.9 kB / 1.036 GB, free: 4.23 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000241/0.4339, allocations: 0.6809 MB / 1.037 GB, free: 3.523 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 9.408e-06/0.4339, allocations: 0 / 1.037 GB, free: 3.523 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.587e-05/0.434, allocations: 11.53 kB / 1.037 GB, free: 3.512 MB / 0.6823 GB Notification: Performance of SimCode: time 4.91e-07/0.434, allocations: 3.938 kB / 1.037 GB, free: 3.508 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0103/0.4443, allocations: 0.7404 MB / 1.038 GB, free: 2.941 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001711/0.4445, allocations: 198.5 kB / 1.038 GB, free: 2.707 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.412/1.857, allocations: 0 / 1.038 GB, free: 2.707 MB / 0.6823 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)