Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.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.Occupants.BaseClasses.Validation.BinaryVariableGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.612/1.612, allocations: 252 MB / 267.6 MB, free: 10.91 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.001077/0.001077, allocations: 175 kB / 327.3 MB, free: 2.223 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.526/1.526, allocations: 205.4 MB / 0.5783 GB, free: 20.57 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.0007669/0.0007669, allocations: 90.23 kB / 0.6829 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002909/0.0002909, allocations: 9 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1633/0.1636, allocations: 106.3 MB / 0.9008 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration): time 0.001054/0.1647, allocations: 0.9272 MB / 0.9017 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000615/0.1653, allocations: 361 kB / 0.9021 GB, free: 63.01 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.313e-05/0.1654, allocations: 4 kB / 0.9021 GB, free: 63.01 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.274e-05/0.1654, allocations: 0 / 0.9021 GB, free: 63.01 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.535e-05/0.1654, allocations: 4 kB / 0.9021 GB, free: 63 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004331/0.1659, allocations: 79.78 kB / 0.9022 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.465e-05/0.1659, allocations: 11.98 kB / 0.9022 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.7e-05/0.166, allocations: 4 kB / 0.9022 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.777e-05/0.166, allocations: 4 kB / 0.9022 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.42e-05/0.166, allocations: 7.922 kB / 0.9022 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.001e-05/0.166, allocations: 0 / 0.9022 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001505/0.1662, allocations: 87.84 kB / 0.9023 GB, free: 62.81 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.989e-06/0.1662, allocations: 4 kB / 0.9023 GB, free: 62.81 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.586e-05/0.1662, allocations: 33.7 kB / 0.9023 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001101/0.1664, allocations: 55.91 kB / 0.9024 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.1664, allocations: 0 / 0.9024 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.503e-06/0.1664, allocations: 0 / 0.9024 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.1664, allocations: 0 / 0.9024 GB, free: 62.71 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003185/0.1667, allocations: 373 kB / 0.9027 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.157e-05/0.1667, allocations: 12.03 kB / 0.9027 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.072e-05/0.1668, allocations: 0 / 0.9027 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.576e-05/0.1669, allocations: 171 kB / 0.9029 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.194e-05/0.1669, allocations: 4 kB / 0.9029 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.807e-06/0.1669, allocations: 0 / 0.9029 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.38e-05/0.167, allocations: 41.62 kB / 0.9029 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.167, allocations: 0 / 0.9029 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.167, allocations: 0 / 0.9029 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.167, allocations: 7.938 kB / 0.9029 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.582e-05/0.1671, allocations: 3.984 kB / 0.9029 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001071/0.1672, allocations: 157.7 kB / 0.9031 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 6.57e-05/0.1672, allocations: 30.58 kB / 0.9031 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.525e-05/0.1673, allocations: 12.94 kB / 0.9031 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.327e-06/0.1673, allocations: 3.984 kB / 0.9031 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001158/0.1674, allocations: 55.34 kB / 0.9032 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.292e-06/0.1674, allocations: 4 kB / 0.9032 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0001662/0.1676, allocations: 65.58 kB / 0.9033 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.583e-05/0.1676, allocations: 59.41 kB / 0.9033 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.833e-05/0.1677, allocations: 93.86 kB / 0.9034 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.105e-06/0.1677, allocations: 25.7 kB / 0.9034 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.535e-05/0.1677, allocations: 88.12 kB / 0.9035 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.619e-05/0.1677, allocations: 12.12 kB / 0.9035 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.346e-06/0.1677, allocations: 0 / 0.9035 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.691e-05/0.1678, allocations: 314.8 kB / 0.9038 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.784e-05/0.1678, allocations: 20.06 kB / 0.9038 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.355e-05/0.1678, allocations: 27.42 kB / 0.9039 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.523e-05/0.1679, allocations: 12 kB / 0.9039 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1679, allocations: 0 / 0.9039 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.703e-05/0.168, allocations: 65.62 kB / 0.9039 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.168, allocations: 14.58 kB / 0.904 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.168, allocations: 3.938 kB / 0.904 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.168, allocations: 4 kB / 0.904 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.153e-05/0.1681, allocations: 7.938 kB / 0.904 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.1681, allocations: 4 kB / 0.904 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.489e-05/0.1681, allocations: 4 kB / 0.904 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-06/0.1681, allocations: 4 kB / 0.904 GB, free: 60.81 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.y,y,$PRE.curSeed,curSeed,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 4.86e-05/0.1682, allocations: 110 kB / 0.9041 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.507e-06/0.1682, allocations: 7.906 kB / 0.9041 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.967e-05/0.1682, allocations: 15.48 kB / 0.9041 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.1682, allocations: 0 / 0.9041 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.1682, allocations: 4 kB / 0.9041 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.1682, allocations: 0 / 0.9041 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.386e-05/0.1683, allocations: 153.6 kB / 0.9043 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1683, allocations: 0 / 0.9043 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.214e-05/0.1683, allocations: 4 kB / 0.9043 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.1683, allocations: 0 / 0.9043 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.152e-06/0.1683, allocations: 0 / 0.9043 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1684, allocations: 0 / 0.9043 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.1684, allocations: 7.922 kB / 0.9043 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.118e-05/0.1685, allocations: 89.11 kB / 0.9044 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.392e-05/0.1685, allocations: 89 kB / 0.9044 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.104e-05/0.1685, allocations: 0 / 0.9044 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.981e-05/0.1685, allocations: 0 / 0.9044 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.069e-05/0.1685, allocations: 3.984 kB / 0.9044 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.151e-06/0.1686, allocations: 4 kB / 0.9044 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.6e-05/0.1686, allocations: 79.28 kB / 0.9045 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1686, allocations: 0 / 0.9045 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002325/0.1688, allocations: 31.98 kB / 0.9046 GB, free: 60.12 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: 3 ($whenCondition1,y,curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002496/0.1691, allocations: 158 kB / 0.9047 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 9.156e-05/0.1692, allocations: 27.92 kB / 0.9047 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1692, allocations: 4.281 kB / 0.9047 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.204e-05/0.1692, allocations: 15.98 kB / 0.9047 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001182/0.1694, allocations: 4 kB / 0.9048 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002056/0.1696, allocations: 138.2 kB / 0.9049 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.116e-05/0.1697, allocations: 0.677 MB / 0.9055 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.359e-05/0.1697, allocations: 11.44 kB / 0.9056 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of SimCode: time 3.1e-07/0.1697, allocations: 0 / 0.9056 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of Templates: time 0.002181/0.1719, allocations: 1.15 MB / 0.9067 GB, free: 57.89 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe 2>&1)