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.001425/0.001425, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001681/0.001681, allocations: 195.9 kB / 16.53 MB, free: 6.664 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.397/1.397, allocations: 222.9 MB / 240.2 MB, free: 4.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.859/2.859, allocations: 472.6 MB / 0.7451 GB, free: 4.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 59.09 kB / 0.912 GB, free: 33.31 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.323/0.3243, allocations: 159.9 MB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.002669/0.327, allocations: 1.219 MB / 1.069 GB, free: 9.195 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.000971/0.328, allocations: 468.6 kB / 1.07 GB, free: 8.738 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.234e-05/0.328, allocations: 0 / 1.07 GB, free: 8.738 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.817e-05/0.3281, allocations: 3.984 kB / 1.07 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.953e-05/0.3281, allocations: 3.938 kB / 1.07 GB, free: 8.73 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006159/0.3287, allocations: 111.6 kB / 1.07 GB, free: 8.621 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.315e-05/0.3288, allocations: 27.86 kB / 1.07 GB, free: 8.594 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.408e-05/0.3289, allocations: 0 / 1.07 GB, free: 8.594 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.208e-05/0.3289, allocations: 4 kB / 1.07 GB, free: 8.59 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.72e-05/0.3289, allocations: 19.91 kB / 1.07 GB, free: 8.57 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.281e-05/0.329, allocations: 0 / 1.07 GB, free: 8.57 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000235/0.3292, allocations: 107.8 kB / 1.07 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.628e-05/0.3292, allocations: 4 kB / 1.07 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.1e-05/0.3293, allocations: 11.92 kB / 1.07 GB, free: 8.449 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002091/0.3295, allocations: 95.81 kB / 1.07 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3295, allocations: 4 kB / 1.07 GB, free: 8.352 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.733e-06/0.3295, allocations: 0 / 1.07 GB, free: 8.352 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.63e-06/0.3295, allocations: 0 / 1.07 GB, free: 8.352 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.0005076/0.33, allocations: 389.3 kB / 1.071 GB, free: 7.914 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.3301, allocations: 12.03 kB / 1.071 GB, free: 7.902 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.945e-05/0.3301, allocations: 0.9375 kB / 1.071 GB, free: 7.902 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001206/0.3302, allocations: 172.3 kB / 1.071 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.169e-05/0.3303, allocations: 384 / 1.071 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.666e-05/0.3303, allocations: 8.312 kB / 1.071 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001168/0.3304, allocations: 46.23 kB / 1.071 GB, free: 7.637 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.3304, allocations: 192 / 1.071 GB, free: 7.637 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.3304, allocations: 3.938 kB / 1.071 GB, free: 7.633 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.415e-05/0.3305, allocations: 0 / 1.071 GB, free: 7.633 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.078e-05/0.3305, allocations: 7.984 kB / 1.071 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001671/0.3307, allocations: 153.7 kB / 1.071 GB, free: 7.426 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.425e-05/0.3308, allocations: 30.61 kB / 1.071 GB, free: 7.387 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.082e-05/0.3308, allocations: 24.8 kB / 1.071 GB, free: 7.359 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.047e-05/0.3308, allocations: 0 / 1.071 GB, free: 7.359 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001935/0.331, allocations: 55.48 kB / 1.071 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.493e-06/0.331, allocations: 0 / 1.071 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0002293/0.3313, allocations: 65.56 kB / 1.071 GB, free: 7.223 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.232e-05/0.3313, allocations: 63.39 kB / 1.071 GB, free: 7.148 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.376e-05/0.3314, allocations: 105.8 kB / 1.071 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.794e-05/0.3314, allocations: 29.7 kB / 1.071 GB, free: 7 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.738e-05/0.3315, allocations: 84.12 kB / 1.071 GB, free: 6.914 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.742e-05/0.3315, allocations: 23.73 kB / 1.071 GB, free: 6.891 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.584e-05/0.3316, allocations: 17.72 kB / 1.071 GB, free: 6.867 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.913e-05/0.3317, allocations: 314.8 kB / 1.072 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.249e-05/0.3317, allocations: 8 kB / 1.072 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.148e-05/0.3317, allocations: 35.44 kB / 1.072 GB, free: 6.496 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.202e-05/0.3318, allocations: 43.36 kB / 1.072 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.3318, allocations: 7.938 kB / 1.072 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001093/0.3319, allocations: 61.62 kB / 1.072 GB, free: 6.367 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.332, allocations: 11.94 kB / 1.072 GB, free: 6.355 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.332, allocations: 4.094 kB / 1.072 GB, free: 6.352 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.332, allocations: 0 / 1.072 GB, free: 6.352 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.921e-05/0.3321, allocations: 19.92 kB / 1.072 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.3321, allocations: 0 / 1.072 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.797e-05/0.3321, allocations: 4.25 kB / 1.072 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.207e-06/0.3321, allocations: 0 / 1.072 GB, free: 6.328 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 9.438e-05/0.3322, allocations: 114.4 kB / 1.072 GB, free: 6.207 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.819e-05/0.3323, allocations: 15.84 kB / 1.072 GB, free: 6.191 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.536e-05/0.3323, allocations: 3.906 kB / 1.072 GB, free: 6.18 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.3323, allocations: 4.234 kB / 1.072 GB, free: 6.176 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.3323, allocations: 0 / 1.072 GB, free: 6.176 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.3323, allocations: 3.984 kB / 1.072 GB, free: 6.172 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001171/0.3324, allocations: 157.7 kB / 1.072 GB, free: 5.969 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.3324, allocations: 4 kB / 1.072 GB, free: 5.965 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.547e-05/0.3325, allocations: 0 / 1.072 GB, free: 5.965 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.3325, allocations: 3.938 kB / 1.072 GB, free: 5.961 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.226e-06/0.3325, allocations: 0 / 1.072 GB, free: 5.961 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.3325, allocations: 4 kB / 1.072 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3325, allocations: 0 / 1.072 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001404/0.3326, allocations: 89.05 kB / 1.072 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.748e-05/0.3327, allocations: 81.02 kB / 1.072 GB, free: 5.754 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.744e-05/0.3327, allocations: 7.938 kB / 1.072 GB, free: 5.746 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.307e-05/0.3327, allocations: 0 / 1.072 GB, free: 5.746 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.51e-05/0.3328, allocations: 3.984 kB / 1.072 GB, free: 5.742 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.046e-06/0.3328, allocations: 4 kB / 1.072 GB, free: 5.738 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.829e-05/0.3328, allocations: 83.28 kB / 1.072 GB, free: 5.656 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3328, allocations: 0 / 1.072 GB, free: 5.656 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002597/0.3331, allocations: 39.98 kB / 1.072 GB, free: 5.617 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.0003515/0.3335, allocations: 163.8 kB / 1.073 GB, free: 5.465 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001145/0.3336, allocations: 31.92 kB / 1.073 GB, free: 5.434 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3336, allocations: 0 / 1.073 GB, free: 5.434 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.027e-05/0.3336, allocations: 16.17 kB / 1.073 GB, free: 5.418 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001384/0.3338, allocations: 4 kB / 1.073 GB, free: 5.414 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002735/0.3341, allocations: 120.7 kB / 1.073 GB, free: 5.27 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002223/0.3343, allocations: 0.6807 MB / 1.073 GB, free: 4.562 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.268e-05/0.3343, allocations: 0 / 1.073 GB, free: 4.562 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.807e-05/0.3344, allocations: 11.44 kB / 1.073 GB, free: 4.551 MB / 0.8262 GB Notification: Performance of SimCode: time 3.61e-07/0.3344, allocations: 4 kB / 1.073 GB, free: 4.547 MB / 0.8262 GB Notification: Performance of Templates: time 0.003481/0.3378, allocations: 1.074 MB / 1.075 GB, free: 3.477 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)