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.0006833/0.0006834, allocations: 86.8 kB / 15.06 MB, free: 1.09 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.0008934/0.0008934, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.468/1.468, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.731/1.731, allocations: 292.7 MB / 0.5499 GB, free: 14.56 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.0005572/0.0005573, allocations: 14.69 kB / 0.6737 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2457/0.2463, allocations: 116.3 MB / 0.7873 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.001426/0.2478, allocations: 0.9508 MB / 0.7882 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008274/0.2486, allocations: 424.9 kB / 0.7886 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.408e-05/0.2487, allocations: 0 / 0.7886 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.45e-05/0.2487, allocations: 0 / 0.7886 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.854e-05/0.2487, allocations: 0 / 0.7886 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004601/0.2492, allocations: 87.73 kB / 0.7887 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.695e-05/0.2493, allocations: 19.97 kB / 0.7887 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.639e-05/0.2493, allocations: 0 / 0.7887 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.34e-05/0.2494, allocations: 15.92 kB / 0.7887 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.325e-05/0.2494, allocations: 11.92 kB / 0.7887 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.052e-05/0.2494, allocations: 4 kB / 0.7887 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000187/0.2496, allocations: 91.91 kB / 0.7888 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.361e-05/0.2496, allocations: 7.938 kB / 0.7888 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.367e-05/0.2497, allocations: 33.64 kB / 0.7889 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001461/0.2498, allocations: 79.81 kB / 0.7889 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.2498, allocations: 0 / 0.7889 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.983e-06/0.2499, allocations: 0 / 0.7889 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.616e-06/0.2499, allocations: 0 / 0.7889 GB, free: 10.23 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.0004657/0.2503, allocations: 377.2 kB / 0.7893 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.2504, allocations: 12.03 kB / 0.7893 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.152e-05/0.2504, allocations: 4 kB / 0.7893 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001351/0.2506, allocations: 167 kB / 0.7895 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.391e-05/0.2506, allocations: 0 / 0.7895 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.285e-05/0.2506, allocations: 4 kB / 0.7895 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001027/0.2507, allocations: 37.67 kB / 0.7895 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.2507, allocations: 0 / 0.7895 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.2508, allocations: 8 kB / 0.7895 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.2508, allocations: 0 / 0.7895 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.476e-05/0.2508, allocations: 11.92 kB / 0.7895 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001684/0.251, allocations: 165.6 kB / 0.7897 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.873e-05/0.2511, allocations: 30.56 kB / 0.7897 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.097e-05/0.2511, allocations: 8.859 kB / 0.7897 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.899e-06/0.2511, allocations: 0 / 0.7897 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001378/0.2513, allocations: 59.42 kB / 0.7898 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 2.604e-06/0.2513, allocations: 4 kB / 0.7898 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0002191/0.2515, allocations: 69.62 kB / 0.7899 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.828e-05/0.2516, allocations: 51.41 kB / 0.7899 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.734e-05/0.2517, allocations: 105.8 kB / 0.79 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.419e-05/0.2517, allocations: 29.7 kB / 0.79 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.647e-05/0.2517, allocations: 80.14 kB / 0.7901 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.181e-05/0.2518, allocations: 19.83 kB / 0.7901 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.978e-06/0.2518, allocations: 0 / 0.7901 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.2519, allocations: 314.8 kB / 0.7904 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.983e-05/0.2519, allocations: 8 kB / 0.7904 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.905e-05/0.252, allocations: 39.36 kB / 0.7905 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.528e-05/0.252, allocations: 8 kB / 0.7905 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.252, allocations: 3.953 kB / 0.7905 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001055/0.2521, allocations: 77.52 kB / 0.7906 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.2521, allocations: 4 kB / 0.7906 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.2521, allocations: 0 / 0.7906 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.2522, allocations: 4.25 kB / 0.7906 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.226e-05/0.2522, allocations: 4 kB / 0.7906 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.946e-06/0.2523, allocations: 11.94 kB / 0.7906 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.437e-05/0.2523, allocations: 4 kB / 0.7906 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.927e-06/0.2523, allocations: 7.938 kB / 0.7906 GB, free: 8.293 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 ($PRE.y,y,$PRE.curSeed,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.479e-05/0.2524, allocations: 105.8 kB / 0.7907 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.32e-05/0.2524, allocations: 19.94 kB / 0.7907 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.833e-05/0.2524, allocations: 7.906 kB / 0.7907 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.2524, allocations: 0 / 0.7907 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.2524, allocations: 0 / 0.7907 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.2525, allocations: 0 / 0.7907 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001286/0.2526, allocations: 161.7 kB / 0.7909 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.2526, allocations: 0 / 0.7909 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.437e-05/0.2526, allocations: 3.953 kB / 0.7909 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.2526, allocations: 0 / 0.7909 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/0.2526, allocations: 8.219 kB / 0.7909 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.2526, allocations: 0 / 0.7909 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.2526, allocations: 4 kB / 0.7909 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001348/0.2528, allocations: 89.05 kB / 0.791 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.48e-05/0.2528, allocations: 85.09 kB / 0.7911 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.615e-05/0.2529, allocations: 7.891 kB / 0.7911 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.966e-05/0.2529, allocations: 0 / 0.7911 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.414e-05/0.2529, allocations: 0 / 0.7911 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.326e-06/0.2529, allocations: 4 kB / 0.7911 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.359e-05/0.253, allocations: 91.27 kB / 0.7912 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.253, allocations: 0 / 0.7912 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002399/0.2532, allocations: 32 kB / 0.7912 GB, free: 7.582 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003679/0.2536, allocations: 168.4 kB / 0.7913 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001228/0.2537, allocations: 27.92 kB / 0.7914 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.2538, allocations: 4.188 kB / 0.7914 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.803e-05/0.2538, allocations: 15.98 kB / 0.7914 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001413/0.254, allocations: 7.938 kB / 0.7914 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002795/0.2542, allocations: 124.5 kB / 0.7915 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002763/0.2545, allocations: 0.6809 MB / 0.7922 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.512e-05/0.2546, allocations: 4 kB / 0.7922 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.954e-05/0.2546, allocations: 15.42 kB / 0.7922 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of SimCode: time 3.055e-06/0.2546, allocations: 0 / 0.7922 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of Templates: time 0.01175/0.2663, allocations: 1.042 MB / 0.7932 GB, free: 5.457 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: