Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit2D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.BaseClasses.Validation.Logit2D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit2D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit2D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit2D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 110.3 kB / 15.99 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001193/0.001193, allocations: 194 kB / 16.91 MB, free: 6.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.374/1.374, allocations: 205.1 MB / 222.8 MB, free: 4.711 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.668/1.668, allocations: 292.3 MB / 0.5492 GB, free: 13.61 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002118/0.002118, allocations: 69.91 kB / 0.6716 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2436/0.2458, allocations: 114.5 MB / 0.7835 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.002292/0.2481, allocations: 1.282 MB / 0.7848 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008424/0.249, allocations: 444.5 kB / 0.7852 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.19e-05/0.249, allocations: 0 / 0.7852 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.89e-05/0.249, allocations: 3.938 kB / 0.7852 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.128e-05/0.2491, allocations: 4 kB / 0.7852 GB, free: 12.15 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.0004917/0.2496, allocations: 99.77 kB / 0.7853 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.67e-05/0.2496, allocations: 23.92 kB / 0.7853 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.19e-05/0.2497, allocations: 0 / 0.7853 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.364e-05/0.2497, allocations: 15.98 kB / 0.7853 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.935e-05/0.2498, allocations: 7.922 kB / 0.7853 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.447e-05/0.2498, allocations: 4 kB / 0.7853 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001999/0.25, allocations: 107.8 kB / 0.7854 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.625e-05/0.25, allocations: 3.938 kB / 0.7854 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.084e-05/0.25, allocations: 19.92 kB / 0.7855 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001338/0.2502, allocations: 75.89 kB / 0.7855 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.2502, allocations: 0 / 0.7855 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.863e-06/0.2502, allocations: 0 / 0.7855 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.696e-06/0.2502, allocations: 0 / 0.7855 GB, free: 11.8 MB / 0.6075 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.0004748/0.2507, allocations: 385.4 kB / 0.7859 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.2507, allocations: 8.031 kB / 0.7859 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.949e-05/0.2508, allocations: 0.9375 kB / 0.7859 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001088/0.2509, allocations: 172.3 kB / 0.7861 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.821e-05/0.2509, allocations: 8.359 kB / 0.7861 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.562e-05/0.2509, allocations: 8.375 kB / 0.7861 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001065/0.251, allocations: 42.19 kB / 0.7861 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.2511, allocations: 192 / 0.7861 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.2511, allocations: 3.938 kB / 0.7861 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.2511, allocations: 0 / 0.7861 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.395e-05/0.2511, allocations: 11.98 kB / 0.7861 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001475/0.2513, allocations: 153.7 kB / 0.7863 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.672e-05/0.2513, allocations: 34.61 kB / 0.7863 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.67e-05/0.2514, allocations: 8.859 kB / 0.7863 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 6.061e-06/0.2514, allocations: 3.938 kB / 0.7863 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001454/0.2515, allocations: 67.42 kB / 0.7864 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.362e-06/0.2515, allocations: 0 / 0.7864 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.0002114/0.2518, allocations: 69.62 kB / 0.7865 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.638e-05/0.2518, allocations: 55.41 kB / 0.7865 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8e-05/0.2519, allocations: 105.8 kB / 0.7866 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/0.2519, allocations: 29.7 kB / 0.7866 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.758e-05/0.252, allocations: 92.08 kB / 0.7867 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.274e-05/0.252, allocations: 19.73 kB / 0.7868 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.103e-05/0.252, allocations: 21.72 kB / 0.7868 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001004/0.2521, allocations: 310.8 kB / 0.7871 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.313e-05/0.2522, allocations: 15.92 kB / 0.7871 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.016e-05/0.2522, allocations: 48.28 kB / 0.7871 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.21e-05/0.2523, allocations: 56.22 kB / 0.7872 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.2523, allocations: 0 / 0.7872 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.849e-05/0.2524, allocations: 81.97 kB / 0.7873 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.2524, allocations: 7.938 kB / 0.7873 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.2524, allocations: 4 kB / 0.7873 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.2525, allocations: 0 / 0.7873 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.318e-05/0.2525, allocations: 11.98 kB / 0.7873 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.2525, allocations: 4 kB / 0.7873 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.722e-05/0.2526, allocations: 4 kB / 0.7873 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-06/0.2526, allocations: 8 kB / 0.7873 GB, free: 9.723 MB / 0.6075 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 (y,$PRE.y,curSeed,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.283e-05/0.2527, allocations: 110.6 kB / 0.7874 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.352e-05/0.2527, allocations: 7.938 kB / 0.7874 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.372e-05/0.2527, allocations: 11.5 kB / 0.7874 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.2527, allocations: 3.984 kB / 0.7874 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.2527, allocations: 0 / 0.7874 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.2527, allocations: 0 / 0.7874 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001095/0.2528, allocations: 161.7 kB / 0.7876 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.2529, allocations: 0 / 0.7876 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.888e-05/0.2529, allocations: 4 kB / 0.7876 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/0.2529, allocations: 3.938 kB / 0.7876 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.774e-06/0.2529, allocations: 4.047 kB / 0.7876 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.2529, allocations: 0 / 0.7876 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.2529, allocations: 7.922 kB / 0.7876 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001256/0.253, allocations: 93.02 kB / 0.7877 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.516e-05/0.2531, allocations: 81.11 kB / 0.7878 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.466e-05/0.2531, allocations: 3.938 kB / 0.7878 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.136e-05/0.2531, allocations: 0 / 0.7878 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.572e-05/0.2532, allocations: 11.98 kB / 0.7878 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.703e-06/0.2532, allocations: 0 / 0.7878 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.433e-05/0.2532, allocations: 87.22 kB / 0.7879 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2532, allocations: 0 / 0.7879 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002458/0.2535, allocations: 35.92 kB / 0.7879 GB, free: 9.008 MB / 0.6075 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 (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.0003149/0.2538, allocations: 164 kB / 0.7881 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001137/0.2539, allocations: 43.92 kB / 0.7881 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.2539, allocations: 0 / 0.7881 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.936e-05/0.254, allocations: 11.98 kB / 0.7881 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000133/0.2541, allocations: 8 kB / 0.7881 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002359/0.2544, allocations: 146.5 kB / 0.7883 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002396/0.2546, allocations: 0.6809 MB / 0.7889 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.782e-05/0.2546, allocations: 11.44 kB / 0.7889 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.2546, allocations: 0 / 0.7889 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of Templates: time 0.002686/0.2573, allocations: 1.285 MB / 0.7902 GB, free: 6.605 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit2D.makefile (rm -f Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; mkfifo Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe >> ../files/Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit2D.sim & ./Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit2D -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe 2>&1)