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/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008858/0.0008855, allocations: 91.45 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.005427/0.005427, allocations: 170.8 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.507/1.507, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.76/1.76, allocations: 292.7 MB / 0.5502 GB, free: 14.45 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000569/0.0005691, allocations: 14.72 kB / 0.6743 GB, free: 25.74 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2415/0.2421, allocations: 116.3 MB / 0.7879 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.001464/0.2436, allocations: 0.9508 MB / 0.7888 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009629/0.2446, allocations: 460.6 kB / 0.7892 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.464e-05/0.2446, allocations: 0 / 0.7892 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.139e-05/0.2447, allocations: 3.938 kB / 0.7892 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.007e-05/0.2447, allocations: 3.938 kB / 0.7892 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000615/0.2453, allocations: 91.77 kB / 0.7893 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.566e-05/0.2454, allocations: 19.94 kB / 0.7894 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.904e-05/0.2455, allocations: 0 / 0.7894 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.629e-05/0.2455, allocations: 7.984 kB / 0.7894 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.244e-05/0.2456, allocations: 15.92 kB / 0.7894 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.431e-05/0.2456, allocations: 8 kB / 0.7894 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002087/0.2458, allocations: 91.91 kB / 0.7895 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.411e-05/0.2458, allocations: 19.91 kB / 0.7895 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.206e-05/0.2459, allocations: 29.64 kB / 0.7895 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001993/0.2461, allocations: 99.73 kB / 0.7896 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.2461, allocations: 4 kB / 0.7896 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.186e-06/0.2461, allocations: 0 / 0.7896 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.2461, allocations: 0 / 0.7896 GB, free: 9.762 MB / 0.6075 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.000452/0.2466, allocations: 373.4 kB / 0.79 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.2466, allocations: 16.03 kB / 0.79 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.26e-05/0.2467, allocations: 0.9375 kB / 0.79 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001217/0.2468, allocations: 172.3 kB / 0.7902 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.495e-05/0.2468, allocations: 4.375 kB / 0.7902 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.263e-05/0.2469, allocations: 384 / 0.7902 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001121/0.247, allocations: 38.25 kB / 0.7902 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.247, allocations: 4.125 kB / 0.7902 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.445e-05/0.247, allocations: 7.922 kB / 0.7902 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.247, allocations: 0 / 0.7902 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.025e-05/0.2471, allocations: 15.92 kB / 0.7902 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001475/0.2472, allocations: 157.7 kB / 0.7904 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.63e-05/0.2473, allocations: 30.61 kB / 0.7904 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.604e-05/0.2474, allocations: 12.86 kB / 0.7904 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.408e-06/0.2474, allocations: 0 / 0.7904 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001432/0.2475, allocations: 55.48 kB / 0.7905 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 2.866e-06/0.2475, allocations: 4 kB / 0.7905 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0002032/0.2478, allocations: 69.56 kB / 0.7905 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.801e-05/0.2478, allocations: 55.41 kB / 0.7906 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.06e-05/0.2479, allocations: 101.8 kB / 0.7907 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.538e-05/0.2479, allocations: 33.7 kB / 0.7907 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.284e-05/0.248, allocations: 84.12 kB / 0.7908 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.192e-05/0.248, allocations: 19.69 kB / 0.7908 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.422e-05/0.248, allocations: 13.72 kB / 0.7908 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.2481, allocations: 318.8 kB / 0.7911 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.021e-05/0.2482, allocations: 7.984 kB / 0.7911 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.523e-05/0.2482, allocations: 31.44 kB / 0.7912 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.004e-05/0.2483, allocations: 47.36 kB / 0.7912 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.2483, allocations: 8 kB / 0.7912 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001057/0.2484, allocations: 65.56 kB / 0.7913 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.2484, allocations: 14.75 kB / 0.7913 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.2484, allocations: 0 / 0.7913 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.2484, allocations: 0 / 0.7913 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.154e-05/0.2485, allocations: 8 kB / 0.7913 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.612e-05/0.2485, allocations: 3.984 kB / 0.7913 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.777e-05/0.2485, allocations: 4 kB / 0.7913 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.775e-06/0.2486, allocations: 0 / 0.7913 GB, free: 7.766 MB / 0.6075 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 8.108e-05/0.2487, allocations: 122.5 kB / 0.7914 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.828e-05/0.2487, allocations: 11.84 kB / 0.7914 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.6e-05/0.2487, allocations: 3.906 kB / 0.7915 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.2487, allocations: 0 / 0.7915 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.646e-06/0.2487, allocations: 0 / 0.7915 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.2487, allocations: 0 / 0.7915 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001103/0.2488, allocations: 157.7 kB / 0.7916 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.2489, allocations: 4 kB / 0.7916 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.341e-05/0.2489, allocations: 256 / 0.7916 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.282e-06/0.2489, allocations: 7.938 kB / 0.7916 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.2489, allocations: 4 kB / 0.7916 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.197e-06/0.2489, allocations: 4 kB / 0.7916 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.2489, allocations: 3.938 kB / 0.7916 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001487/0.2491, allocations: 89.33 kB / 0.7917 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.338e-05/0.2491, allocations: 81.02 kB / 0.7918 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.724e-05/0.2492, allocations: 7.938 kB / 0.7918 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.262e-05/0.2492, allocations: 0 / 0.7918 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.98e-05/0.2492, allocations: 15.92 kB / 0.7918 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.805e-06/0.2492, allocations: 4 kB / 0.7918 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.446e-05/0.2493, allocations: 79.28 kB / 0.7919 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.184e-06/0.2493, allocations: 0 / 0.7919 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002493/0.2496, allocations: 43.92 kB / 0.7919 GB, free: 7.035 MB / 0.6075 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.0004367/0.25, allocations: 155.3 kB / 0.7921 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001211/0.2501, allocations: 31.92 kB / 0.7921 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2502, allocations: 0 / 0.7921 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.844e-05/0.2502, allocations: 16 kB / 0.7921 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001502/0.2504, allocations: 3.938 kB / 0.7921 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003001/0.2507, allocations: 114.7 kB / 0.7922 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002899/0.251, allocations: 0.685 MB / 0.7929 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.569e-05/0.251, allocations: 0 / 0.7929 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.579e-05/0.251, allocations: 11.44 kB / 0.7929 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.251, allocations: 0 / 0.7929 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of Templates: time 0.003743/0.2548, allocations: 1.051 MB / 0.7939 GB, free: 4.926 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: