Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Occupants.BaseClasses.Validation.Logit2D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit2D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 2.023/2.023, allocations: 288.4 MB / 303.7 MB, free: 8.043 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.0009563/0.0009564, allocations: 188.4 kB / 372.3 MB, free: 10.12 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.521/1.521, allocations: 205.4 MB / 0.631 GB, free: 9.914 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.000793/0.000793, allocations: 101.4 kB / 0.7444 GB, free: 5.82 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003806/0.0003806, allocations: 16.06 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2036/0.204, allocations: 115.3 MB / 0.9801 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.00108/0.2051, allocations: 0.9433 MB / 0.981 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0006743/0.2058, allocations: 424.6 kB / 0.9814 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.799e-05/0.2058, allocations: 0 / 0.9814 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.158e-05/0.2058, allocations: 3.938 kB / 0.9815 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.359e-05/0.2059, allocations: 0 / 0.9815 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004395/0.2063, allocations: 83.8 kB / 0.9815 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.073e-05/0.2064, allocations: 23.91 kB / 0.9816 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.612e-05/0.2064, allocations: 4 kB / 0.9816 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.375e-05/0.2065, allocations: 11.92 kB / 0.9816 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 2.655e-05/0.2065, allocations: 8 kB / 0.9816 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.128e-05/0.2065, allocations: 0 / 0.9816 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000153/0.2067, allocations: 103.8 kB / 0.9817 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.365e-05/0.2067, allocations: 7.984 kB / 0.9817 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.682e-05/0.2067, allocations: 33.64 kB / 0.9817 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000118/0.2069, allocations: 75.88 kB / 0.9818 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.2069, allocations: 0 / 0.9818 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.402e-06/0.2069, allocations: 0 / 0.9818 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.2069, allocations: 0 / 0.9818 GB, free: 25.63 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003501/0.2073, allocations: 373.4 kB / 0.9821 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.2073, allocations: 12.03 kB / 0.9822 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.884e-05/0.2073, allocations: 4.938 kB / 0.9822 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.121e-05/0.2074, allocations: 172.4 kB / 0.9823 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.087e-05/0.2074, allocations: 384 / 0.9823 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.25e-05/0.2075, allocations: 8.312 kB / 0.9823 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001075/0.2076, allocations: 42.19 kB / 0.9824 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.2076, allocations: 192 / 0.9824 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.2076, allocations: 7.938 kB / 0.9824 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.2076, allocations: 0 / 0.9824 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.506e-05/0.2077, allocations: 7.984 kB / 0.9824 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001166/0.2078, allocations: 169.5 kB / 0.9826 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.143e-05/0.2078, allocations: 22.61 kB / 0.9826 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.551e-05/0.2079, allocations: 20.8 kB / 0.9826 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.577e-06/0.2079, allocations: 0 / 0.9826 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001241/0.208, allocations: 59.48 kB / 0.9826 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 1.383e-06/0.208, allocations: 0 / 0.9826 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5): time 0.0001725/0.2082, allocations: 77.62 kB / 0.9827 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.808e-05/0.2082, allocations: 51.41 kB / 0.9828 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.925e-05/0.2083, allocations: 109.8 kB / 0.9829 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.177e-06/0.2083, allocations: 25.7 kB / 0.9829 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.169e-05/0.2083, allocations: 84.14 kB / 0.983 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.934e-05/0.2084, allocations: 19.73 kB / 0.983 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.396e-06/0.2084, allocations: 4 kB / 0.983 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.48e-05/0.2084, allocations: 310.8 kB / 0.9833 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.879e-05/0.2084, allocations: 15.98 kB / 0.9833 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.789e-05/0.2085, allocations: 40.28 kB / 0.9834 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.426e-05/0.2085, allocations: 56.23 kB / 0.9834 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2086, allocations: 0 / 0.9834 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.932e-05/0.2086, allocations: 77.55 kB / 0.9835 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.2087, allocations: 7.938 kB / 0.9835 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.2087, allocations: 0 / 0.9835 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.2087, allocations: 4 kB / 0.9835 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.538e-05/0.2088, allocations: 8 kB / 0.9835 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.2088, allocations: 0 / 0.9835 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.063e-05/0.2088, allocations: 7.906 kB / 0.9835 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.747e-06/0.2088, allocations: 8.109 kB / 0.9835 GB, free: 23.6 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (8): * Single equations (assignments): 8 * 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 5.511e-05/0.2089, allocations: 121.8 kB / 0.9836 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.588e-06/0.2089, allocations: 7.938 kB / 0.9836 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.901e-05/0.2089, allocations: 7.562 kB / 0.9836 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.209, allocations: 3.938 kB / 0.9837 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.209, allocations: 0 / 0.9837 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.209, allocations: 4.031 kB / 0.9837 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.414e-05/0.209, allocations: 162.2 kB / 0.9838 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.2091, allocations: 0 / 0.9838 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.706e-05/0.2091, allocations: 8 kB / 0.9838 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.095e-06/0.2091, allocations: 7.938 kB / 0.9838 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.542e-06/0.2091, allocations: 0 / 0.9838 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.2091, allocations: 0 / 0.9838 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.2091, allocations: 0 / 0.9838 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.884e-05/0.2092, allocations: 96.95 kB / 0.9839 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.956e-05/0.2092, allocations: 85.11 kB / 0.984 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.307e-05/0.2093, allocations: 3.938 kB / 0.984 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.176e-05/0.2093, allocations: 7.938 kB / 0.984 GB, free: 23 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.155e-05/0.2093, allocations: 0 / 0.984 GB, free: 23 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.705e-06/0.2093, allocations: 7.984 kB / 0.984 GB, free: 23 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.967e-05/0.2093, allocations: 79.28 kB / 0.9841 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2094, allocations: 0 / 0.9841 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002367/0.2096, allocations: 39.94 kB / 0.9841 GB, free: 22.88 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: 3 ($whenCondition1,y,curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0002817/0.2099, allocations: 164.2 kB / 0.9843 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 9.79e-05/0.21, allocations: 31.92 kB / 0.9843 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.21, allocations: 0 / 0.9843 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.345e-05/0.21, allocations: 12 kB / 0.9843 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001273/0.2102, allocations: 5.562 kB / 0.9843 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002202/0.2104, allocations: 132.8 kB / 0.9845 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00011/0.2105, allocations: 0.6848 MB / 0.9851 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.968e-05/0.2106, allocations: 7.984 kB / 0.9851 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.298e-05/0.2106, allocations: 7.438 kB / 0.9851 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.2106, allocations: 0 / 0.9851 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of Templates: time 0.002755/0.2133, allocations: 1.066 MB / 0.9862 GB, free: 20.73 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D.makefile (rm -f Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D.sim & ./Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe 2>&1)