Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.637/2.637, allocations: 287.3 MB / 302.3 MB, free: 8.289 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.001546/0.001546, allocations: 173.6 kB / 370.8 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.28/2.28, allocations: 205.4 MB / 0.6295 GB, free: 10.59 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.001069/0.001069, allocations: 95.97 kB / 0.7428 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004872/0.0004873, allocations: 11.16 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2589/0.2594, allocations: 115.3 MB / 0.9783 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001102/0.2606, allocations: 272.3 kB / 0.9786 GB, free: 28 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 5.122e-05/0.2607, allocations: 12 kB / 0.9786 GB, free: 27.99 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.667e-05/0.2607, allocations: 0 / 0.9786 GB, free: 27.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.083e-05/0.2608, allocations: 0 / 0.9786 GB, free: 27.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.014e-05/0.2608, allocations: 0 / 0.9786 GB, free: 27.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 2.99e-05/0.2609, allocations: 0 / 0.9786 GB, free: 27.99 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.694e-05/0.2609, allocations: 0 / 0.9786 GB, free: 27.99 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.13e-05/0.261, allocations: 3.984 kB / 0.9786 GB, free: 27.99 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.244e-05/0.261, allocations: 11.92 kB / 0.9786 GB, free: 27.98 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 1.805e-05/0.2611, allocations: 0 / 0.9786 GB, free: 27.98 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.179e-05/0.2611, allocations: 0 / 0.9786 GB, free: 27.98 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 3.847e-06/0.2611, allocations: 0 / 0.9786 GB, free: 27.98 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.988e-06/0.2611, allocations: 4 kB / 0.9786 GB, free: 27.97 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.632e-05/0.2612, allocations: 25.7 kB / 0.9786 GB, free: 27.94 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 4.087e-05/0.2612, allocations: 0 / 0.9786 GB, free: 27.94 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.494e-06/0.2612, allocations: 0 / 0.9786 GB, free: 27.94 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2612, allocations: 0 / 0.9786 GB, free: 27.94 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.319e-06/0.2612, allocations: 0 / 0.9786 GB, free: 27.94 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.0002142/0.2615, allocations: 315.4 kB / 0.9789 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.2615, allocations: 12.08 kB / 0.9789 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.414e-05/0.2616, allocations: 30.56 kB / 0.979 GB, free: 27.54 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.174e-05/0.2616, allocations: 7.953 kB / 0.979 GB, free: 27.53 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.753e-05/0.2617, allocations: 167 kB / 0.9791 GB, free: 27.32 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.2617, allocations: 0 / 0.9791 GB, free: 27.32 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.793e-06/0.2617, allocations: 0 / 0.9791 GB, free: 27.32 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.516e-05/0.2618, allocations: 35.36 kB / 0.9792 GB, free: 27.29 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.2618, allocations: 0 / 0.9792 GB, free: 27.29 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.304e-06/0.2618, allocations: 4 kB / 0.9792 GB, free: 27.28 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.2618, allocations: 0 / 0.9792 GB, free: 27.28 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.647e-05/0.2619, allocations: 0 / 0.9792 GB, free: 27.28 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002328/0.2621, allocations: 391.4 kB / 0.9795 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.782e-05/0.2622, allocations: 177 kB / 0.9797 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.433e-05/0.2622, allocations: 75.28 kB / 0.9798 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/0.2623, allocations: 109.8 kB / 0.9799 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.513e-06/0.2623, allocations: 4.031 kB / 0.9799 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 6.741e-05/0.2624, allocations: 29.7 kB / 0.9799 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.878e-05/0.2624, allocations: 130.6 kB / 0.98 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.82e-05/0.2625, allocations: 97.86 kB / 0.9801 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.823e-06/0.2625, allocations: 25.7 kB / 0.9802 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.948e-05/0.2625, allocations: 80.14 kB / 0.9802 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.703e-06/0.2625, allocations: 3.938 kB / 0.9802 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.61e-07/0.2625, allocations: 0 / 0.9802 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.629e-05/0.2626, allocations: 315 kB / 0.9805 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.288e-06/0.2626, allocations: 0 / 0.9805 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.079e-06/0.2626, allocations: 3.984 kB / 0.9805 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.717e-05/0.2626, allocations: 79.28 kB / 0.9806 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.2e-05/0.2627, allocations: 75.28 kB / 0.9807 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.445e-05/0.2627, allocations: 25.7 kB / 0.9807 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.664e-05/0.2628, allocations: 83.28 kB / 0.9808 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.725e-05/0.2628, allocations: 79.22 kB / 0.9809 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.758e-05/0.2628, allocations: 162.6 kB / 0.981 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.302e-05/0.2629, allocations: 75.28 kB / 0.9811 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.737e-05/0.2629, allocations: 158.5 kB / 0.9812 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.522e-05/0.263, allocations: 87.22 kB / 0.9813 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.499e-05/0.263, allocations: 79.22 kB / 0.9814 GB, free: 24.85 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.205e-05/0.2631, allocations: 262.6 kB / 0.9817 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.326e-05/0.2631, allocations: 105 kB / 0.9818 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.008e-05/0.2632, allocations: 108.1 kB / 0.9819 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.24e-05/0.2632, allocations: 181.2 kB / 0.982 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.363e-05/0.2633, allocations: 180.2 kB / 0.9822 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-05/0.2633, allocations: 184.2 kB / 0.9824 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001685/0.2635, allocations: 413.2 kB / 0.9828 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.079e-05/0.2635, allocations: 101 kB / 0.9829 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.011e-05/0.2635, allocations: 108.9 kB / 0.983 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3e-05/0.2636, allocations: 180.2 kB / 0.9831 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.546e-05/0.2636, allocations: 180.2 kB / 0.9833 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.528e-05/0.2637, allocations: 180.6 kB / 0.9835 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.522e-05/0.2637, allocations: 200.1 kB / 0.9837 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.461e-05/0.2638, allocations: 299.8 kB / 0.984 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.269e-05/0.2639, allocations: 186 kB / 0.9841 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.376e-05/0.2639, allocations: 184.2 kB / 0.9843 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.122e-05/0.264, allocations: 108.9 kB / 0.9844 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.892e-05/0.2641, allocations: 180.3 kB / 0.9846 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.896e-05/0.2641, allocations: 101 kB / 0.9847 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.827e-05/0.2641, allocations: 75.28 kB / 0.9848 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.2e-07/0.2641, allocations: 0 / 0.9848 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000309/0.2645, allocations: 4 kB / 0.9848 GB, free: 21.19 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.0002825/0.2648, allocations: 0.8088 MB / 0.9856 GB, free: 20.35 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 4.211e-05/0.2648, allocations: 4 kB / 0.9856 GB, free: 20.35 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.2648, allocations: 0 / 0.9856 GB, free: 20.35 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.796e-06/0.2648, allocations: 0 / 0.9856 GB, free: 20.35 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002396/0.2651, allocations: 0.5301 MB / 0.9861 GB, free: 19.81 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005306/0.2656, allocations: 497.7 kB / 0.9865 GB, free: 19.28 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000121/0.2658, allocations: 0.681 MB / 0.9872 GB, free: 18.57 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.127e-06/0.2658, allocations: 0 / 0.9872 GB, free: 18.57 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.067e-05/0.2658, allocations: 7.438 kB / 0.9872 GB, free: 18.56 MB / 0.6198 GB Notification: Performance of SimCode: time 8.42e-07/0.2658, allocations: 0 / 0.9872 GB, free: 18.56 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0193/0.2851, allocations: 0.7227 MB / 0.9879 GB, free: 18 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002941/0.2855, allocations: 194 kB / 0.9881 GB, free: 17.77 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.421/2.707, allocations: 0 / 0.9881 GB, free: 17.77 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1)