Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.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.Logical.Sources.Validation.Constant,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_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.428/1.428, allocations: 251.9 MB / 266.9 MB, free: 11.01 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.001108/0.001108, allocations: 193 kB / 326.5 MB, free: 2.219 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.949/1.949, allocations: 205.4 MB / 0.5775 GB, free: 20.26 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.0007746/0.0007746, allocations: 90.36 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004468/0.0004466, allocations: 8.656 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2062/0.2066, allocations: 106.3 MB / 0.9002 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1592/0.3659, allocations: 130.9 MB / 1.028 GB, free: 12.76 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002016/0.3662, allocations: 71.94 kB / 1.028 GB, free: 12.69 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0004487/0.3666, allocations: 372.9 kB / 1.028 GB, free: 12.32 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.214e-06/0.3666, allocations: 0 / 1.028 GB, free: 12.32 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.204e-06/0.3667, allocations: 0 / 1.028 GB, free: 12.32 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.0002764/0.3669, allocations: 327.2 kB / 1.029 GB, free: 11.96 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.367, allocations: 8.031 kB / 1.029 GB, free: 11.95 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.492e-05/0.367, allocations: 34.56 kB / 1.029 GB, free: 11.91 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.808e-05/0.3671, allocations: 4 kB / 1.029 GB, free: 11.9 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001121/0.3672, allocations: 167 kB / 1.029 GB, free: 11.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.3672, allocations: 0 / 1.029 GB, free: 11.7 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.215e-06/0.3672, allocations: 0 / 1.029 GB, free: 11.7 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.225e-05/0.3673, allocations: 29.64 kB / 1.029 GB, free: 11.66 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.3673, allocations: 0 / 1.029 GB, free: 11.66 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.232e-06/0.3673, allocations: 0 / 1.029 GB, free: 11.66 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/0.3673, allocations: 0 / 1.029 GB, free: 11.66 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.866e-05/0.3674, allocations: 7.984 kB / 1.029 GB, free: 11.66 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000323/0.3677, allocations: 383.5 kB / 1.029 GB, free: 11.23 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 8.025e-05/0.3678, allocations: 165.1 kB / 1.029 GB, free: 11.06 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.975e-05/0.3678, allocations: 83.2 kB / 1.03 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.347e-05/0.3679, allocations: 109.8 kB / 1.03 GB, free: 10.86 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=0): time 1.223e-06/0.3679, allocations: 4 kB / 1.03 GB, free: 10.86 MB / 0.6823 GB Notification: Performance of matching and sorting (n=0): time 6.534e-05/0.3679, allocations: 29.7 kB / 1.03 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.158e-05/0.368, allocations: 131.3 kB / 1.03 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.844e-05/0.3681, allocations: 85 kB / 1.03 GB, free: 10.59 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.3682, allocations: 25.7 kB / 1.03 GB, free: 10.56 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.641e-05/0.3682, allocations: 84.14 kB / 1.03 GB, free: 10.47 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.653e-06/0.3682, allocations: 0 / 1.03 GB, free: 10.47 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.6e-07/0.3682, allocations: 0 / 1.03 GB, free: 10.47 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001537/0.3684, allocations: 322.9 kB / 1.03 GB, free: 10.15 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.408e-06/0.3684, allocations: 0 / 1.03 GB, free: 10.15 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.867e-06/0.3684, allocations: 7.922 kB / 1.03 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.212e-05/0.3685, allocations: 75.28 kB / 1.03 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.35e-05/0.3685, allocations: 75.28 kB / 1.03 GB, free: 9.992 MB / 0.6823 GB Notification: Performance of matching and sorting (n=0) (initialization): time 9.836e-05/0.3686, allocations: 29.7 kB / 1.03 GB, free: 9.957 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.797e-05/0.3687, allocations: 79.28 kB / 1.031 GB, free: 9.879 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.056e-05/0.3687, allocations: 76.94 kB / 1.031 GB, free: 9.805 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.721e-05/0.3688, allocations: 162.5 kB / 1.031 GB, free: 9.645 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.114e-05/0.3689, allocations: 75.28 kB / 1.031 GB, free: 9.57 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.43e-05/0.369, allocations: 158.5 kB / 1.031 GB, free: 9.414 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001147/0.3691, allocations: 79.27 kB / 1.031 GB, free: 9.336 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.239e-05/0.3691, allocations: 87.22 kB / 1.031 GB, free: 9.25 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.0001424/0.3693, allocations: 270.5 kB / 1.031 GB, free: 8.977 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.58e-05/0.3694, allocations: 101 kB / 1.032 GB, free: 8.871 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.838e-05/0.3694, allocations: 112.1 kB / 1.032 GB, free: 8.754 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.249e-05/0.3695, allocations: 180.2 kB / 1.032 GB, free: 8.57 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.13e-05/0.3696, allocations: 184.2 kB / 1.032 GB, free: 8.383 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.4e-05/0.3697, allocations: 180.2 kB / 1.032 GB, free: 8.199 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003065/0.37, allocations: 405.2 kB / 1.033 GB, free: 7.746 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-05/0.3701, allocations: 105 kB / 1.033 GB, free: 7.637 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.806e-05/0.3701, allocations: 104.9 kB / 1.033 GB, free: 7.527 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.83e-05/0.3702, allocations: 184.3 kB / 1.033 GB, free: 7.34 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.135e-05/0.3703, allocations: 184.2 kB / 1.033 GB, free: 7.152 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.385e-05/0.3704, allocations: 181.1 kB / 1.033 GB, free: 6.969 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.232e-05/0.3705, allocations: 180.2 kB / 1.033 GB, free: 6.785 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001682/0.3707, allocations: 307.7 kB / 1.034 GB, free: 6.461 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.595e-05/0.3708, allocations: 182 kB / 1.034 GB, free: 6.258 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.383e-05/0.3709, allocations: 184.2 kB / 1.034 GB, free: 6.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001109/0.371, allocations: 105.4 kB / 1.034 GB, free: 5.961 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.33e-05/0.3711, allocations: 184.2 kB / 1.034 GB, free: 5.773 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.186e-05/0.3712, allocations: 113 kB / 1.034 GB, free: 5.656 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.159e-05/0.3712, allocations: 75.28 kB / 1.035 GB, free: 5.582 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3712, allocations: 0 / 1.035 GB, free: 5.582 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003829/0.3716, allocations: 0 / 1.035 GB, free: 5.582 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.0005369/0.3722, allocations: 0.8205 MB / 1.035 GB, free: 4.734 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 4.153e-05/0.3722, allocations: 4 kB / 1.035 GB, free: 4.73 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3722, allocations: 0 / 1.035 GB, free: 4.73 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.673e-06/0.3722, allocations: 0 / 1.035 GB, free: 4.73 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000425/0.3727, allocations: 0.5185 MB / 1.036 GB, free: 4.207 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000774/0.3734, allocations: 0.4976 MB / 1.036 GB, free: 3.66 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003193/0.3738, allocations: 0.681 MB / 1.037 GB, free: 2.953 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 1.022e-05/0.3738, allocations: 0 / 1.037 GB, free: 2.953 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.627e-05/0.3738, allocations: 7.438 kB / 1.037 GB, free: 2.945 MB / 0.6823 GB Notification: Performance of SimCode: time 3.41e-07/0.3739, allocations: 0 / 1.037 GB, free: 2.945 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01325/0.3871, allocations: 0.7171 MB / 1.038 GB, free: 2.398 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002746/0.3874, allocations: 198.9 kB / 1.038 GB, free: 2.16 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.466/1.853, allocations: 0 / 1.038 GB, free: 2.16 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1)