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.001034/0.001034, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001665/0.001665, allocations: 193.8 kB / 16.13 MB, free: 6.656 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.499/1.499, allocations: 205.1 MB / 222 MB, free: 4.738 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.703/1.703, allocations: 292.3 MB / 0.5484 GB, free: 13.68 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.001343/0.001343, allocations: 65.28 kB / 0.6708 GB, free: 26.39 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.244/0.2454, allocations: 114.6 MB / 0.7827 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.00236/0.2478, allocations: 1.286 MB / 0.7839 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008754/0.2487, allocations: 460.5 kB / 0.7844 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.16e-05/0.2487, allocations: 0 / 0.7844 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.023e-05/0.2488, allocations: 0 / 0.7844 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.873e-05/0.2488, allocations: 3.938 kB / 0.7844 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004237/0.2492, allocations: 87.78 kB / 0.7844 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.944e-05/0.2493, allocations: 23.92 kB / 0.7845 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.882e-05/0.2493, allocations: 0 / 0.7845 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.359e-05/0.2494, allocations: 19.98 kB / 0.7845 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.589e-05/0.2494, allocations: 3.938 kB / 0.7845 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.371e-05/0.2494, allocations: 4 kB / 0.7845 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002028/0.2496, allocations: 111.8 kB / 0.7846 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.693e-05/0.2496, allocations: 3.984 kB / 0.7846 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.747e-05/0.2497, allocations: 15.88 kB / 0.7846 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001684/0.2499, allocations: 95.8 kB / 0.7847 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.2499, allocations: 0 / 0.7847 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.81e-07/0.2499, allocations: 0 / 0.7847 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.765e-06/0.2499, allocations: 0 / 0.7847 GB, free: 11.9 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.0004706/0.2504, allocations: 393.4 kB / 0.7851 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.285e-05/0.2504, allocations: 8.031 kB / 0.7851 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.111e-05/0.2504, allocations: 4.938 kB / 0.7851 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001094/0.2505, allocations: 168.3 kB / 0.7853 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.163e-05/0.2506, allocations: 384 / 0.7853 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.009e-05/0.2506, allocations: 4.375 kB / 0.7853 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001101/0.2507, allocations: 46.19 kB / 0.7853 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.495e-06/0.2507, allocations: 192 / 0.7853 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.2507, allocations: 3.938 kB / 0.7853 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.2507, allocations: 4 kB / 0.7853 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.503e-05/0.2508, allocations: 7.984 kB / 0.7853 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001521/0.2509, allocations: 157.7 kB / 0.7855 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.334e-05/0.251, allocations: 22.58 kB / 0.7855 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.653e-05/0.2511, allocations: 16.94 kB / 0.7855 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.759e-06/0.2511, allocations: 4 kB / 0.7855 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001419/0.2512, allocations: 59.34 kB / 0.7856 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.222e-06/0.2512, allocations: 3.938 kB / 0.7856 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.0002092/0.2514, allocations: 77.61 kB / 0.7857 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001019/0.2516, allocations: 55.41 kB / 0.7857 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.419e-05/0.2516, allocations: 101.8 kB / 0.7858 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/0.2517, allocations: 29.7 kB / 0.7858 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.441e-05/0.2517, allocations: 84.14 kB / 0.7859 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.656e-05/0.2517, allocations: 11.75 kB / 0.7859 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.752e-05/0.2518, allocations: 41.58 kB / 0.786 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.2519, allocations: 310.8 kB / 0.7863 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.31e-05/0.2519, allocations: 11.98 kB / 0.7863 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.9e-05/0.252, allocations: 40.28 kB / 0.7863 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.979e-05/0.2521, allocations: 64.22 kB / 0.7864 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.2521, allocations: 0.5 kB / 0.7864 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001032/0.2522, allocations: 81.45 kB / 0.7864 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.2522, allocations: 7.938 kB / 0.7865 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.2522, allocations: 4 kB / 0.7865 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.021e-05/0.2522, allocations: 4.125 kB / 0.7865 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.518e-05/0.2523, allocations: 15.98 kB / 0.7865 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.2523, allocations: 4 kB / 0.7865 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.62e-05/0.2523, allocations: 0 / 0.7865 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.836e-06/0.2524, allocations: 4 kB / 0.7865 GB, free: 9.82 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.215e-05/0.2524, allocations: 117.8 kB / 0.7866 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.168e-05/0.2524, allocations: 3.938 kB / 0.7866 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.494e-05/0.2525, allocations: 7.562 kB / 0.7866 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.2525, allocations: 0 / 0.7866 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.2525, allocations: 8 kB / 0.7866 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.2525, allocations: 0 / 0.7866 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001146/0.2526, allocations: 157.6 kB / 0.7868 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.2526, allocations: 0 / 0.7868 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.006e-05/0.2526, allocations: 8 kB / 0.7868 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.2527, allocations: 3.938 kB / 0.7868 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.2527, allocations: 0 / 0.7868 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.2527, allocations: 0 / 0.7868 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.2527, allocations: 0 / 0.7868 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001328/0.2528, allocations: 97.02 kB / 0.7869 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.263e-05/0.2529, allocations: 77.11 kB / 0.7869 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.625e-05/0.2529, allocations: 7.938 kB / 0.787 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.351e-05/0.2529, allocations: 0 / 0.787 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.267e-05/0.2529, allocations: 11.92 kB / 0.787 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-06/0.2529, allocations: 0 / 0.787 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.226e-05/0.253, allocations: 79.28 kB / 0.787 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.253, allocations: 0 / 0.787 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000249/0.2532, allocations: 51.8 kB / 0.7871 GB, free: 9.102 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.00031/0.2536, allocations: 171 kB / 0.7873 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001072/0.2537, allocations: 31.92 kB / 0.7873 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.2537, allocations: 0 / 0.7873 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.014e-05/0.2537, allocations: 12 kB / 0.7873 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001336/0.2539, allocations: 4.391 kB / 0.7873 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003018/0.2542, allocations: 126.9 kB / 0.7874 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002785/0.2545, allocations: 0.678 MB / 0.7881 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.77e-05/0.2545, allocations: 8 kB / 0.7881 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.605e-05/0.2545, allocations: 7.438 kB / 0.7881 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.2545, allocations: 0 / 0.7881 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of Templates: time 0.003204/0.2577, allocations: 1.078 MB / 0.7891 GB, free: 6.945 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)