Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant,fileNamePrefix="Buildings_8_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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007477/0.0007477, allocations: 84.38 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007666/0.0007666, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.384/1.384, allocations: 205.4 MB / 222.1 MB, free: 5.633 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.596/1.596, allocations: 292.7 MB / 0.5499 GB, free: 14.52 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005018/0.0005018, allocations: 17.19 kB / 0.6739 GB, free: 26.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2297/0.2302, allocations: 116.3 MB / 0.7874 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.0009136/0.2312, allocations: 278.1 kB / 0.7877 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 4.847e-05/0.2312, allocations: 3.938 kB / 0.7877 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.184e-05/0.2313, allocations: 0 / 0.7877 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.693e-05/0.2313, allocations: 0 / 0.7877 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.294e-05/0.2314, allocations: 0 / 0.7877 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 3.76e-05/0.2314, allocations: 3.938 kB / 0.7877 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.975e-05/0.2315, allocations: 4 kB / 0.7877 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.245e-05/0.2316, allocations: 0 / 0.7877 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.617e-05/0.2316, allocations: 4 kB / 0.7877 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.243e-05/0.2316, allocations: 0 / 0.7877 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.431e-05/0.2316, allocations: 0 / 0.7877 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 4.939e-06/0.2316, allocations: 0 / 0.7877 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.056e-05/0.2317, allocations: 0 / 0.7877 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.999e-05/0.2317, allocations: 29.7 kB / 0.7877 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 5.277e-05/0.2317, allocations: 7.984 kB / 0.7877 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.2318, allocations: 0 / 0.7877 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.146e-06/0.2318, allocations: 0 / 0.7877 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.2318, allocations: 0 / 0.7877 GB, free: 11.45 MB / 0.6075 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.0003583/0.2321, allocations: 315.3 kB / 0.788 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.721e-05/0.2322, allocations: 12.09 kB / 0.7881 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.088e-05/0.2323, allocations: 30.56 kB / 0.7881 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.489e-05/0.2323, allocations: 0 / 0.7881 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001493/0.2324, allocations: 167 kB / 0.7882 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.2325, allocations: 0 / 0.7882 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.987e-06/0.2325, allocations: 0 / 0.7882 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001156/0.2326, allocations: 33.7 kB / 0.7883 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.2326, allocations: 0 / 0.7883 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.2326, allocations: 4 kB / 0.7883 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.2326, allocations: 0 / 0.7883 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.915e-05/0.2327, allocations: 0 / 0.7883 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004146/0.2331, allocations: 395.3 kB / 0.7887 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001106/0.2332, allocations: 173.1 kB / 0.7888 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.11e-05/0.2333, allocations: 84.14 kB / 0.7889 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.079e-05/0.2333, allocations: 75.28 kB / 0.789 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.356e-05/0.2334, allocations: 105.8 kB / 0.7891 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 8.42e-07/0.2334, allocations: 0 / 0.7891 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 7.832e-05/0.2334, allocations: 29.64 kB / 0.7891 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.647e-05/0.2335, allocations: 130.7 kB / 0.7892 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.498e-05/0.2336, allocations: 109.8 kB / 0.7893 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.278e-05/0.2336, allocations: 25.7 kB / 0.7894 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.982e-05/0.2337, allocations: 84.14 kB / 0.7894 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.983e-06/0.2337, allocations: 3.938 kB / 0.7894 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.2e-07/0.2337, allocations: 0 / 0.7894 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.2338, allocations: 310.8 kB / 0.7897 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.318e-06/0.2338, allocations: 0 / 0.7897 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.347e-06/0.2339, allocations: 0 / 0.7897 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.146e-05/0.2339, allocations: 75.28 kB / 0.7898 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.43e-05/0.2339, allocations: 79.41 kB / 0.7899 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.39e-05/0.234, allocations: 41.64 kB / 0.7899 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.045e-05/0.234, allocations: 79.28 kB / 0.79 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.254e-05/0.234, allocations: 79.27 kB / 0.7901 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.458e-05/0.2341, allocations: 158.5 kB / 0.7902 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.252e-05/0.2341, allocations: 75.28 kB / 0.7903 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-05/0.2342, allocations: 150.6 kB / 0.7904 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.594e-05/0.2343, allocations: 87.17 kB / 0.7905 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.104e-05/0.2343, allocations: 79.28 kB / 0.7906 GB, free: 8.285 MB / 0.6075 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.0001077/0.2344, allocations: 260.7 kB / 0.7909 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.031e-05/0.2345, allocations: 108.9 kB / 0.791 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.454e-05/0.2345, allocations: 109.2 kB / 0.7911 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.722e-05/0.2346, allocations: 180.3 kB / 0.7912 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-05/0.2346, allocations: 180.2 kB / 0.7914 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.849e-05/0.2347, allocations: 176.3 kB / 0.7916 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001937/0.2349, allocations: 413.1 kB / 0.792 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.78e-05/0.2349, allocations: 101 kB / 0.7921 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.004e-05/0.235, allocations: 101 kB / 0.7922 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.055e-05/0.235, allocations: 192.2 kB / 0.7923 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.521e-05/0.2351, allocations: 184.6 kB / 0.7925 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.342e-05/0.2351, allocations: 180.2 kB / 0.7927 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.436e-05/0.2352, allocations: 176.3 kB / 0.7929 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001101/0.2353, allocations: 319.8 kB / 0.7932 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.651e-05/0.2354, allocations: 178.1 kB / 0.7933 GB, free: 5.289 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.119e-05/0.2354, allocations: 184.2 kB / 0.7935 GB, free: 5.102 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.263e-05/0.2355, allocations: 101 kB / 0.7936 GB, free: 4.996 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.828e-05/0.2356, allocations: 188.1 kB / 0.7938 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.709e-05/0.2356, allocations: 101 kB / 0.7939 GB, free: 4.699 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.551e-05/0.2357, allocations: 87.28 kB / 0.794 GB, free: 4.613 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.232e-06/0.2357, allocations: 0 / 0.794 GB, free: 4.613 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002263/0.2359, allocations: 3.938 kB / 0.794 GB, free: 4.609 MB / 0.6075 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.0004524/0.2363, allocations: 0.8088 MB / 0.7948 GB, free: 3.77 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 4.879e-05/0.2364, allocations: 8 kB / 0.7948 GB, free: 3.762 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.2364, allocations: 0 / 0.7948 GB, free: 3.762 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.203e-06/0.2364, allocations: 0 / 0.7948 GB, free: 3.762 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004231/0.2368, allocations: 0.5185 MB / 0.7953 GB, free: 3.238 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006015/0.2375, allocations: 0.5007 MB / 0.7958 GB, free: 2.691 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002672/0.2377, allocations: 0.6692 MB / 0.7964 GB, free: 1.996 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.103e-05/0.2378, allocations: 0 / 0.7964 GB, free: 1.996 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.891e-05/0.2378, allocations: 11.42 kB / 0.7964 GB, free: 1.984 MB / 0.6075 GB Notification: Performance of SimCode: time 5.11e-07/0.2378, allocations: 0 / 0.7964 GB, free: 1.984 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01024/0.248, allocations: 0.7333 MB / 0.7971 GB, free: 1.398 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001903/0.2482, allocations: 196.7 kB / 0.7973 GB, free: 1.16 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.526/1.774, allocations: 0 / 0.7973 GB, free: 1.16 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) Environment - environmentSimulation: