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/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 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001232/0.001232, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001242/0.001242, allocations: 188.2 kB / 16.25 MB, free: 6.586 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.472/1.472, allocations: 205.1 MB / 222.1 MB, free: 4.691 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.482/1.482, allocations: 251.7 MB / 0.5089 GB, free: 3.289 MB / 414.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.001402/0.001402, allocations: 63.91 kB / 0.6217 GB, free: 1.871 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5688/0.5702, allocations: 104.7 MB / 0.724 GB, free: 13.12 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.002565/0.5728, allocations: 1.283 MB / 0.7252 GB, free: 11.83 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0009781/0.5738, allocations: 466.2 kB / 0.7257 GB, free: 11.37 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.312e-05/0.5739, allocations: 0 / 0.7257 GB, free: 11.37 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.387e-05/0.5739, allocations: 3.938 kB / 0.7257 GB, free: 11.37 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.644e-05/0.574, allocations: 0 / 0.7257 GB, free: 11.37 MB / 0.545 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.0006878/0.5747, allocations: 99.78 kB / 0.7258 GB, free: 11.27 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.93e-05/0.5748, allocations: 19.92 kB / 0.7258 GB, free: 11.25 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 6.533e-05/0.5748, allocations: 7.938 kB / 0.7258 GB, free: 11.24 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.215e-05/0.5749, allocations: 7.984 kB / 0.7258 GB, free: 11.23 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.33e-05/0.5749, allocations: 11.92 kB / 0.7258 GB, free: 11.22 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.677e-05/0.5749, allocations: 8 kB / 0.7258 GB, free: 11.21 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002492/0.5752, allocations: 107.8 kB / 0.7259 GB, free: 11.11 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.314e-05/0.5752, allocations: 0 / 0.7259 GB, free: 11.11 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.895e-05/0.5753, allocations: 15.92 kB / 0.726 GB, free: 11.09 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002293/0.5755, allocations: 91.81 kB / 0.726 GB, free: 11 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 1.737e-05/0.5755, allocations: 3.984 kB / 0.726 GB, free: 11 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.766e-06/0.5756, allocations: 0 / 0.726 GB, free: 11 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.215e-05/0.5756, allocations: 0 / 0.726 GB, free: 11 MB / 0.545 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.0007522/0.5763, allocations: 391 kB / 0.7264 GB, free: 10.56 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.826e-05/0.5764, allocations: 12.03 kB / 0.7264 GB, free: 10.55 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.208e-05/0.5765, allocations: 0.9375 kB / 0.7264 GB, free: 10.55 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001866/0.5767, allocations: 172.3 kB / 0.7266 GB, free: 10.34 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.882e-05/0.5767, allocations: 384 / 0.7266 GB, free: 10.34 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.312e-05/0.5767, allocations: 8.312 kB / 0.7266 GB, free: 10.34 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000159/0.5769, allocations: 38.19 kB / 0.7266 GB, free: 10.29 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.5769, allocations: 192 / 0.7266 GB, free: 10.29 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.361e-05/0.5769, allocations: 7.922 kB / 0.7267 GB, free: 10.29 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.577, allocations: 0 / 0.7267 GB, free: 10.29 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.9e-05/0.577, allocations: 12 kB / 0.7267 GB, free: 10.27 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002391/0.5773, allocations: 157.7 kB / 0.7268 GB, free: 10.07 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.903e-05/0.5774, allocations: 34.61 kB / 0.7268 GB, free: 10.03 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.507e-05/0.5774, allocations: 12.84 kB / 0.7269 GB, free: 10.01 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 8.305e-06/0.5774, allocations: 0 / 0.7269 GB, free: 10.01 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001389/0.5776, allocations: 63.33 kB / 0.7269 GB, free: 9.938 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.5776, allocations: 4 kB / 0.7269 GB, free: 9.934 MB / 0.545 GB Notification: Performance of matching and sorting (n=4): time 0.0002405/0.5778, allocations: 73.61 kB / 0.727 GB, free: 9.855 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.954e-05/0.5779, allocations: 51.41 kB / 0.727 GB, free: 9.793 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/0.578, allocations: 105.8 kB / 0.7271 GB, free: 9.68 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.578, allocations: 29.7 kB / 0.7272 GB, free: 9.645 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.153e-05/0.5781, allocations: 80.14 kB / 0.7272 GB, free: 9.562 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.65e-05/0.5781, allocations: 7.906 kB / 0.7273 GB, free: 9.555 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.76e-05/0.5782, allocations: 21.72 kB / 0.7273 GB, free: 9.527 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.5783, allocations: 318.8 kB / 0.7276 GB, free: 9.207 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.896e-05/0.5783, allocations: 15.92 kB / 0.7276 GB, free: 9.191 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.528e-05/0.5784, allocations: 35.41 kB / 0.7276 GB, free: 9.145 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.046e-05/0.5785, allocations: 51.38 kB / 0.7277 GB, free: 9.082 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.5785, allocations: 0 / 0.7277 GB, free: 9.082 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001051/0.5786, allocations: 69.53 kB / 0.7277 GB, free: 9.008 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.5786, allocations: 7.938 kB / 0.7278 GB, free: 9 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.5786, allocations: 0 / 0.7278 GB, free: 9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.18e-05/0.5787, allocations: 7.984 kB / 0.7278 GB, free: 8.992 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.083e-05/0.5787, allocations: 4 kB / 0.7278 GB, free: 8.988 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.5788, allocations: 0 / 0.7278 GB, free: 8.988 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.701e-05/0.5788, allocations: 7.938 kB / 0.7278 GB, free: 8.98 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.323e-05/0.5788, allocations: 4.094 kB / 0.7278 GB, free: 8.977 MB / 0.545 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.356e-05/0.5789, allocations: 121.7 kB / 0.7279 GB, free: 8.848 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.71e-05/0.5789, allocations: 7.938 kB / 0.7279 GB, free: 8.84 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.444e-05/0.579, allocations: 7.891 kB / 0.7279 GB, free: 8.824 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.579, allocations: 0 / 0.7279 GB, free: 8.824 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.579, allocations: 0 / 0.7279 GB, free: 8.824 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.579, allocations: 0 / 0.7279 GB, free: 8.824 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001285/0.5791, allocations: 161.6 kB / 0.7281 GB, free: 8.617 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.5791, allocations: 0 / 0.7281 GB, free: 8.617 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.179e-05/0.5791, allocations: 0 / 0.7281 GB, free: 8.617 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.5792, allocations: 7.938 kB / 0.7281 GB, free: 8.609 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.45e-05/0.5792, allocations: 11.94 kB / 0.7281 GB, free: 8.598 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.5792, allocations: 256 / 0.7281 GB, free: 8.598 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.5792, allocations: 0 / 0.7281 GB, free: 8.598 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001202/0.5793, allocations: 85.05 kB / 0.7282 GB, free: 8.496 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.716e-05/0.5794, allocations: 85.11 kB / 0.7282 GB, free: 8.395 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.724e-05/0.5794, allocations: 8.203 kB / 0.7282 GB, free: 8.387 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.209e-05/0.5794, allocations: 0 / 0.7282 GB, free: 8.387 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.433e-05/0.5794, allocations: 4 kB / 0.7283 GB, free: 8.383 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.634e-06/0.5795, allocations: 4 kB / 0.7283 GB, free: 8.379 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.718e-05/0.5795, allocations: 87.27 kB / 0.7283 GB, free: 8.293 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.5795, allocations: 0 / 0.7283 GB, free: 8.293 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002646/0.5798, allocations: 32 kB / 0.7284 GB, free: 8.262 MB / 0.545 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.0003527/0.5801, allocations: 162 kB / 0.7285 GB, free: 8.109 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001269/0.5803, allocations: 31.92 kB / 0.7286 GB, free: 8.078 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.5803, allocations: 0 / 0.7286 GB, free: 8.078 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.283e-05/0.5803, allocations: 19.92 kB / 0.7286 GB, free: 8.059 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000156/0.5805, allocations: 0 / 0.7286 GB, free: 8.059 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003045/0.5808, allocations: 124.7 kB / 0.7287 GB, free: 7.91 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002967/0.5811, allocations: 0.6808 MB / 0.7294 GB, free: 7.203 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.678e-05/0.5811, allocations: 4 kB / 0.7294 GB, free: 7.199 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.247e-05/0.5812, allocations: 11.42 kB / 0.7294 GB, free: 7.188 MB / 0.545 GB Notification: Performance of SimCode: time 2.2e-07/0.5812, allocations: 7.875 kB / 0.7294 GB, free: 7.18 MB / 0.545 GB Notification: Performance of Templates: time 0.004412/0.5856, allocations: 1.084 MB / 0.7304 GB, free: 6.098 MB / 0.545 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)