Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.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.Logit1DQuadratic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001018/0.001018, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.008171/0.008171, allocations: 171.5 kB / 16.27 MB, free: 6.652 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.487/1.487, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.862/2.862, allocations: 473.4 MB / 0.7469 GB, free: 6.062 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005603/0.0005603, allocations: 8.906 kB / 0.9158 GB, free: 33.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4/0.4006, allocations: 162.2 MB / 1.074 GB, free: 7.574 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.001389/0.4021, allocations: 0.9509 MB / 1.075 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001004/0.4031, allocations: 452.9 kB / 1.075 GB, free: 6.172 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.514e-05/0.4031, allocations: 0 / 1.075 GB, free: 6.172 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.887e-05/0.4032, allocations: 3.938 kB / 1.075 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.134e-05/0.4032, allocations: 0 / 1.075 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005056/0.4037, allocations: 95.78 kB / 1.076 GB, free: 6.074 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.79e-05/0.4038, allocations: 27.86 kB / 1.076 GB, free: 6.047 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.229e-05/0.4039, allocations: 0 / 1.076 GB, free: 6.047 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.492e-05/0.4039, allocations: 11.98 kB / 1.076 GB, free: 6.035 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.179e-05/0.4039, allocations: 3.938 kB / 1.076 GB, free: 6.031 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.324e-05/0.404, allocations: 4 kB / 1.076 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002084/0.4042, allocations: 99.89 kB / 1.076 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.813e-05/0.4042, allocations: 7.938 kB / 1.076 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.108e-05/0.4042, allocations: 45.61 kB / 1.076 GB, free: 5.871 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000177/0.4044, allocations: 87.83 kB / 1.076 GB, free: 5.785 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.4044, allocations: 3.984 kB / 1.076 GB, free: 5.781 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.024e-06/0.4045, allocations: 4 kB / 1.076 GB, free: 5.777 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.067e-05/0.4045, allocations: 3.938 kB / 1.076 GB, free: 5.773 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000501/0.405, allocations: 381.4 kB / 1.076 GB, free: 5.344 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.405, allocations: 12.03 kB / 1.076 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.81e-05/0.4051, allocations: 0.9375 kB / 1.076 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000152/0.4052, allocations: 168.4 kB / 1.076 GB, free: 5.129 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.508e-05/0.4053, allocations: 384 / 1.076 GB, free: 5.129 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.166e-05/0.4053, allocations: 384 / 1.076 GB, free: 5.129 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001223/0.4054, allocations: 46.25 kB / 1.076 GB, free: 5.078 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.938e-06/0.4054, allocations: 192 / 1.076 GB, free: 5.078 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.4055, allocations: 7.875 kB / 1.076 GB, free: 5.07 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.4055, allocations: 0 / 1.076 GB, free: 5.07 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.411e-05/0.4055, allocations: 4 kB / 1.076 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001994/0.4057, allocations: 161.6 kB / 1.077 GB, free: 4.859 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001062/0.4058, allocations: 26.58 kB / 1.077 GB, free: 4.824 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.642e-05/0.4059, allocations: 20.94 kB / 1.077 GB, free: 4.801 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.766e-06/0.4059, allocations: 4 kB / 1.077 GB, free: 4.797 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001894/0.4061, allocations: 55.34 kB / 1.077 GB, free: 4.73 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.312e-06/0.4061, allocations: 0 / 1.077 GB, free: 4.73 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0002455/0.4064, allocations: 69.61 kB / 1.077 GB, free: 4.656 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.26e-05/0.4064, allocations: 55.41 kB / 1.077 GB, free: 4.59 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.4065, allocations: 101.8 kB / 1.077 GB, free: 4.48 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.327e-05/0.4066, allocations: 29.7 kB / 1.077 GB, free: 4.445 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.158e-05/0.4067, allocations: 88.14 kB / 1.077 GB, free: 4.355 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.25e-05/0.4067, allocations: 11.83 kB / 1.077 GB, free: 4.344 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.629e-05/0.4067, allocations: 17.72 kB / 1.077 GB, free: 4.32 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001574/0.4069, allocations: 310.8 kB / 1.077 GB, free: 4.008 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.669e-05/0.4069, allocations: 15.98 kB / 1.077 GB, free: 3.992 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.988e-05/0.407, allocations: 31.38 kB / 1.077 GB, free: 3.949 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.476e-05/0.4071, allocations: 55.55 kB / 1.077 GB, free: 3.883 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.19e-05/0.4071, allocations: 7.922 kB / 1.077 GB, free: 3.875 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000107/0.4072, allocations: 65.53 kB / 1.078 GB, free: 3.805 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.4072, allocations: 11.94 kB / 1.078 GB, free: 3.793 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.4073, allocations: 0 / 1.078 GB, free: 3.793 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.4073, allocations: 96 / 1.078 GB, free: 3.793 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.268e-05/0.4074, allocations: 12 kB / 1.078 GB, free: 3.781 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.4074, allocations: 0 / 1.078 GB, free: 3.781 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.784e-05/0.4074, allocations: 4 kB / 1.078 GB, free: 3.777 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/0.4074, allocations: 0 / 1.078 GB, free: 3.777 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (7): * Single equations (assignments): 7 * 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.0001031/0.4075, allocations: 121.8 kB / 1.078 GB, free: 3.648 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.21e-05/0.4076, allocations: 11.84 kB / 1.078 GB, free: 3.637 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.005e-05/0.4076, allocations: 7.906 kB / 1.078 GB, free: 3.621 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.4076, allocations: 0 / 1.078 GB, free: 3.621 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.4076, allocations: 3.938 kB / 1.078 GB, free: 3.617 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.4076, allocations: 4 kB / 1.078 GB, free: 3.613 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001417/0.4078, allocations: 153.7 kB / 1.078 GB, free: 3.414 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.4078, allocations: 0 / 1.078 GB, free: 3.414 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.519e-05/0.4078, allocations: 4.234 kB / 1.078 GB, free: 3.41 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.407e-05/0.4078, allocations: 3.938 kB / 1.078 GB, free: 3.406 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.4078, allocations: 8 kB / 1.078 GB, free: 3.398 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.4078, allocations: 4 kB / 1.078 GB, free: 3.395 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.4079, allocations: 0 / 1.078 GB, free: 3.395 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001417/0.408, allocations: 89.08 kB / 1.078 GB, free: 3.289 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.494e-05/0.4081, allocations: 81.11 kB / 1.078 GB, free: 3.191 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.76e-05/0.4081, allocations: 3.938 kB / 1.078 GB, free: 3.188 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.298e-05/0.4081, allocations: 0 / 1.078 GB, free: 3.188 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.136e-05/0.4081, allocations: 0 / 1.078 GB, free: 3.188 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.959e-06/0.4081, allocations: 7.984 kB / 1.078 GB, free: 3.18 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.025e-05/0.4082, allocations: 83.28 kB / 1.078 GB, free: 3.098 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4082, allocations: 0 / 1.078 GB, free: 3.098 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000273/0.4085, allocations: 35.98 kB / 1.078 GB, free: 3.062 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 (4): * Single equations (assignments): 2 * 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.0004099/0.4089, allocations: 179.4 kB / 1.078 GB, free: 2.895 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001149/0.409, allocations: 27.92 kB / 1.078 GB, free: 2.867 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.409, allocations: 4 kB / 1.078 GB, free: 2.863 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.029e-05/0.4091, allocations: 12 kB / 1.078 GB, free: 2.852 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001454/0.4092, allocations: 5.484 kB / 1.078 GB, free: 2.848 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003002/0.4096, allocations: 126.7 kB / 1.079 GB, free: 2.695 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003839/0.41, allocations: 0.677 MB / 1.079 GB, free: 1.992 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.333e-05/0.41, allocations: 4 kB / 1.079 GB, free: 1.988 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.157e-05/0.41, allocations: 7.438 kB / 1.079 GB, free: 1.98 MB / 0.8262 GB Notification: Performance of SimCode: time 2.91e-07/0.41, allocations: 0 / 1.079 GB, free: 1.98 MB / 0.8262 GB Notification: Performance of Templates: time 0.003915/0.414, allocations: 1.046 MB / 1.08 GB, free: 0.9336 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.makefile (rm -f Buildings_3.0.0_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; mkfifo Buildings_3.0.0_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe >> ../files/Buildings_3.0.0_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.sim & ./Buildings_3.0.0_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe 2>&1)