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/Buildings 8.1.1-maint.8.1.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 8.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.681/1.681, allocations: 293 MB / 309 MB, free: 4.805 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001065/0.001066, allocations: 176.5 kB / 378.7 MB, free: 1.027 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.356/1.356, allocations: 205.4 MB / 0.6383 GB, free: 8.227 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007393/0.0007394, allocations: 93.61 kB / 0.7527 GB, free: 62.72 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003868/0.000387, allocations: 16 kB / 0.8768 GB, free: 10.45 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2573/0.2577, allocations: 116.4 MB / 0.9904 GB, free: 5.902 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6529/0.9107, allocations: 139.4 MB / 1.127 GB, free: 34.51 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002379/0.911, allocations: 75.83 kB / 1.127 GB, free: 34.45 MB / 0.7292 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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 FrontEnd - DAE generated: time 0.005601/0.9166, allocations: 2.354 MB / 1.129 GB, free: 32.73 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.014e-06/0.9166, allocations: 0 / 1.129 GB, free: 32.73 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.9166, allocations: 0 / 1.129 GB, free: 32.73 MB / 0.7292 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.0003107/0.9169, allocations: 389.7 kB / 1.129 GB, free: 32.3 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.917, allocations: 12.91 kB / 1.129 GB, free: 32.29 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.077e-05/0.917, allocations: 0.9375 kB / 1.129 GB, free: 32.29 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.658e-05/0.9171, allocations: 172.3 kB / 1.13 GB, free: 32.09 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.793e-05/0.9171, allocations: 5.344 kB / 1.13 GB, free: 32.08 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.487e-05/0.9171, allocations: 9.719 kB / 1.13 GB, free: 32.07 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.743e-05/0.9172, allocations: 35.36 kB / 1.13 GB, free: 32.04 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.9173, allocations: 192 / 1.13 GB, free: 32.04 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.188e-06/0.9173, allocations: 3.938 kB / 1.13 GB, free: 32.04 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.9173, allocations: 0.625 kB / 1.13 GB, free: 32.04 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.76e-05/0.9173, allocations: 11.52 kB / 1.13 GB, free: 32.03 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001263/0.9174, allocations: 165 kB / 1.13 GB, free: 31.82 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 6.579e-05/0.9175, allocations: 25.91 kB / 1.13 GB, free: 31.79 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.952e-05/0.9176, allocations: 22.95 kB / 1.13 GB, free: 31.77 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.061e-05/0.9176, allocations: 0 / 1.13 GB, free: 31.77 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.643e-05/0.9177, allocations: 58.45 kB / 1.13 GB, free: 31.7 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=4): time 1.292e-06/0.9177, allocations: 0 / 1.13 GB, free: 31.7 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4): time 0.0001845/0.9179, allocations: 68.53 kB / 1.13 GB, free: 31.64 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.706e-05/0.9179, allocations: 59.34 kB / 1.13 GB, free: 31.57 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.342e-05/0.918, allocations: 101.8 kB / 1.13 GB, free: 31.46 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.577e-06/0.918, allocations: 29.7 kB / 1.13 GB, free: 31.43 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.422e-05/0.918, allocations: 87.7 kB / 1.13 GB, free: 31.34 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.811e-05/0.918, allocations: 3.906 kB / 1.13 GB, free: 31.34 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.605e-06/0.918, allocations: 4 kB / 1.13 GB, free: 31.33 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 4.98e-05/0.9181, allocations: 318.8 kB / 1.13 GB, free: 31.01 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.744e-05/0.9181, allocations: 11.5 kB / 1.13 GB, free: 31 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.631e-05/0.9182, allocations: 31.98 kB / 1.131 GB, free: 30.96 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.019e-05/0.9182, allocations: 51.36 kB / 1.131 GB, free: 30.9 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.9182, allocations: 0 / 1.131 GB, free: 30.9 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.093e-05/0.9183, allocations: 69.52 kB / 1.131 GB, free: 30.83 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.9183, allocations: 7.938 kB / 1.131 GB, free: 30.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.9183, allocations: 0 / 1.131 GB, free: 30.82 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.9184, allocations: 4.844 kB / 1.131 GB, free: 30.82 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.195e-05/0.9184, allocations: 12.16 kB / 1.131 GB, free: 30.81 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.9184, allocations: 4.703 kB / 1.131 GB, free: 30.81 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.477e-05/0.9185, allocations: 0.5 kB / 1.131 GB, free: 30.81 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.9185, allocations: 8.094 kB / 1.131 GB, free: 30.8 MB / 0.7292 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 5.345e-05/0.9185, allocations: 113.8 kB / 1.131 GB, free: 30.68 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.025e-05/0.9186, allocations: 11.84 kB / 1.131 GB, free: 30.67 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.603e-05/0.9186, allocations: 7.875 kB / 1.131 GB, free: 30.66 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.9186, allocations: 0.5625 kB / 1.131 GB, free: 30.66 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.758e-06/0.9186, allocations: 0 / 1.131 GB, free: 30.66 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.9186, allocations: 0 / 1.131 GB, free: 30.66 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.514e-05/0.9187, allocations: 157.8 kB / 1.131 GB, free: 30.46 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.9187, allocations: 2.156 kB / 1.131 GB, free: 30.46 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.165e-05/0.9187, allocations: 4 kB / 1.131 GB, free: 30.46 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.9187, allocations: 8.016 kB / 1.131 GB, free: 30.45 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-06/0.9187, allocations: 4 kB / 1.131 GB, free: 30.45 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.9187, allocations: 0.6875 kB / 1.131 GB, free: 30.45 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.9188, allocations: 0 / 1.131 GB, free: 30.45 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001007/0.9189, allocations: 88.02 kB / 1.131 GB, free: 30.35 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.099e-05/0.9189, allocations: 81.11 kB / 1.131 GB, free: 30.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.248e-05/0.9189, allocations: 4.5 kB / 1.131 GB, free: 30.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.146e-05/0.9189, allocations: 4.688 kB / 1.131 GB, free: 30.25 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.5e-05/0.919, allocations: 3.469 kB / 1.131 GB, free: 30.25 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-06/0.919, allocations: 4 kB / 1.131 GB, free: 30.24 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.34e-05/0.919, allocations: 83.78 kB / 1.131 GB, free: 30.16 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.11e-07/0.919, allocations: 0 / 1.131 GB, free: 30.16 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002221/0.9192, allocations: 48 kB / 1.131 GB, free: 30.12 MB / 0.7292 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.0003192/0.9196, allocations: 178.5 kB / 1.131 GB, free: 29.96 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 9.433e-05/0.9197, allocations: 31.22 kB / 1.131 GB, free: 29.94 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.9197, allocations: 0.9375 kB / 1.131 GB, free: 29.94 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.008e-05/0.9197, allocations: 12 kB / 1.131 GB, free: 29.93 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001281/0.9198, allocations: 0.8594 kB / 1.131 GB, free: 29.93 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002484/0.9201, allocations: 132.2 kB / 1.132 GB, free: 29.79 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.586e-05/0.9202, allocations: 0.6804 MB / 1.132 GB, free: 29.08 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.931e-05/0.9202, allocations: 0 / 1.132 GB, free: 29.08 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.51e-05/0.9203, allocations: 11.44 kB / 1.132 GB, free: 29.07 MB / 0.7292 GB Notification: Performance of SimCode: time 2.41e-07/0.9203, allocations: 0 / 1.132 GB, free: 29.07 MB / 0.7292 GB Notification: Performance of Templates: time 0.003019/0.9233, allocations: 1.21 MB / 1.133 GB, free: 28.4 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.makefile (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)