Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.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.Logit1DQuadratic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.739/1.739, allocations: 292.3 MB / 308.1 MB, free: 4.297 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.001277/0.001277, allocations: 196.3 kB / 376.9 MB, free: 1.82 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.484/1.484, 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.0009553/0.0009553, allocations: 97.86 kB / 0.7479 GB, free: 61.34 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001045/0.001046, allocations: 55.91 kB / 0.8704 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3134/0.3145, allocations: 114.5 MB / 0.9822 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.004131/0.3187, allocations: 1.292 MB / 0.9835 GB, free: 9.098 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001378/0.3201, allocations: 471.3 kB / 0.9839 GB, free: 8.633 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.291e-05/0.3202, allocations: 0 / 0.9839 GB, free: 8.633 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.087e-05/0.3202, allocations: 0 / 0.9839 GB, free: 8.633 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 5.067e-05/0.3203, allocations: 3.984 kB / 0.9839 GB, free: 8.629 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.000553/0.3208, allocations: 87.78 kB / 0.984 GB, free: 8.543 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 7.154e-05/0.3209, allocations: 23.92 kB / 0.984 GB, free: 8.52 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.095e-05/0.321, allocations: 0 / 0.984 GB, free: 8.52 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 2.881e-05/0.321, allocations: 19.92 kB / 0.9841 GB, free: 8.5 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 3.098e-05/0.3211, allocations: 7.922 kB / 0.9841 GB, free: 8.492 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.045e-05/0.3211, allocations: 8 kB / 0.9841 GB, free: 8.484 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002175/0.3213, allocations: 95.84 kB / 0.9842 GB, free: 8.391 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.399e-05/0.3213, allocations: 11.98 kB / 0.9842 GB, free: 8.379 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.772e-05/0.3214, allocations: 7.938 kB / 0.9842 GB, free: 8.371 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.000221/0.3216, allocations: 103.8 kB / 0.9843 GB, free: 8.27 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.3216, allocations: 0 / 0.9843 GB, free: 8.27 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.172e-06/0.3216, allocations: 0 / 0.9843 GB, free: 8.27 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.3216, allocations: 0 / 0.9843 GB, free: 8.27 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0006498/0.3223, allocations: 381.4 kB / 0.9846 GB, free: 7.84 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.951e-05/0.3224, allocations: 16.03 kB / 0.9847 GB, free: 7.824 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.171e-05/0.3224, allocations: 4.844 kB / 0.9847 GB, free: 7.82 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001506/0.3226, allocations: 160.4 kB / 0.9848 GB, free: 7.625 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.638e-05/0.3226, allocations: 8.312 kB / 0.9848 GB, free: 7.617 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.143e-05/0.3226, allocations: 384 / 0.9848 GB, free: 7.617 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001466/0.3228, allocations: 54.12 kB / 0.9849 GB, free: 7.559 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.3228, allocations: 4.172 kB / 0.9849 GB, free: 7.555 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.3228, allocations: 3.938 kB / 0.9849 GB, free: 7.551 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.3228, allocations: 0 / 0.9849 GB, free: 7.551 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.699e-05/0.3229, allocations: 4 kB / 0.9849 GB, free: 7.547 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002536/0.3231, allocations: 161.7 kB / 0.985 GB, free: 7.34 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001401/0.3233, allocations: 30.61 kB / 0.9851 GB, free: 7.301 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.113e-05/0.3234, allocations: 16.86 kB / 0.9851 GB, free: 7.281 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.045e-05/0.3234, allocations: 3.938 kB / 0.9851 GB, free: 7.277 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000268/0.3237, allocations: 59.48 kB / 0.9851 GB, free: 7.207 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.743e-06/0.3237, allocations: 0 / 0.9851 GB, free: 7.207 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0002883/0.324, allocations: 73.52 kB / 0.9852 GB, free: 7.129 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.619e-05/0.324, allocations: 55.41 kB / 0.9853 GB, free: 7.062 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001132/0.3242, allocations: 101.8 kB / 0.9854 GB, free: 6.953 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.493e-05/0.3242, allocations: 29.7 kB / 0.9854 GB, free: 6.918 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.927e-05/0.3243, allocations: 88.08 kB / 0.9855 GB, free: 6.828 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.562e-05/0.3243, allocations: 7.844 kB / 0.9855 GB, free: 6.82 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.003e-05/0.3244, allocations: 21.72 kB / 0.9855 GB, free: 6.793 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001611/0.3245, allocations: 326.8 kB / 0.9858 GB, free: 6.465 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.797e-05/0.3246, allocations: 4 kB / 0.9858 GB, free: 6.461 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.514e-05/0.3246, allocations: 39.41 kB / 0.9859 GB, free: 6.41 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001024/0.3247, allocations: 47.62 kB / 0.9859 GB, free: 6.352 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3247, allocations: 0 / 0.9859 GB, free: 6.352 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001303/0.3249, allocations: 69.86 kB / 0.986 GB, free: 6.277 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.3249, allocations: 14.44 kB / 0.986 GB, free: 6.266 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.3249, allocations: 3.984 kB / 0.986 GB, free: 6.262 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.325, allocations: 0 / 0.986 GB, free: 6.262 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.298e-05/0.3251, allocations: 8 kB / 0.986 GB, free: 6.254 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.143e-05/0.3251, allocations: 3.938 kB / 0.986 GB, free: 6.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.386e-05/0.3251, allocations: 11.89 kB / 0.986 GB, free: 6.238 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/0.3252, allocations: 4.094 kB / 0.986 GB, free: 6.234 MB / 0.7136 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.0001102/0.3253, allocations: 113.8 kB / 0.9861 GB, free: 6.113 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.84e-05/0.3253, allocations: 3.938 kB / 0.9861 GB, free: 6.109 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.751e-05/0.3253, allocations: 15.83 kB / 0.9861 GB, free: 6.086 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.3254, allocations: 0 / 0.9861 GB, free: 6.086 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/0.3254, allocations: 0 / 0.9861 GB, free: 6.086 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.3254, allocations: 0 / 0.9861 GB, free: 6.086 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001518/0.3255, allocations: 153.7 kB / 0.9863 GB, free: 5.887 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.3255, allocations: 0 / 0.9863 GB, free: 5.887 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.91e-05/0.3256, allocations: 8 kB / 0.9863 GB, free: 5.879 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.3256, allocations: 3.938 kB / 0.9863 GB, free: 5.875 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.3256, allocations: 0 / 0.9863 GB, free: 5.875 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3256, allocations: 3.938 kB / 0.9863 GB, free: 5.871 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.052e-06/0.3256, allocations: 3.984 kB / 0.9863 GB, free: 5.867 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005287/0.3262, allocations: 0.6395 MB / 0.9869 GB, free: 5.168 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.009e-05/0.3262, allocations: 81.11 kB / 0.987 GB, free: 5.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.075e-05/0.3263, allocations: 7.984 kB / 0.987 GB, free: 5.062 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.849e-05/0.3263, allocations: 0 / 0.987 GB, free: 5.062 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.44e-05/0.3263, allocations: 0 / 0.987 GB, free: 5.062 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.538e-06/0.3264, allocations: 11.94 kB / 0.987 GB, free: 5.051 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.962e-05/0.3264, allocations: 83.27 kB / 0.9871 GB, free: 4.969 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.71e-07/0.3264, allocations: 0 / 0.9871 GB, free: 4.969 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0005433/0.327, allocations: 32 kB / 0.9871 GB, free: 4.938 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 (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.0004516/0.3274, allocations: 154.5 kB / 0.9873 GB, free: 4.785 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001488/0.3276, allocations: 43.89 kB / 0.9873 GB, free: 4.742 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.3276, allocations: 0 / 0.9873 GB, free: 4.742 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.081e-05/0.3277, allocations: 11.98 kB / 0.9873 GB, free: 4.73 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002057/0.3279, allocations: 7.938 kB / 0.9873 GB, free: 4.723 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000452/0.3284, allocations: 233.7 kB / 0.9876 GB, free: 4.457 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002982/0.3287, allocations: 0.677 MB / 0.9882 GB, free: 3.754 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.278e-05/0.3287, allocations: 4 kB / 0.9882 GB, free: 3.75 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.887e-05/0.3287, allocations: 7.438 kB / 0.9882 GB, free: 3.742 MB / 0.7136 GB Notification: Performance of SimCode: time 2.81e-07/0.3287, allocations: 0 / 0.9882 GB, free: 3.742 MB / 0.7136 GB Notification: Performance of Templates: time 0.004722/0.3335, allocations: 1.076 MB / 0.9893 GB, free: 2.668 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.makefile (rm -f Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; mkfifo Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe >> ../files/Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.sim & ./Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe 2>&1)