Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.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.Integers.Sources.Validation.Constant,fileNamePrefix="Buildings_maint_8_0_x_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_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.744/1.744, allocations: 288.2 MB / 303.2 MB, free: 8.09 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.001343/0.001343, allocations: 177.1 kB / 371.8 MB, free: 10.27 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.834/1.834, allocations: 205.4 MB / 0.6305 GB, free: 10.02 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.0008857/0.0008854, allocations: 106.8 kB / 0.7439 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000567/0.0005672, allocations: 11.59 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2534/0.254, allocations: 115.3 MB / 0.9795 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.0006966/0.2547, allocations: 272.5 kB / 0.9798 GB, free: 27.31 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 3.521e-05/0.2548, allocations: 0 / 0.9798 GB, free: 27.31 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.095e-05/0.2548, allocations: 0 / 0.9798 GB, free: 27.31 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.618e-05/0.2548, allocations: 0 / 0.9798 GB, free: 27.31 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 2.66e-05/0.2549, allocations: 7.938 kB / 0.9798 GB, free: 27.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 2.744e-05/0.2549, allocations: 0 / 0.9798 GB, free: 27.3 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.183e-05/0.2549, allocations: 4 kB / 0.9798 GB, free: 27.3 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.784e-05/0.255, allocations: 0 / 0.9798 GB, free: 27.3 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.786e-05/0.255, allocations: 3.938 kB / 0.9798 GB, free: 27.29 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 1.747e-05/0.2551, allocations: 4 kB / 0.9798 GB, free: 27.29 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.225e-05/0.2551, allocations: 3.984 kB / 0.9798 GB, free: 27.29 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.338e-06/0.2551, allocations: 4 kB / 0.9798 GB, free: 27.28 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.707e-06/0.2551, allocations: 0 / 0.9798 GB, free: 27.28 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.485e-05/0.2551, allocations: 25.7 kB / 0.9798 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 4.121e-05/0.2552, allocations: 0 / 0.9798 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.2552, allocations: 0 / 0.9798 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.453e-06/0.2552, allocations: 0 / 0.9798 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.2552, allocations: 0 / 0.9798 GB, free: 27.25 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.0002002/0.2554, allocations: 311.4 kB / 0.9801 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.2554, allocations: 16.02 kB / 0.9801 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.508e-05/0.2555, allocations: 30.56 kB / 0.9801 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.917e-05/0.2555, allocations: 0 / 0.9801 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.07e-05/0.2556, allocations: 163 kB / 0.9803 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.2556, allocations: 0 / 0.9803 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.267e-06/0.2556, allocations: 4 kB / 0.9803 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.968e-05/0.2557, allocations: 39.34 kB / 0.9803 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.204e-06/0.2557, allocations: 0 / 0.9803 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.736e-06/0.2557, allocations: 4 kB / 0.9803 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.2557, allocations: 7.938 kB / 0.9804 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.502e-05/0.2557, allocations: 4 kB / 0.9804 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002375/0.256, allocations: 383.4 kB / 0.9807 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.473e-05/0.2561, allocations: 173.1 kB / 0.9809 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.499e-05/0.2561, allocations: 75.28 kB / 0.981 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.631e-05/0.2561, allocations: 109.8 kB / 0.9811 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 8.32e-07/0.2561, allocations: 0 / 0.9811 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 6.414e-05/0.2562, allocations: 25.7 kB / 0.9811 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.612e-05/0.2562, allocations: 134.7 kB / 0.9812 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.924e-05/0.2563, allocations: 97.8 kB / 0.9813 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.721e-06/0.2563, allocations: 25.7 kB / 0.9813 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.015e-05/0.2563, allocations: 88.27 kB / 0.9814 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.744e-06/0.2563, allocations: 3.938 kB / 0.9814 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.2e-07/0.2563, allocations: 0 / 0.9814 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.392e-05/0.2564, allocations: 310.8 kB / 0.9817 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.617e-06/0.2564, allocations: 0 / 0.9817 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.534e-06/0.2564, allocations: 0 / 0.9817 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.511e-05/0.2564, allocations: 75.28 kB / 0.9818 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-05/0.2565, allocations: 83.22 kB / 0.9819 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.615e-05/0.2565, allocations: 29.7 kB / 0.9819 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/0.2565, allocations: 83.28 kB / 0.982 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.425e-05/0.2566, allocations: 79.22 kB / 0.9821 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.54e-05/0.2566, allocations: 158.6 kB / 0.9822 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.202e-05/0.2566, allocations: 79.27 kB / 0.9823 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.439e-05/0.2566, allocations: 158.5 kB / 0.9824 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.849e-05/0.2567, allocations: 75.28 kB / 0.9825 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.363e-05/0.2567, allocations: 91.17 kB / 0.9826 GB, free: 24.16 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 6.433e-05/0.2568, allocations: 260.7 kB / 0.9828 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.762e-05/0.2568, allocations: 101 kB / 0.9829 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.595e-05/0.2569, allocations: 112.1 kB / 0.983 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.999e-05/0.2569, allocations: 181.2 kB / 0.9832 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.449e-05/0.2569, allocations: 180.3 kB / 0.9834 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.904e-05/0.257, allocations: 184.2 kB / 0.9836 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001673/0.2571, allocations: 405.2 kB / 0.984 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.582e-05/0.2572, allocations: 101 kB / 0.984 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.56e-05/0.2572, allocations: 108.9 kB / 0.9842 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-05/0.2572, allocations: 180.2 kB / 0.9843 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.416e-05/0.2573, allocations: 196.2 kB / 0.9845 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.249e-05/0.2573, allocations: 176.6 kB / 0.9847 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.376e-05/0.2573, allocations: 184.2 kB / 0.9849 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.706e-05/0.2574, allocations: 307.8 kB / 0.9851 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.806e-05/0.2574, allocations: 190 kB / 0.9853 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.14e-05/0.2574, allocations: 180.3 kB / 0.9855 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.027e-05/0.2575, allocations: 104.9 kB / 0.9856 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.633e-05/0.2575, allocations: 176.3 kB / 0.9858 GB, free: 20.69 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.191e-05/0.2575, allocations: 101 kB / 0.9859 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.852e-05/0.2576, allocations: 87.27 kB / 0.9859 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2576, allocations: 4.094 kB / 0.986 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002494/0.2578, allocations: 0 / 0.986 GB, free: 20.5 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.0002031/0.258, allocations: 0.8048 MB / 0.9867 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 3.507e-05/0.2581, allocations: 4 kB / 0.9867 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.2581, allocations: 4 kB / 0.9867 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.012e-06/0.2581, allocations: 0 / 0.9867 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001741/0.2583, allocations: 0.5269 MB / 0.9873 GB, free: 19.12 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004125/0.2587, allocations: 0.4939 MB / 0.9877 GB, free: 18.58 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.494e-05/0.2588, allocations: 0.6692 MB / 0.9884 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.967e-06/0.2588, allocations: 4 kB / 0.9884 GB, free: 17.88 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.864e-05/0.2588, allocations: 15.36 kB / 0.9884 GB, free: 17.87 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.2588, allocations: 0 / 0.9884 GB, free: 17.87 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01054/0.2694, allocations: 0.7268 MB / 0.9891 GB, free: 17.3 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001308/0.2696, allocations: 212.4 kB / 0.9893 GB, free: 17.05 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.394/1.663, allocations: 0 / 0.9893 GB, free: 17.05 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1)