Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.388/1.388, allocations: 251.5 MB / 266.7 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001015/0.001015, allocations: 175 kB / 325.8 MB, free: 2.684 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.599/1.599, allocations: 205 MB / 0.576 GB, free: 20.91 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006746/0.0006747, allocations: 88.61 kB / 0.6797 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003149/0.0003149, allocations: 15.31 kB / 0.7933 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1695/0.1699, allocations: 105.4 MB / 0.8962 GB, free: 68.05 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.0006064/0.1705, allocations: 282.2 kB / 0.8965 GB, free: 67.78 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 3.113e-05/0.1706, allocations: 4 kB / 0.8965 GB, free: 67.78 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.083e-05/0.1706, allocations: 4 kB / 0.8965 GB, free: 67.77 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.625e-05/0.1706, allocations: 0 / 0.8965 GB, free: 67.77 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 2.306e-05/0.1707, allocations: 0 / 0.8965 GB, free: 67.77 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 2.726e-05/0.1707, allocations: 0 / 0.8965 GB, free: 67.77 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 3.912e-05/0.1707, allocations: 3.938 kB / 0.8965 GB, free: 67.77 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.289e-05/0.1708, allocations: 7.938 kB / 0.8965 GB, free: 67.76 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.34e-05/0.1708, allocations: 3.938 kB / 0.8965 GB, free: 67.76 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 1.577e-05/0.1708, allocations: 7.984 kB / 0.8965 GB, free: 67.75 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.075e-05/0.1708, allocations: 0 / 0.8965 GB, free: 67.75 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 3.106e-06/0.1709, allocations: 0 / 0.8965 GB, free: 67.75 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.167e-05/0.1709, allocations: 0 / 0.8965 GB, free: 67.75 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.693e-05/0.1709, allocations: 0 / 0.8965 GB, free: 67.75 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 4.147e-05/0.1709, allocations: 3.984 kB / 0.8965 GB, free: 67.75 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1709, allocations: 0 / 0.8965 GB, free: 67.75 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.593e-06/0.171, allocations: 4 kB / 0.8965 GB, free: 67.74 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.017e-06/0.171, allocations: 0 / 0.8965 GB, free: 67.74 MB / 0.6042 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.0001742/0.1711, allocations: 315.8 kB / 0.8968 GB, free: 67.38 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.1712, allocations: 12.09 kB / 0.8968 GB, free: 67.37 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.178e-05/0.1712, allocations: 38.69 kB / 0.8969 GB, free: 67.32 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.827e-05/0.1712, allocations: 0.9375 kB / 0.8969 GB, free: 67.32 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.154e-05/0.1713, allocations: 160.4 kB / 0.897 GB, free: 67.13 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.546e-06/0.1713, allocations: 384 / 0.897 GB, free: 67.13 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.59e-06/0.1713, allocations: 384 / 0.897 GB, free: 67.13 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.211e-05/0.1714, allocations: 30.27 kB / 0.8971 GB, free: 67.09 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.583e-06/0.1714, allocations: 3.938 kB / 0.8971 GB, free: 67.09 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.211e-06/0.1714, allocations: 0 / 0.8971 GB, free: 67.09 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.1714, allocations: 3.938 kB / 0.8971 GB, free: 67.09 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.139e-05/0.1714, allocations: 4 kB / 0.8971 GB, free: 67.08 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001862/0.1716, allocations: 379.5 kB / 0.8974 GB, free: 66.66 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.787e-05/0.1717, allocations: 173.1 kB / 0.8976 GB, free: 66.48 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.402e-05/0.1717, allocations: 80.14 kB / 0.8977 GB, free: 66.4 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.858e-06/0.1717, allocations: 87.25 kB / 0.8978 GB, free: 66.31 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.779e-05/0.1717, allocations: 109.8 kB / 0.8979 GB, free: 66.2 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.1717, allocations: 0 / 0.8979 GB, free: 66.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 5.433e-05/0.1718, allocations: 26.55 kB / 0.8979 GB, free: 66.16 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.507e-05/0.1718, allocations: 126.7 kB / 0.898 GB, free: 66.03 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.808e-05/0.1719, allocations: 97.86 kB / 0.8981 GB, free: 65.92 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.709e-06/0.1719, allocations: 25.83 kB / 0.8981 GB, free: 65.89 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.179e-05/0.1719, allocations: 84.14 kB / 0.8982 GB, free: 65.8 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.553e-06/0.1719, allocations: 0 / 0.8982 GB, free: 65.8 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.489e-05/0.1719, allocations: 9.719 kB / 0.8982 GB, free: 65.79 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.2e-05/0.172, allocations: 314.8 kB / 0.8985 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.196e-06/0.172, allocations: 0 / 0.8985 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.246e-06/0.172, allocations: 3.938 kB / 0.8985 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.137e-05/0.172, allocations: 79.27 kB / 0.8986 GB, free: 65.39 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.04e-05/0.172, allocations: 79.22 kB / 0.8987 GB, free: 65.31 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.65e-05/0.1721, allocations: 33.7 kB / 0.8987 GB, free: 65.27 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.1721, allocations: 83.22 kB / 0.8988 GB, free: 65.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/0.1721, allocations: 83.28 kB / 0.8989 GB, free: 65.11 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.589e-05/0.1722, allocations: 154.5 kB / 0.899 GB, free: 64.96 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.258e-06/0.1722, allocations: 79.28 kB / 0.8991 GB, free: 64.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.793e-05/0.1722, allocations: 154.5 kB / 0.8992 GB, free: 64.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.865e-05/0.1723, allocations: 83.27 kB / 0.8993 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.308e-06/0.1723, allocations: 75.28 kB / 0.8994 GB, free: 64.57 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.018e-05/0.1723, allocations: 276.2 kB / 0.8997 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.216e-05/0.1724, allocations: 101 kB / 0.8998 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.961e-05/0.1724, allocations: 104.1 kB / 0.8999 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-05/0.1724, allocations: 184.2 kB / 0.9 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.373e-05/0.1725, allocations: 184.2 kB / 0.9002 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.18e-05/0.1725, allocations: 181.1 kB / 0.9004 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001172/0.1726, allocations: 401.2 kB / 0.9008 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-05/0.1726, allocations: 109 kB / 0.9009 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.156e-05/0.1726, allocations: 104.9 kB / 0.901 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.671e-05/0.1727, allocations: 180.3 kB / 0.9011 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.754e-05/0.1727, allocations: 184.2 kB / 0.9013 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.018e-05/0.1727, allocations: 184.3 kB / 0.9015 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.155e-05/0.1728, allocations: 184.6 kB / 0.9017 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.799e-05/0.1728, allocations: 315.7 kB / 0.902 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.076e-05/0.1729, allocations: 186 kB / 0.9021 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.834e-05/0.1729, allocations: 180.2 kB / 0.9023 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.847e-05/0.1729, allocations: 105 kB / 0.9024 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.98e-05/0.173, allocations: 180.2 kB / 0.9026 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.564e-05/0.173, allocations: 101 kB / 0.9027 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.815e-05/0.173, allocations: 83.28 kB / 0.9028 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.173, allocations: 0 / 0.9028 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002517/0.1733, allocations: 0 / 0.9028 GB, free: 60.89 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002013/0.1735, allocations: 0.8125 MB / 0.9036 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 2.953e-05/0.1735, allocations: 4.094 kB / 0.9036 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1736, allocations: 0 / 0.9036 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.203e-06/0.1736, allocations: 0 / 0.9036 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002382/0.1738, allocations: 0.5224 MB / 0.9041 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005807/0.1744, allocations: 1.529 MB / 0.9056 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.23e-05/0.1745, allocations: 0.6692 MB / 0.9062 GB, free: 57.21 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 9.237e-06/0.1745, allocations: 3.984 kB / 0.9062 GB, free: 57.21 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.626e-05/0.1745, allocations: 11.38 kB / 0.9062 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of SimCode: time 2e-07/0.1745, allocations: 0 / 0.9062 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009217/0.1838, allocations: 0.7308 MB / 0.9069 GB, free: 56.64 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001305/0.1839, allocations: 228.4 kB / 0.9072 GB, free: 56.38 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.391/1.575, allocations: 4 kB / 0.9072 GB, free: 56.38 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1)