Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_3.0.0_Buildings.Occupants.BaseClasses.Validation.Logit2D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit2D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.0009771/0.0009768, allocations: 88.41 kB / 15.36 MB, free: 0.7383 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.008188/0.008188, allocations: 171 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.48/1.48, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.902/2.902, allocations: 473.4 MB / 0.7469 GB, free: 6.102 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0006263/0.0006264, allocations: 19.69 kB / 0.9158 GB, free: 33.21 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3979/0.3985, allocations: 162.2 MB / 1.074 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.001489/0.4001, allocations: 0.9587 MB / 1.075 GB, free: 6.59 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.000952/0.401, allocations: 444.9 kB / 1.075 GB, free: 6.156 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.403e-05/0.4011, allocations: 0 / 1.075 GB, free: 6.156 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.99e-05/0.4011, allocations: 0 / 1.075 GB, free: 6.156 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.649e-05/0.4012, allocations: 7.922 kB / 1.075 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005778/0.4018, allocations: 87.78 kB / 1.076 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.694e-05/0.4018, allocations: 27.92 kB / 1.076 GB, free: 6.035 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.885e-05/0.4019, allocations: 0 / 1.076 GB, free: 6.035 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.62e-05/0.4019, allocations: 4 kB / 1.076 GB, free: 6.031 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.305e-05/0.402, allocations: 19.86 kB / 1.076 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.428e-05/0.402, allocations: 4 kB / 1.076 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002256/0.4022, allocations: 99.89 kB / 1.076 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.926e-05/0.4023, allocations: 7.984 kB / 1.076 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.924e-05/0.4023, allocations: 41.62 kB / 1.076 GB, free: 5.855 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002383/0.4026, allocations: 95.8 kB / 1.076 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.4026, allocations: 3.938 kB / 1.076 GB, free: 5.758 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.834e-06/0.4026, allocations: 3.938 kB / 1.076 GB, free: 5.754 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.4026, allocations: 4 kB / 1.076 GB, free: 5.75 MB / 0.8262 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.0005285/0.4031, allocations: 385.4 kB / 1.076 GB, free: 5.316 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.4032, allocations: 8.031 kB / 1.076 GB, free: 5.309 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.936e-05/0.4032, allocations: 4.938 kB / 1.076 GB, free: 5.305 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001326/0.4034, allocations: 160.4 kB / 1.076 GB, free: 5.109 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.944e-05/0.4034, allocations: 384 / 1.076 GB, free: 5.109 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.47e-05/0.4034, allocations: 4.375 kB / 1.076 GB, free: 5.105 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001298/0.4036, allocations: 46.23 kB / 1.076 GB, free: 5.055 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.4036, allocations: 4.188 kB / 1.076 GB, free: 5.051 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.609e-05/0.4036, allocations: 3.938 kB / 1.076 GB, free: 5.047 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.4036, allocations: 0 / 1.076 GB, free: 5.047 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.48e-05/0.4037, allocations: 11.94 kB / 1.076 GB, free: 5.035 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002039/0.4039, allocations: 153.7 kB / 1.077 GB, free: 4.836 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.738e-05/0.4039, allocations: 30.61 kB / 1.077 GB, free: 4.797 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.125e-05/0.404, allocations: 8.859 kB / 1.077 GB, free: 4.785 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.463e-05/0.404, allocations: 8 kB / 1.077 GB, free: 4.777 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000188/0.4042, allocations: 63.39 kB / 1.077 GB, free: 4.703 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=5): time 1.403e-06/0.4042, allocations: 0 / 1.077 GB, free: 4.703 MB / 0.8262 GB Notification: Performance of matching and sorting (n=5): time 0.0002507/0.4045, allocations: 73.56 kB / 1.077 GB, free: 4.625 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.963e-05/0.4045, allocations: 59.39 kB / 1.077 GB, free: 4.555 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.4046, allocations: 97.86 kB / 1.077 GB, free: 4.449 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.017e-05/0.4047, allocations: 29.7 kB / 1.077 GB, free: 4.414 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.651e-05/0.4047, allocations: 92.12 kB / 1.077 GB, free: 4.32 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.344e-05/0.4048, allocations: 15.75 kB / 1.077 GB, free: 4.305 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.801e-05/0.4048, allocations: 13.72 kB / 1.077 GB, free: 4.285 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.4049, allocations: 314.8 kB / 1.077 GB, free: 3.969 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.522e-05/0.405, allocations: 11.98 kB / 1.077 GB, free: 3.957 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.292e-05/0.405, allocations: 36.3 kB / 1.077 GB, free: 3.906 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.366e-05/0.4051, allocations: 64.2 kB / 1.077 GB, free: 3.828 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/0.4051, allocations: 4 kB / 1.078 GB, free: 3.824 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001296/0.4053, allocations: 69.56 kB / 1.078 GB, free: 3.75 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.604e-05/0.4053, allocations: 12.06 kB / 1.078 GB, free: 3.738 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.83e-06/0.4053, allocations: 7.938 kB / 1.078 GB, free: 3.73 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.4053, allocations: 0 / 1.078 GB, free: 3.73 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.296e-05/0.4054, allocations: 19.92 kB / 1.078 GB, free: 3.711 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.4054, allocations: 4.5 kB / 1.078 GB, free: 3.707 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.614e-05/0.4055, allocations: 3.906 kB / 1.078 GB, free: 3.703 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.385e-05/0.4055, allocations: 4 kB / 1.078 GB, free: 3.699 MB / 0.8262 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 0.0001022/0.4056, allocations: 113.8 kB / 1.078 GB, free: 3.578 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.712e-05/0.4056, allocations: 7.938 kB / 1.078 GB, free: 3.57 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.554e-05/0.4057, allocations: 11.55 kB / 1.078 GB, free: 3.559 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.4057, allocations: 7.938 kB / 1.078 GB, free: 3.551 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.4057, allocations: 0 / 1.078 GB, free: 3.551 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.4057, allocations: 0 / 1.078 GB, free: 3.551 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001478/0.4059, allocations: 157.7 kB / 1.078 GB, free: 3.348 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.4059, allocations: 0 / 1.078 GB, free: 3.348 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.232e-05/0.4059, allocations: 4 kB / 1.078 GB, free: 3.344 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.4059, allocations: 3.938 kB / 1.078 GB, free: 3.34 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.258e-06/0.4059, allocations: 0 / 1.078 GB, free: 3.34 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.671e-06/0.4059, allocations: 4 kB / 1.078 GB, free: 3.336 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.269e-06/0.4059, allocations: 7.922 kB / 1.078 GB, free: 3.328 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001648/0.4061, allocations: 89.12 kB / 1.078 GB, free: 3.223 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.762e-05/0.4062, allocations: 81.02 kB / 1.078 GB, free: 3.125 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.91e-05/0.4062, allocations: 3.938 kB / 1.078 GB, free: 3.121 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.854e-05/0.4062, allocations: 7.984 kB / 1.078 GB, free: 3.113 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.973e-05/0.4063, allocations: 0 / 1.078 GB, free: 3.113 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.257e-06/0.4063, allocations: 4 kB / 1.078 GB, free: 3.109 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.948e-05/0.4063, allocations: 79.28 kB / 1.078 GB, free: 3.031 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4064, allocations: 4 kB / 1.078 GB, free: 3.027 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003041/0.4067, allocations: 43.98 kB / 1.078 GB, free: 2.984 MB / 0.8262 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.0004147/0.4071, allocations: 167.6 kB / 1.078 GB, free: 2.824 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001376/0.4072, allocations: 39.92 kB / 1.078 GB, free: 2.785 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4072, allocations: 256 / 1.078 GB, free: 2.785 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.678e-05/0.4073, allocations: 27.86 kB / 1.078 GB, free: 2.758 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001481/0.4075, allocations: 4 kB / 1.078 GB, free: 2.754 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003162/0.4078, allocations: 114.8 kB / 1.079 GB, free: 2.613 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003301/0.4081, allocations: 0.677 MB / 1.079 GB, free: 1.91 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.972e-05/0.4082, allocations: 4 kB / 1.079 GB, free: 1.906 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.665e-05/0.4082, allocations: 11.44 kB / 1.079 GB, free: 1.895 MB / 0.8262 GB Notification: Performance of SimCode: time 2.01e-07/0.4082, allocations: 0 / 1.079 GB, free: 1.895 MB / 0.8262 GB Notification: Performance of Templates: time 0.004043/0.4122, allocations: 1.066 MB / 1.08 GB, free: 0.8281 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Occupants.BaseClasses.Validation.Logit2D.makefile (rm -f Buildings_3.0.0_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; mkfifo Buildings_3.0.0_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe >> ../files/Buildings_3.0.0_Buildings.Occupants.BaseClasses.Validation.Logit2D.sim & ./Buildings_3.0.0_Buildings.Occupants.BaseClasses.Validation.Logit2D -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe 2>&1)