Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.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: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.416/1.416, allocations: 252 MB / 268 MB, free: 10.88 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.001362/0.001362, allocations: 180.1 kB / 327.6 MB, free: 2.117 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.711/1.711, allocations: 205.4 MB / 0.5786 GB, free: 20.17 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.0007883/0.0007883, allocations: 82.39 kB / 0.6832 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003081/0.0003081, allocations: 15.16 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1772/0.1775, allocations: 106.3 MB / 0.9015 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.0007771/0.1784, allocations: 282.3 kB / 0.9018 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 3.885e-05/0.1784, allocations: 7.938 kB / 0.9018 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.663e-05/0.1785, allocations: 0 / 0.9018 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.589e-05/0.1785, allocations: 0 / 0.9018 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.46e-05/0.1785, allocations: 0 / 0.9018 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 3.36e-05/0.1786, allocations: 4 kB / 0.9018 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.715e-05/0.1786, allocations: 11.94 kB / 0.9018 GB, free: 63.19 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 6.301e-05/0.1787, allocations: 0 / 0.9018 GB, free: 63.19 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.814e-05/0.1787, allocations: 0 / 0.9018 GB, free: 63.19 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.128e-05/0.1787, allocations: 3.984 kB / 0.9018 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.654e-05/0.1788, allocations: 4 kB / 0.9018 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 3.757e-06/0.1788, allocations: 0 / 0.9018 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.652e-05/0.1788, allocations: 7.984 kB / 0.9018 GB, free: 63.17 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.091e-05/0.1788, allocations: 25.7 kB / 0.9018 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 4.827e-05/0.1789, allocations: 0 / 0.9018 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.1789, allocations: 0 / 0.9018 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.723e-06/0.1789, allocations: 0 / 0.9018 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.1789, allocations: 0 / 0.9018 GB, free: 63.14 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.000243/0.1792, allocations: 319.5 kB / 0.9021 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.1792, allocations: 8.031 kB / 0.9021 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.711e-05/0.1792, allocations: 4.875 kB / 0.9021 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.45e-05/0.1793, allocations: 164.4 kB / 0.9023 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.1793, allocations: 4.375 kB / 0.9023 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.053e-05/0.1794, allocations: 384 / 0.9023 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.234e-05/0.1794, allocations: 30.2 kB / 0.9023 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.653e-06/0.1794, allocations: 192 / 0.9023 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.297e-06/0.1795, allocations: 3.938 kB / 0.9023 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.1795, allocations: 0 / 0.9023 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.394e-05/0.1795, allocations: 4 kB / 0.9023 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002141/0.1797, allocations: 384.8 kB / 0.9027 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.485e-05/0.1798, allocations: 173 kB / 0.9029 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.754e-05/0.1798, allocations: 80.14 kB / 0.9029 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.417e-05/0.1798, allocations: 79.22 kB / 0.903 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.452e-05/0.1798, allocations: 113.8 kB / 0.9031 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.1798, allocations: 0 / 0.9031 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 6.004e-05/0.1799, allocations: 33.69 kB / 0.9032 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.531e-05/0.18, allocations: 126.7 kB / 0.9033 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.327e-05/0.18, allocations: 97.8 kB / 0.9034 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.37e-06/0.18, allocations: 25.7 kB / 0.9034 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.668e-05/0.18, allocations: 80.14 kB / 0.9035 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.813e-06/0.1801, allocations: 0 / 0.9035 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.2e-07/0.1801, allocations: 4.125 kB / 0.9035 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.121e-05/0.1801, allocations: 314.8 kB / 0.9038 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.577e-06/0.1801, allocations: 0 / 0.9038 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.765e-06/0.1801, allocations: 0 / 0.9038 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.433e-05/0.1802, allocations: 75.28 kB / 0.9038 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-05/0.1802, allocations: 79.28 kB / 0.9039 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.106e-05/0.1802, allocations: 37.66 kB / 0.904 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.1803, allocations: 79.28 kB / 0.904 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.402e-05/0.1803, allocations: 87.22 kB / 0.9041 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.788e-05/0.1803, allocations: 150.6 kB / 0.9043 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.178e-05/0.1803, allocations: 75.28 kB / 0.9043 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.402e-05/0.1804, allocations: 158.5 kB / 0.9045 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.104e-05/0.1804, allocations: 79.28 kB / 0.9046 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.226e-05/0.1804, allocations: 83.2 kB / 0.9046 GB, free: 60.02 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 6.594e-05/0.1805, allocations: 264.3 kB / 0.9049 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.62e-05/0.1806, allocations: 108.9 kB / 0.905 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.746e-05/0.1806, allocations: 108 kB / 0.9051 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.486e-05/0.1806, allocations: 180.3 kB / 0.9053 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.898e-05/0.1807, allocations: 180.2 kB / 0.9054 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.345e-05/0.1807, allocations: 192.2 kB / 0.9056 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001405/0.1808, allocations: 397.2 kB / 0.906 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.886e-05/0.1809, allocations: 112.9 kB / 0.9061 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.602e-05/0.1809, allocations: 101 kB / 0.9062 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-05/0.1809, allocations: 180.3 kB / 0.9064 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.845e-05/0.181, allocations: 184.2 kB / 0.9066 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-05/0.181, allocations: 180.6 kB / 0.9067 GB, free: 57.74 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.44e-05/0.181, allocations: 184.2 kB / 0.9069 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.595e-05/0.1811, allocations: 307.8 kB / 0.9072 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.544e-05/0.1811, allocations: 186 kB / 0.9074 GB, free: 57.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.505e-05/0.1812, allocations: 180.3 kB / 0.9075 GB, free: 56.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.106e-05/0.1812, allocations: 108.9 kB / 0.9076 GB, free: 56.72 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.251e-05/0.1813, allocations: 180.3 kB / 0.9078 GB, free: 56.54 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.837e-05/0.1813, allocations: 105 kB / 0.9079 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.215e-05/0.1813, allocations: 79.22 kB / 0.908 GB, free: 56.35 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1813, allocations: 3.938 kB / 0.908 GB, free: 56.35 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002557/0.1816, allocations: 4 kB / 0.908 GB, free: 56.34 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.0001082/0.1817, allocations: 174.6 kB / 0.9082 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 3.051e-05/0.1818, allocations: 3.984 kB / 0.9082 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1818, allocations: 0 / 0.9082 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.152e-06/0.1818, allocations: 0 / 0.9082 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003117/0.1821, allocations: 0.5324 MB / 0.9087 GB, free: 55.62 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000182/0.1823, allocations: 179.6 kB / 0.9089 GB, free: 55.41 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.691e-05/0.1824, allocations: 0.6692 MB / 0.9095 GB, free: 54.71 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.455e-05/0.1824, allocations: 7.438 kB / 0.9095 GB, free: 54.71 MB / 0.6042 GB Notification: Performance of SimCode: time 3.31e-07/0.1824, allocations: 3.938 kB / 0.9095 GB, free: 54.7 MB / 0.6042 GB Notification: Performance of Templates: time 0.00125/0.1837, allocations: 319 kB / 0.9098 GB, free: 54.39 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1)