Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001693/0.001693, 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.002769/0.002769, allocations: 191.5 kB / 16.13 MB, free: 6.703 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.46/1.46, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.99/2.99, allocations: 472.6 MB / 0.7447 GB, free: 4.926 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 65.75 kB / 0.9113 GB, free: 33.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3623/0.3635, allocations: 159.9 MB / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.002377/0.3659, allocations: 1.29 MB / 1.069 GB, free: 9.625 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.000872/0.3668, allocations: 476.7 kB / 1.069 GB, free: 9.16 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.961e-05/0.3668, allocations: 0 / 1.069 GB, free: 9.16 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.659e-05/0.3669, allocations: 0 / 1.069 GB, free: 9.16 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.709e-05/0.3669, allocations: 0 / 1.069 GB, free: 9.16 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004367/0.3673, allocations: 87.78 kB / 1.069 GB, free: 9.074 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.287e-05/0.3674, allocations: 27.86 kB / 1.069 GB, free: 9.047 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.884e-05/0.3674, allocations: 4 kB / 1.069 GB, free: 9.043 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.642e-05/0.3675, allocations: 7.984 kB / 1.069 GB, free: 9.035 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.906e-05/0.3675, allocations: 15.92 kB / 1.069 GB, free: 9.02 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.285e-05/0.3675, allocations: 0 / 1.069 GB, free: 9.02 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001944/0.3677, allocations: 99.84 kB / 1.069 GB, free: 8.922 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.904e-05/0.3678, allocations: 7.984 kB / 1.069 GB, free: 8.914 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.193e-05/0.3678, allocations: 11.92 kB / 1.069 GB, free: 8.902 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001918/0.368, allocations: 91.81 kB / 1.07 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.368, allocations: 0 / 1.07 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of FrontEnd: time 8.32e-07/0.368, allocations: 0 / 1.07 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.368, allocations: 8 kB / 1.07 GB, free: 8.805 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.0004882/0.3685, allocations: 393.3 kB / 1.07 GB, free: 8.363 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.3686, allocations: 8.031 kB / 1.07 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.889e-05/0.3686, allocations: 8.938 kB / 1.07 GB, free: 8.348 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001111/0.3687, allocations: 164.3 kB / 1.07 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.095e-05/0.3687, allocations: 8.312 kB / 1.07 GB, free: 8.141 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.26e-05/0.3688, allocations: 384 / 1.07 GB, free: 8.141 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001064/0.3689, allocations: 38.25 kB / 1.07 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.3689, allocations: 8.125 kB / 1.07 GB, free: 8.09 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.3689, allocations: 11.92 kB / 1.07 GB, free: 8.078 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.3689, allocations: 0 / 1.07 GB, free: 8.078 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.094e-05/0.3689, allocations: 4 kB / 1.07 GB, free: 8.074 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001598/0.3691, allocations: 153.7 kB / 1.07 GB, free: 7.875 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.311e-05/0.3692, allocations: 34.55 kB / 1.07 GB, free: 7.832 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.416e-05/0.3692, allocations: 8.859 kB / 1.07 GB, free: 7.82 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.071e-05/0.3693, allocations: 4 kB / 1.07 GB, free: 7.816 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001334/0.3694, allocations: 59.48 kB / 1.07 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.3694, allocations: 0 / 1.07 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0002098/0.3696, allocations: 73.78 kB / 1.07 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001234/0.3698, allocations: 59.34 kB / 1.071 GB, free: 7.598 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.801e-05/0.3698, allocations: 105.8 kB / 1.071 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.3699, allocations: 25.7 kB / 1.071 GB, free: 7.453 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.458e-05/0.3699, allocations: 92.14 kB / 1.071 GB, free: 7.359 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.192e-05/0.3699, allocations: 15.75 kB / 1.071 GB, free: 7.344 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.359e-05/0.37, allocations: 17.72 kB / 1.071 GB, free: 7.32 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.3701, allocations: 318.8 kB / 1.071 GB, free: 7 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.96e-05/0.3701, allocations: 8 kB / 1.071 GB, free: 6.992 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.711e-05/0.3701, allocations: 35.42 kB / 1.071 GB, free: 6.945 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.974e-05/0.3702, allocations: 43.38 kB / 1.071 GB, free: 6.891 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.3702, allocations: 0 / 1.071 GB, free: 6.891 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.344e-05/0.3703, allocations: 69.56 kB / 1.071 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.3703, allocations: 9.188 kB / 1.071 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.3703, allocations: 4 kB / 1.071 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.3704, allocations: 3.984 kB / 1.071 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.478e-05/0.3704, allocations: 16.03 kB / 1.071 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.3704, allocations: 0 / 1.071 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.51e-05/0.3705, allocations: 4 kB / 1.071 GB, free: 6.781 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/0.3705, allocations: 4 kB / 1.071 GB, free: 6.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 7.857e-05/0.3706, allocations: 109.8 kB / 1.071 GB, free: 6.66 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.331e-05/0.3706, allocations: 7.844 kB / 1.071 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.878e-05/0.3706, allocations: 11.89 kB / 1.071 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.3706, allocations: 4 kB / 1.071 GB, free: 6.629 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.3706, allocations: 0 / 1.071 GB, free: 6.629 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.3706, allocations: 4 kB / 1.071 GB, free: 6.625 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001097/0.3708, allocations: 153.9 kB / 1.072 GB, free: 6.426 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.3708, allocations: 4 kB / 1.072 GB, free: 6.422 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.417e-05/0.3708, allocations: 4 kB / 1.072 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.3708, allocations: 3.938 kB / 1.072 GB, free: 6.414 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-06/0.3708, allocations: 0 / 1.072 GB, free: 6.414 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.3708, allocations: 0 / 1.072 GB, free: 6.414 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3708, allocations: 3.938 kB / 1.072 GB, free: 6.41 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001368/0.371, allocations: 97.08 kB / 1.072 GB, free: 6.297 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.806e-05/0.371, allocations: 81.02 kB / 1.072 GB, free: 6.199 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.592e-05/0.371, allocations: 7.922 kB / 1.072 GB, free: 6.191 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.115e-05/0.3711, allocations: 0 / 1.072 GB, free: 6.191 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.16e-05/0.3711, allocations: 4 kB / 1.072 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.971e-06/0.3711, allocations: 0 / 1.072 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.922e-05/0.3711, allocations: 87.27 kB / 1.072 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3711, allocations: 0 / 1.072 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000227/0.3714, allocations: 36 kB / 1.072 GB, free: 6.066 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.000322/0.3717, allocations: 176.2 kB / 1.072 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 9.87e-05/0.3718, allocations: 27.92 kB / 1.072 GB, free: 5.875 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.582e-06/0.3718, allocations: 0 / 1.072 GB, free: 5.875 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.932e-05/0.3719, allocations: 15.98 kB / 1.072 GB, free: 5.859 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001531/0.372, allocations: 7.594 kB / 1.072 GB, free: 5.855 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000246/0.3723, allocations: 122.7 kB / 1.072 GB, free: 5.707 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000225/0.3725, allocations: 0.6809 MB / 1.073 GB, free: 5 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.139e-05/0.3725, allocations: 0 / 1.073 GB, free: 5 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.979e-05/0.3726, allocations: 15.42 kB / 1.073 GB, free: 4.984 MB / 0.8262 GB Notification: Performance of SimCode: time 2.61e-07/0.3726, allocations: 0 / 1.073 GB, free: 4.984 MB / 0.8262 GB Notification: Performance of Templates: time 0.003414/0.376, allocations: 1.046 MB / 1.074 GB, free: 3.938 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.makefile (rm -f Buildings_1.6_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; mkfifo Buildings_1.6_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe >> ../files/Buildings_1.6_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.sim & ./Buildings_1.6_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe 2>&1)