Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.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.Logical.Sources.Validation.Constant,fileNamePrefix="Buildings_8_0_0_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_8_0_0_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.0/package.mo): time 2.836/2.836, allocations: 287.3 MB / 302.3 MB, free: 8.266 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.001484/0.001483, allocations: 182.7 kB / 370.8 MB, free: 10.86 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.222/2.222, allocations: 205.4 MB / 0.6295 GB, free: 10.61 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.001121/0.001121, allocations: 86.59 kB / 0.7428 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004837/0.0004835, allocations: 13.56 kB / 0.8657 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.221/0.2215, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.0007325/0.2223, allocations: 296.2 kB / 0.9786 GB, free: 28 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 3.386e-05/0.2223, allocations: 3.938 kB / 0.9786 GB, free: 27.99 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.788e-05/0.2224, allocations: 4 kB / 0.9786 GB, free: 27.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.224e-05/0.2224, allocations: 0 / 0.9786 GB, free: 27.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 2.584e-05/0.2224, allocations: 0 / 0.9786 GB, free: 27.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 2.739e-05/0.2225, allocations: 0 / 0.9786 GB, free: 27.99 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.451e-05/0.2225, allocations: 8 kB / 0.9786 GB, free: 27.98 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.523e-05/0.2226, allocations: 0 / 0.9786 GB, free: 27.98 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.454e-05/0.2226, allocations: 3.938 kB / 0.9786 GB, free: 27.98 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 1.661e-05/0.2226, allocations: 0 / 0.9786 GB, free: 27.98 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.144e-05/0.2226, allocations: 0 / 0.9786 GB, free: 27.98 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 3.657e-06/0.2227, allocations: 0 / 0.9786 GB, free: 27.98 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.466e-06/0.2227, allocations: 0 / 0.9786 GB, free: 27.98 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.602e-05/0.2227, allocations: 33.69 kB / 0.9786 GB, free: 27.94 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 4.049e-05/0.2228, allocations: 4 kB / 0.9786 GB, free: 27.93 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.2228, allocations: 0 / 0.9786 GB, free: 27.93 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.653e-06/0.2228, allocations: 0 / 0.9786 GB, free: 27.93 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.088e-06/0.2228, allocations: 0 / 0.9786 GB, free: 27.93 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.0002072/0.223, allocations: 303.4 kB / 0.9789 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.2231, allocations: 16.08 kB / 0.9789 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.108e-05/0.2231, allocations: 34.55 kB / 0.979 GB, free: 27.53 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.093e-05/0.2231, allocations: 0 / 0.979 GB, free: 27.53 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.785e-05/0.2232, allocations: 167 kB / 0.9791 GB, free: 27.33 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.2232, allocations: 4 kB / 0.9791 GB, free: 27.32 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.104e-06/0.2232, allocations: 0 / 0.9791 GB, free: 27.32 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.668e-05/0.2233, allocations: 35.36 kB / 0.9792 GB, free: 27.29 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.2234, allocations: 0 / 0.9792 GB, free: 27.29 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.723e-06/0.2234, allocations: 0 / 0.9792 GB, free: 27.29 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.921e-05/0.2234, allocations: 0 / 0.9792 GB, free: 27.29 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.881e-05/0.2234, allocations: 0 / 0.9792 GB, free: 27.29 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002436/0.2237, allocations: 395.3 kB / 0.9795 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.119e-05/0.2238, allocations: 169.1 kB / 0.9797 GB, free: 26.67 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.143e-05/0.2238, allocations: 79.31 kB / 0.9798 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.174e-05/0.2238, allocations: 109.8 kB / 0.9799 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.513e-06/0.2238, allocations: 0 / 0.9799 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 7.144e-05/0.2239, allocations: 37.69 kB / 0.9799 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.97e-05/0.224, allocations: 126.7 kB / 0.98 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.218e-05/0.2241, allocations: 93.86 kB / 0.9801 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.847e-06/0.2241, allocations: 25.7 kB / 0.9802 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.093e-05/0.2241, allocations: 88.06 kB / 0.9802 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.715e-06/0.2241, allocations: 0 / 0.9802 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.71e-07/0.2241, allocations: 0 / 0.9802 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.968e-05/0.2242, allocations: 318.9 kB / 0.9806 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.208e-06/0.2242, allocations: 7.938 kB / 0.9806 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.13e-06/0.2242, allocations: 4 kB / 0.9806 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.682e-05/0.2242, allocations: 75.28 kB / 0.9806 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.289e-05/0.2243, allocations: 75.28 kB / 0.9807 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.632e-05/0.2243, allocations: 33.69 kB / 0.9807 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.595e-05/0.2244, allocations: 79.28 kB / 0.9808 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.963e-05/0.2244, allocations: 79.22 kB / 0.9809 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.036e-05/0.2244, allocations: 158.6 kB / 0.981 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.652e-05/0.2245, allocations: 79.28 kB / 0.9811 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.062e-05/0.2245, allocations: 154.5 kB / 0.9813 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.494e-05/0.2246, allocations: 75.28 kB / 0.9813 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.736e-05/0.2246, allocations: 87.2 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.548e-05/0.2247, allocations: 272.6 kB / 0.9817 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.534e-05/0.2248, allocations: 101 kB / 0.9818 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.168e-05/0.2248, allocations: 104.1 kB / 0.9819 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.431e-05/0.2248, allocations: 181.2 kB / 0.982 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.469e-05/0.2249, allocations: 180.3 kB / 0.9822 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.67e-05/0.2249, allocations: 188.2 kB / 0.9824 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001686/0.2251, allocations: 405.2 kB / 0.9828 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.31e-05/0.2251, allocations: 108.9 kB / 0.9829 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.234e-05/0.2252, allocations: 105 kB / 0.983 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.438e-05/0.2252, allocations: 180.3 kB / 0.9832 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.92e-05/0.2253, allocations: 180.2 kB / 0.9833 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.261e-05/0.2253, allocations: 184.5 kB / 0.9835 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-05/0.2254, allocations: 188.2 kB / 0.9837 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.776e-05/0.2255, allocations: 311.8 kB / 0.984 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.761e-05/0.2255, allocations: 182 kB / 0.9842 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.201e-05/0.2256, allocations: 176.3 kB / 0.9843 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.123e-05/0.2257, allocations: 116.9 kB / 0.9844 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.912e-05/0.2257, allocations: 176.3 kB / 0.9846 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.051e-05/0.2257, allocations: 101 kB / 0.9847 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.704e-05/0.2258, allocations: 83.28 kB / 0.9848 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.5e-07/0.2258, allocations: 0 / 0.9848 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003128/0.2261, allocations: 0 / 0.9848 GB, free: 21.18 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.0002765/0.2264, allocations: 0.8127 MB / 0.9856 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 4.685e-05/0.2265, allocations: 0 / 0.9856 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.2265, allocations: 0 / 0.9856 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.294e-06/0.2265, allocations: 0 / 0.9856 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002481/0.2267, allocations: 0.534 MB / 0.9861 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005304/0.2273, allocations: 0.4886 MB / 0.9866 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001516/0.2275, allocations: 0.6772 MB / 0.9872 GB, free: 18.57 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.928e-06/0.2275, allocations: 4 kB / 0.9872 GB, free: 18.56 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.388e-05/0.2275, allocations: 7.438 kB / 0.9872 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of SimCode: time 8.11e-07/0.2275, allocations: 0 / 0.9872 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0216/0.2491, allocations: 0.7224 MB / 0.988 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002765/0.2495, allocations: 198.3 kB / 0.9881 GB, free: 17.73 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.313/2.563, allocations: 0 / 0.9881 GB, free: 17.73 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1)