Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.749/1.749, allocations: 288.4 MB / 303.3 MB, free: 8.105 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001172/0.001172, allocations: 186.3 kB / 372 MB, free: 10.28 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.437/1.437, allocations: 205.4 MB / 0.6307 GB, free: 9.984 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007466/0.0007468, allocations: 101 kB / 0.744 GB, free: 5.902 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004534/0.0004535, allocations: 12.84 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2634/0.2639, allocations: 115.3 MB / 0.9797 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.0007457/0.2647, allocations: 282.3 kB / 0.9799 GB, free: 27.29 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 4.337e-05/0.2648, allocations: 0 / 0.9799 GB, free: 27.29 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.011e-05/0.2648, allocations: 0 / 0.9799 GB, free: 27.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.505e-05/0.2648, allocations: 0 / 0.9799 GB, free: 27.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.433e-05/0.2649, allocations: 7.938 kB / 0.9799 GB, free: 27.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 2.906e-05/0.2649, allocations: 0 / 0.9799 GB, free: 27.29 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.326e-05/0.265, allocations: 4 kB / 0.9799 GB, free: 27.28 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.459e-05/0.265, allocations: 0 / 0.9799 GB, free: 27.28 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.846e-05/0.2651, allocations: 7.984 kB / 0.98 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 2.207e-05/0.2651, allocations: 7.984 kB / 0.98 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.212e-05/0.2651, allocations: 0 / 0.98 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.148e-06/0.2651, allocations: 0 / 0.98 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.718e-06/0.2651, allocations: 0 / 0.98 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.763e-05/0.2652, allocations: 25.7 kB / 0.98 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 4.61e-05/0.2652, allocations: 0 / 0.98 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.78e-06/0.2652, allocations: 0 / 0.98 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.305e-06/0.2652, allocations: 3.938 kB / 0.98 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.678e-06/0.2652, allocations: 4 kB / 0.98 GB, free: 27.23 MB / 0.6198 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.0002499/0.2655, allocations: 311.4 kB / 0.9803 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/0.2655, allocations: 12.02 kB / 0.9803 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.753e-05/0.2656, allocations: 34.55 kB / 0.9803 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.084e-05/0.2656, allocations: 0 / 0.9803 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001014/0.2657, allocations: 171 kB / 0.9805 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.2657, allocations: 0 / 0.9805 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.823e-06/0.2658, allocations: 0 / 0.9805 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.013e-05/0.2659, allocations: 29.7 kB / 0.9805 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.2659, allocations: 4 kB / 0.9805 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.2659, allocations: 0 / 0.9805 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.2659, allocations: 7.938 kB / 0.9805 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.794e-05/0.2659, allocations: 0 / 0.9805 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002997/0.2662, allocations: 391.3 kB / 0.9809 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.187e-05/0.2663, allocations: 165.1 kB / 0.9811 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.866e-05/0.2663, allocations: 84.14 kB / 0.9811 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.622e-05/0.2663, allocations: 75.28 kB / 0.9812 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/0.2664, allocations: 109.8 kB / 0.9813 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.2664, allocations: 4 kB / 0.9813 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 6.998e-05/0.2664, allocations: 29.64 kB / 0.9814 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.451e-05/0.2665, allocations: 134.7 kB / 0.9815 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.865e-05/0.2666, allocations: 97.86 kB / 0.9816 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.652e-06/0.2666, allocations: 25.7 kB / 0.9816 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.873e-05/0.2666, allocations: 80.14 kB / 0.9817 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.655e-06/0.2666, allocations: 0 / 0.9817 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2e-07/0.2666, allocations: 0 / 0.9817 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.995e-05/0.2667, allocations: 314.8 kB / 0.982 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.967e-06/0.2667, allocations: 0 / 0.982 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.877e-06/0.2667, allocations: 0 / 0.982 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.648e-05/0.2668, allocations: 91.39 kB / 0.9821 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.185e-05/0.2668, allocations: 75.28 kB / 0.9821 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.159e-05/0.2668, allocations: 29.64 kB / 0.9822 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.844e-05/0.2669, allocations: 83.28 kB / 0.9822 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.718e-05/0.2669, allocations: 75.28 kB / 0.9823 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.869e-05/0.2669, allocations: 150.6 kB / 0.9825 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.661e-05/0.267, allocations: 79.22 kB / 0.9825 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.679e-05/0.267, allocations: 154.6 kB / 0.9827 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.879e-05/0.2671, allocations: 87.2 kB / 0.9828 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.549e-05/0.2671, allocations: 83.27 kB / 0.9828 GB, free: 24.06 MB / 0.6198 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 7.256e-05/0.2672, allocations: 260.6 kB / 0.9831 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.012e-05/0.2672, allocations: 105 kB / 0.9832 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.808e-05/0.2673, allocations: 116 kB / 0.9833 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.077e-05/0.2673, allocations: 177.1 kB / 0.9835 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.44e-05/0.2673, allocations: 184.2 kB / 0.9837 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.918e-05/0.2674, allocations: 184.3 kB / 0.9838 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001712/0.2675, allocations: 401.2 kB / 0.9842 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-05/0.2676, allocations: 108.9 kB / 0.9843 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.221e-05/0.2676, allocations: 112.9 kB / 0.9844 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.995e-05/0.2676, allocations: 188.2 kB / 0.9846 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.476e-05/0.2677, allocations: 176.6 kB / 0.9848 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.755e-05/0.2677, allocations: 176.3 kB / 0.9849 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.448e-05/0.2678, allocations: 188.2 kB / 0.9851 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.568e-05/0.2679, allocations: 315.8 kB / 0.9854 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.966e-05/0.2679, allocations: 178.1 kB / 0.9856 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.358e-05/0.268, allocations: 180.2 kB / 0.9858 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.992e-05/0.268, allocations: 104.9 kB / 0.9859 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.943e-05/0.2681, allocations: 184.3 kB / 0.986 GB, free: 20.58 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.799e-05/0.2681, allocations: 104.9 kB / 0.9861 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.582e-05/0.2681, allocations: 79.28 kB / 0.9862 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2681, allocations: 0 / 0.9862 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002632/0.2684, allocations: 4 kB / 0.9862 GB, free: 20.39 MB / 0.6198 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.0003258/0.2687, allocations: 0.8088 MB / 0.987 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 5.519e-05/0.2688, allocations: 3.938 kB / 0.987 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.2688, allocations: 0 / 0.987 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.414e-06/0.2688, allocations: 0 / 0.987 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003593/0.2692, allocations: 0.5273 MB / 0.9875 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005564/0.2697, allocations: 497.7 kB / 0.988 GB, free: 18.48 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001382/0.2699, allocations: 0.6771 MB / 0.9887 GB, free: 17.78 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.313e-05/0.2699, allocations: 0 / 0.9887 GB, free: 17.78 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.825e-05/0.2699, allocations: 14 kB / 0.9887 GB, free: 17.77 MB / 0.6198 GB Notification: Performance of SimCode: time 5.21e-07/0.27, allocations: 4.094 kB / 0.9887 GB, free: 17.77 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01205/0.282, allocations: 0.7571 MB / 0.9894 GB, free: 17.17 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000156/0.2822, allocations: 220.3 kB / 0.9896 GB, free: 16.92 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.652/1.934, allocations: 0 / 0.9896 GB, free: 16.92 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1)