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.413/1.413, allocations: 249.5 MB / 257 MB, free: 6.902 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.001088/0.001087, allocations: 184.8 kB / 316.3 MB, free: 3.23 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.576/1.576, allocations: 205.3 MB / 0.5671 GB, free: 15.88 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.000811/0.000811, allocations: 86.91 kB / 0.6714 GB, free: 5.008 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.266e-05/2.269e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1915/0.1915, allocations: 106.3 MB / 0.8853 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6752/0.8667, allocations: 131 MB / 1.013 GB, free: 6.625 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001833/0.8669, allocations: 66.77 kB / 1.013 GB, free: 6.586 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0004593/0.8674, allocations: 375.3 kB / 1.014 GB, free: 6.23 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.352e-06/0.8674, allocations: 0 / 1.014 GB, free: 6.23 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.8674, allocations: 0 / 1.014 GB, free: 6.23 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.0002183/0.8677, allocations: 314.5 kB / 1.014 GB, free: 5.879 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.8677, allocations: 11.75 kB / 1.014 GB, free: 5.871 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.357e-05/0.8677, allocations: 0 / 1.014 GB, free: 5.871 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001058/0.8679, allocations: 167 kB / 1.014 GB, free: 5.668 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.067e-06/0.8679, allocations: 4 kB / 1.014 GB, free: 5.664 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.335e-06/0.8679, allocations: 0 / 1.014 GB, free: 5.664 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.506e-05/0.8679, allocations: 0 / 1.014 GB, free: 5.664 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.369e-05/0.868, allocations: 25.7 kB / 1.014 GB, free: 5.633 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.493e-06/0.868, allocations: 0 / 1.014 GB, free: 5.633 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.873e-06/0.868, allocations: 0 / 1.014 GB, free: 5.633 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.105e-06/0.868, allocations: 4 kB / 1.014 GB, free: 5.629 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002296/0.8682, allocations: 363.6 kB / 1.015 GB, free: 5.238 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.865e-05/0.8683, allocations: 169.1 kB / 1.015 GB, free: 5.062 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.146e-05/0.8684, allocations: 84.14 kB / 1.015 GB, free: 4.977 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.472e-05/0.8684, allocations: 79.22 kB / 1.015 GB, free: 4.902 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.245e-05/0.8684, allocations: 109.8 kB / 1.015 GB, free: 4.785 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.8685, allocations: 0 / 1.015 GB, free: 4.785 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 6.664e-05/0.8685, allocations: 32.34 kB / 1.015 GB, free: 4.75 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.827e-05/0.8686, allocations: 54.14 kB / 1.015 GB, free: 4.688 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.529e-05/0.8686, allocations: 89 kB / 1.015 GB, free: 4.594 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.603e-05/0.8686, allocations: 25.7 kB / 1.015 GB, free: 4.562 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.973e-05/0.8687, allocations: 80.27 kB / 1.015 GB, free: 4.48 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.484e-06/0.8687, allocations: 4 kB / 1.015 GB, free: 4.477 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.41e-07/0.8687, allocations: 3.938 kB / 1.015 GB, free: 4.473 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.176e-05/0.8688, allocations: 314.8 kB / 1.016 GB, free: 4.156 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.216e-06/0.8688, allocations: 0 / 1.016 GB, free: 4.156 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.455e-06/0.8688, allocations: 0 / 1.016 GB, free: 4.156 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.541e-05/0.8688, allocations: 79.03 kB / 1.016 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.949e-05/0.8689, allocations: 79.28 kB / 1.016 GB, free: 4.004 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.776e-05/0.8689, allocations: 25.7 kB / 1.016 GB, free: 3.973 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.358e-05/0.869, allocations: 87.27 kB / 1.016 GB, free: 3.887 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.268e-05/0.869, allocations: 79.28 kB / 1.016 GB, free: 3.809 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.535e-05/0.869, allocations: 154.5 kB / 1.016 GB, free: 3.656 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.648e-05/0.8691, allocations: 75.28 kB / 1.016 GB, free: 3.582 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.181e-05/0.8691, allocations: 150.6 kB / 1.016 GB, free: 3.434 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.214e-05/0.8692, allocations: 79.22 kB / 1.016 GB, free: 3.355 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.481e-05/0.8692, allocations: 83.28 kB / 1.016 GB, free: 3.273 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 (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 9.457e-05/0.8693, allocations: 255.5 kB / 1.017 GB, free: 3.016 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.599e-05/0.8694, allocations: 142.5 kB / 1.017 GB, free: 2.867 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.658e-05/0.8695, allocations: 101.3 kB / 1.017 GB, free: 2.762 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.409e-05/0.8695, allocations: 104.7 kB / 1.017 GB, free: 2.648 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.562e-05/0.8696, allocations: 184.2 kB / 1.017 GB, free: 2.461 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.129e-05/0.8697, allocations: 192.2 kB / 1.017 GB, free: 2.266 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-05/0.8697, allocations: 184.2 kB / 1.018 GB, free: 2.078 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001846/0.8699, allocations: 385.6 kB / 1.018 GB, free: 1.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-05/0.87, allocations: 104.9 kB / 1.018 GB, free: 1.555 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.984e-05/0.87, allocations: 109 kB / 1.018 GB, free: 1.441 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.665e-05/0.8701, allocations: 184.2 kB / 1.018 GB, free: 1.254 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.962e-05/0.8701, allocations: 176.3 kB / 1.018 GB, free: 1.074 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.831e-05/0.8702, allocations: 180.2 kB / 1.019 GB, free: 0.8906 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.145e-05/0.8703, allocations: 185.2 kB / 1.019 GB, free: 0.7031 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001227/0.8704, allocations: 307.7 kB / 1.019 GB, free: 392 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.562e-05/0.8705, allocations: 186 kB / 1.019 GB, free: 180 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.944e-05/0.8705, allocations: 176.3 kB / 1.019 GB, free: 16 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.954e-05/0.8706, allocations: 105 kB / 1.02 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.806e-05/0.8707, allocations: 180.2 kB / 1.02 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.207e-05/0.8707, allocations: 109.5 kB / 1.02 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 2.857e-05/0.8707, allocations: 79.28 kB / 1.02 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8707, allocations: 0 / 1.02 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002482/0.871, allocations: 0 / 1.02 GB, free: 15.51 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.0003551/0.8714, allocations: 0.8085 MB / 1.021 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 2.675e-05/0.8714, allocations: 4.094 kB / 1.021 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.8714, allocations: 0 / 1.021 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.455e-06/0.8714, allocations: 4 kB / 1.021 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002879/0.8717, allocations: 0.5184 MB / 1.021 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003149/0.872, allocations: 146.6 kB / 1.021 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002192/0.8723, allocations: 0.6768 MB / 1.022 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.726e-06/0.8723, allocations: 0 / 1.022 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.323e-05/0.8723, allocations: 7.438 kB / 1.022 GB, free: 13.26 MB / 0.6511 GB Notification: Performance of SimCode: time 2.685e-06/0.8723, allocations: 4 kB / 1.022 GB, free: 13.26 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01629/0.8886, allocations: 427.2 kB / 1.022 GB, free: 12.85 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002137/0.8888, allocations: 170.3 kB / 1.023 GB, free: 12.65 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.31/2.199, allocations: 6.047 kB / 1.023 GB, free: 12.65 MB / 0.6511 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)