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/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.932/1.932, allocations: 292.3 MB / 308.1 MB, free: 4.281 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.001286/0.001286, allocations: 184.5 kB / 376.9 MB, free: 1.824 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.865/1.865, allocations: 205 MB / 0.6353 GB, free: 9.793 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001061/0.001061, allocations: 99.05 kB / 0.748 GB, free: 61.36 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001144/0.001144, allocations: 59.92 kB / 0.8704 GB, free: 13.13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.323/0.3241, allocations: 114.5 MB / 0.9822 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.00281/0.327, allocations: 1.292 MB / 0.9835 GB, free: 9.121 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001073/0.3281, allocations: 455.3 kB / 0.9839 GB, free: 8.672 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.825e-05/0.3282, allocations: 0 / 0.9839 GB, free: 8.672 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.629e-05/0.3282, allocations: 0 / 0.9839 GB, free: 8.672 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 4.633e-05/0.3283, allocations: 8 kB / 0.9839 GB, free: 8.664 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005058/0.3288, allocations: 91.77 kB / 0.984 GB, free: 8.574 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.515e-05/0.3288, allocations: 19.92 kB / 0.984 GB, free: 8.555 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 5.565e-05/0.3289, allocations: 4 kB / 0.984 GB, free: 8.551 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 3.624e-05/0.3289, allocations: 15.92 kB / 0.984 GB, free: 8.535 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 3.981e-05/0.329, allocations: 11.92 kB / 0.984 GB, free: 8.523 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.263e-05/0.329, allocations: 0 / 0.984 GB, free: 8.523 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002275/0.3292, allocations: 107.8 kB / 0.9841 GB, free: 8.418 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.94e-05/0.3293, allocations: 0 / 0.9841 GB, free: 8.418 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.452e-05/0.3293, allocations: 15.92 kB / 0.9842 GB, free: 8.402 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002222/0.3295, allocations: 103.8 kB / 0.9843 GB, free: 8.301 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.3296, allocations: 4 kB / 0.9843 GB, free: 8.297 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3296, allocations: 0 / 0.9843 GB, free: 8.297 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.3296, allocations: 0 / 0.9843 GB, free: 8.297 MB / 0.7136 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.0006826/0.3303, allocations: 385.4 kB / 0.9846 GB, free: 7.863 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.016e-05/0.3303, allocations: 12.03 kB / 0.9846 GB, free: 7.852 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.126e-05/0.3304, allocations: 4.844 kB / 0.9846 GB, free: 7.848 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/0.3305, allocations: 160.4 kB / 0.9848 GB, free: 7.652 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.331e-05/0.3306, allocations: 4.375 kB / 0.9848 GB, free: 7.648 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.491e-05/0.3306, allocations: 4.375 kB / 0.9848 GB, free: 7.645 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001408/0.3307, allocations: 50.17 kB / 0.9849 GB, free: 7.59 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.3308, allocations: 8.109 kB / 0.9849 GB, free: 7.582 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/0.3308, allocations: 3.938 kB / 0.9849 GB, free: 7.578 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.3308, allocations: 0 / 0.9849 GB, free: 7.578 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.836e-05/0.3308, allocations: 8 kB / 0.9849 GB, free: 7.57 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002139/0.3311, allocations: 161.7 kB / 0.985 GB, free: 7.363 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.091e-05/0.3311, allocations: 22.52 kB / 0.9851 GB, free: 7.332 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.133e-05/0.3312, allocations: 20.86 kB / 0.9851 GB, free: 7.309 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.604e-05/0.3312, allocations: 4.078 kB / 0.9851 GB, free: 7.305 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001874/0.3314, allocations: 55.34 kB / 0.9851 GB, free: 7.238 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=5): time 1.393e-06/0.3314, allocations: 4 kB / 0.9851 GB, free: 7.234 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5): time 0.0002448/0.3317, allocations: 85.52 kB / 0.9852 GB, free: 7.145 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.175e-05/0.3317, allocations: 51.41 kB / 0.9853 GB, free: 7.082 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.063e-05/0.3318, allocations: 109.8 kB / 0.9854 GB, free: 6.965 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.3318, allocations: 25.7 kB / 0.9854 GB, free: 6.934 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.328e-05/0.3319, allocations: 92.12 kB / 0.9855 GB, free: 6.84 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.626e-05/0.3319, allocations: 11.84 kB / 0.9855 GB, free: 6.828 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.752e-05/0.332, allocations: 21.72 kB / 0.9855 GB, free: 6.801 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.3321, allocations: 314.8 kB / 0.9858 GB, free: 6.484 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.553e-05/0.3322, allocations: 15.94 kB / 0.9858 GB, free: 6.469 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.067e-05/0.3322, allocations: 48.28 kB / 0.9859 GB, free: 6.406 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.681e-05/0.3323, allocations: 52.23 kB / 0.9859 GB, free: 6.34 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.3323, allocations: 0 / 0.9859 GB, free: 6.34 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001148/0.3324, allocations: 81.45 kB / 0.986 GB, free: 6.254 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.3324, allocations: 11.94 kB / 0.986 GB, free: 6.242 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.3325, allocations: 0 / 0.986 GB, free: 6.242 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.3325, allocations: 4 kB / 0.986 GB, free: 6.238 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.123e-05/0.3326, allocations: 4 kB / 0.986 GB, free: 6.234 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.3326, allocations: 4 kB / 0.986 GB, free: 6.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.723e-05/0.3326, allocations: 0 / 0.986 GB, free: 6.23 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.006e-05/0.3326, allocations: 4 kB / 0.986 GB, free: 6.227 MB / 0.7136 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 9.083e-05/0.3327, allocations: 125.9 kB / 0.9861 GB, free: 6.094 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.326e-05/0.3327, allocations: 3.938 kB / 0.9862 GB, free: 6.09 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.784e-05/0.3328, allocations: 15.5 kB / 0.9862 GB, free: 6.078 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.3328, allocations: 0 / 0.9862 GB, free: 6.078 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/0.3328, allocations: 0 / 0.9862 GB, free: 6.078 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.3328, allocations: 3.938 kB / 0.9862 GB, free: 6.074 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001356/0.3329, allocations: 153.6 kB / 0.9863 GB, free: 5.875 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.333, allocations: 0 / 0.9863 GB, free: 5.875 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.099e-05/0.333, allocations: 11.98 kB / 0.9863 GB, free: 5.863 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.333, allocations: 3.938 kB / 0.9863 GB, free: 5.859 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-06/0.333, allocations: 8 kB / 0.9863 GB, free: 5.852 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.333, allocations: 0.5 kB / 0.9863 GB, free: 5.852 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.333, allocations: 0 / 0.9863 GB, free: 5.852 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000429/0.3335, allocations: 0.6513 MB / 0.987 GB, free: 5.141 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.794e-05/0.3335, allocations: 81.02 kB / 0.9871 GB, free: 5.043 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.27e-05/0.3335, allocations: 0 / 0.9871 GB, free: 5.043 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.159e-05/0.3336, allocations: 0 / 0.9871 GB, free: 5.043 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.064e-05/0.3336, allocations: 11.94 kB / 0.9871 GB, free: 5.031 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/0.3336, allocations: 48 / 0.9871 GB, free: 5.031 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.373e-05/0.3337, allocations: 87.27 kB / 0.9871 GB, free: 4.945 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3337, allocations: 0 / 0.9871 GB, free: 4.945 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003636/0.334, allocations: 31.94 kB / 0.9872 GB, free: 4.914 MB / 0.7136 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.0003697/0.3344, allocations: 170.5 kB / 0.9873 GB, free: 4.742 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.00012/0.3345, allocations: 35.86 kB / 0.9874 GB, free: 4.707 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.3346, allocations: 0 / 0.9874 GB, free: 4.707 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.827e-05/0.3346, allocations: 15.94 kB / 0.9874 GB, free: 4.691 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001411/0.3347, allocations: 8 kB / 0.9874 GB, free: 4.684 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003624/0.3351, allocations: 233.8 kB / 0.9876 GB, free: 4.418 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002748/0.3354, allocations: 0.6809 MB / 0.9883 GB, free: 3.711 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.142e-05/0.3354, allocations: 7.984 kB / 0.9883 GB, free: 3.703 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.083e-05/0.3355, allocations: 7.438 kB / 0.9883 GB, free: 3.695 MB / 0.7136 GB Notification: Performance of SimCode: time 2e-07/0.3355, allocations: 4 kB / 0.9883 GB, free: 3.691 MB / 0.7136 GB Notification: Performance of Templates: time 0.003492/0.339, allocations: 1.086 MB / 0.9894 GB, free: 2.605 MB / 0.7136 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)