Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.335/1.335, allocations: 252 MB / 267.6 MB, free: 10.91 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001044/0.001044, allocations: 194.1 kB / 327.3 MB, free: 2.184 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.889/1.889, allocations: 205.4 MB / 0.5783 GB, free: 20.18 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007848/0.0007848, allocations: 90.06 kB / 0.6829 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003729/0.0003729, allocations: 13.23 kB / 0.797 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2538/0.2542, allocations: 106.3 MB / 0.9008 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.001229/0.2555, allocations: 0.9543 MB / 0.9017 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007188/0.2562, allocations: 433 kB / 0.9022 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.564e-05/0.2562, allocations: 0 / 0.9022 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.339e-05/0.2562, allocations: 0 / 0.9022 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.914e-05/0.2563, allocations: 3.938 kB / 0.9022 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004233/0.2567, allocations: 83.78 kB / 0.9022 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.272e-05/0.2568, allocations: 19.92 kB / 0.9023 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.123e-05/0.2568, allocations: 4 kB / 0.9023 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.15e-05/0.2569, allocations: 12 kB / 0.9023 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.898e-05/0.2569, allocations: 7.922 kB / 0.9023 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.171e-05/0.2569, allocations: 4 kB / 0.9023 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001642/0.2571, allocations: 87.91 kB / 0.9024 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.585e-05/0.2571, allocations: 19.91 kB / 0.9024 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.062e-05/0.2572, allocations: 25.7 kB / 0.9024 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001169/0.2573, allocations: 67.84 kB / 0.9025 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.2573, allocations: 3.938 kB / 0.9025 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.984e-06/0.2573, allocations: 0 / 0.9025 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.2573, allocations: 0 / 0.9025 GB, free: 62.18 MB / 0.6042 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.0004143/0.2577, allocations: 377.3 kB / 0.9028 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.2578, allocations: 12.03 kB / 0.9029 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.345e-05/0.2578, allocations: 3.906 kB / 0.9029 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.667e-05/0.2579, allocations: 175 kB / 0.903 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.645e-05/0.258, allocations: 0 / 0.903 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.054e-05/0.258, allocations: 0 / 0.903 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001019/0.2581, allocations: 45.61 kB / 0.9031 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.2581, allocations: 3.984 kB / 0.9031 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.2581, allocations: 0 / 0.9031 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.2581, allocations: 4 kB / 0.9031 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.153e-05/0.2582, allocations: 8 kB / 0.9031 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001325/0.2583, allocations: 157.6 kB / 0.9032 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 7.329e-05/0.2584, allocations: 30.61 kB / 0.9033 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.016e-05/0.2584, allocations: 12.86 kB / 0.9033 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.014e-05/0.2584, allocations: 0 / 0.9033 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001439/0.2586, allocations: 67.42 kB / 0.9033 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.2586, allocations: 3.938 kB / 0.9033 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0001954/0.2588, allocations: 69.58 kB / 0.9034 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.086e-05/0.2588, allocations: 51.41 kB / 0.9035 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.782e-05/0.2589, allocations: 105.8 kB / 0.9036 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.157e-06/0.2589, allocations: 29.7 kB / 0.9036 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.397e-05/0.2589, allocations: 84.14 kB / 0.9037 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.978e-05/0.259, allocations: 15.83 kB / 0.9037 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.368e-06/0.259, allocations: 4 kB / 0.9037 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.605e-05/0.259, allocations: 322.8 kB / 0.904 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.707e-05/0.2591, allocations: 8 kB / 0.904 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.59e-05/0.2591, allocations: 23.44 kB / 0.904 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.647e-05/0.2591, allocations: 15.98 kB / 0.904 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.2591, allocations: 4 kB / 0.904 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.004e-05/0.2592, allocations: 65.62 kB / 0.9041 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.2592, allocations: 4 kB / 0.9041 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.2592, allocations: 4.156 kB / 0.9041 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.2593, allocations: 0 / 0.9041 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.403e-05/0.2593, allocations: 11.94 kB / 0.9041 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.2593, allocations: 7.969 kB / 0.9041 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.781e-05/0.2594, allocations: 7.906 kB / 0.9041 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.2594, allocations: 4.094 kB / 0.9041 GB, free: 60.23 MB / 0.6042 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 6.004e-05/0.2595, allocations: 121.7 kB / 0.9043 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.065e-06/0.2595, allocations: 0 / 0.9043 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.557e-05/0.2595, allocations: 11.84 kB / 0.9043 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.2595, allocations: 4 kB / 0.9043 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.656e-06/0.2595, allocations: 0 / 0.9043 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.2595, allocations: 0 / 0.9043 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.789e-05/0.2596, allocations: 161.6 kB / 0.9044 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.2596, allocations: 0 / 0.9044 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.384e-05/0.2596, allocations: 4 kB / 0.9044 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.2596, allocations: 7.938 kB / 0.9044 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.153e-06/0.2597, allocations: 0 / 0.9044 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.2597, allocations: 0 / 0.9044 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.2597, allocations: 0 / 0.9044 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001057/0.2598, allocations: 93.23 kB / 0.9045 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.905e-05/0.2598, allocations: 85 kB / 0.9046 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.246e-05/0.2598, allocations: 0 / 0.9046 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.087e-05/0.2599, allocations: 0 / 0.9046 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.906e-05/0.2599, allocations: 11.98 kB / 0.9046 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-06/0.2599, allocations: 0 / 0.9046 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.562e-05/0.2599, allocations: 87.53 kB / 0.9047 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of sort global known variables: time 9e-08/0.2599, allocations: 0 / 0.9047 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002655/0.2602, allocations: 35.98 kB / 0.9047 GB, free: 59.52 MB / 0.6042 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.0003085/0.2605, allocations: 161.9 kB / 0.9049 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001005/0.2606, allocations: 27.92 kB / 0.9049 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.2606, allocations: 3.938 kB / 0.9049 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.406e-05/0.2607, allocations: 15.94 kB / 0.9049 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001275/0.2608, allocations: 0 / 0.9049 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000249/0.2611, allocations: 154.2 kB / 0.9051 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001043/0.2612, allocations: 0.6811 MB / 0.9058 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.486e-05/0.2612, allocations: 11.44 kB / 0.9058 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of SimCode: time 7.62e-07/0.2612, allocations: 0 / 0.9058 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of Templates: time 0.002598/0.2638, allocations: 1.235 MB / 0.907 GB, free: 57.19 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe 2>&1)