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.4-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.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.4-maint.8.1.x/package.mo): time 1.655/1.655, allocations: 289.7 MB / 302.2 MB, free: 2.191 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.001077/0.001077, allocations: 176.3 kB / 371.6 MB, free: 3.406 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.77/1.77, allocations: 205.1 MB / 0.6309 GB, free: 11.73 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.0009487/0.0009487, allocations: 90.3 kB / 0.745 GB, free: 54.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.486e-05/3.488e-05, allocations: 8 kB / 0.8662 GB, free: 15.04 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2889/0.2889, allocations: 116.3 MB / 0.9798 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8734/1.162, allocations: 139.3 MB / 1.116 GB, free: 44.48 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002274/1.163, allocations: 73.31 kB / 1.116 GB, free: 44.45 MB / 0.7448 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.005726/1.168, allocations: 2.319 MB / 1.118 GB, free: 43.08 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.513e-06/1.168, allocations: 0 / 1.118 GB, free: 43.08 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.683e-06/1.168, allocations: 0.6562 kB / 1.118 GB, free: 43.08 MB / 0.7448 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.0003253/1.169, allocations: 381.3 kB / 1.118 GB, free: 42.67 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/1.169, allocations: 12.03 kB / 1.118 GB, free: 42.66 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.387e-05/1.169, allocations: 4.344 kB / 1.118 GB, free: 42.66 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.707e-05/1.169, allocations: 169.2 kB / 1.119 GB, free: 42.46 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.497e-05/1.169, allocations: 0 / 1.119 GB, free: 42.46 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.494e-05/1.169, allocations: 9.25 kB / 1.119 GB, free: 42.46 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.35e-05/1.169, allocations: 43.62 kB / 1.119 GB, free: 42.42 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.363e-06/1.169, allocations: 0.6875 kB / 1.119 GB, free: 42.42 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/1.169, allocations: 1.172 kB / 1.119 GB, free: 42.42 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/1.169, allocations: 0.6562 kB / 1.119 GB, free: 42.42 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.558e-05/1.169, allocations: 4 kB / 1.119 GB, free: 42.41 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001421/1.169, allocations: 161.2 kB / 1.119 GB, free: 42.22 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.822e-05/1.169, allocations: 31.23 kB / 1.119 GB, free: 42.18 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.962e-05/1.169, allocations: 15.05 kB / 1.119 GB, free: 42.17 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.428e-05/1.169, allocations: 3.281 kB / 1.119 GB, free: 42.17 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001173/1.17, allocations: 67.64 kB / 1.119 GB, free: 42.11 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/1.17, allocations: 0 / 1.119 GB, free: 42.11 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0001734/1.17, allocations: 57.14 kB / 1.119 GB, free: 42.05 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.963e-05/1.17, allocations: 51.41 kB / 1.119 GB, free: 41.99 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.2e-05/1.17, allocations: 100.8 kB / 1.119 GB, free: 41.89 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.094e-05/1.17, allocations: 29.03 kB / 1.119 GB, free: 41.86 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.727e-05/1.17, allocations: 86.8 kB / 1.119 GB, free: 41.78 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.152e-05/1.17, allocations: 11.84 kB / 1.119 GB, free: 41.77 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.606e-06/1.17, allocations: 0 / 1.119 GB, free: 41.77 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.106e-05/1.17, allocations: 321.7 kB / 1.12 GB, free: 41.45 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.737e-05/1.17, allocations: 15.88 kB / 1.12 GB, free: 41.43 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.682e-05/1.17, allocations: 31.86 kB / 1.12 GB, free: 41.39 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.504e-05/1.17, allocations: 13.16 kB / 1.12 GB, free: 41.39 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/1.17, allocations: 0 / 1.12 GB, free: 41.39 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.066e-05/1.17, allocations: 65.53 kB / 1.12 GB, free: 41.33 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/1.17, allocations: 8.031 kB / 1.12 GB, free: 41.32 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/1.17, allocations: 4 kB / 1.12 GB, free: 41.32 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/1.17, allocations: 0 / 1.12 GB, free: 41.32 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.888e-05/1.17, allocations: 11.94 kB / 1.12 GB, free: 41.3 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/1.17, allocations: 4.172 kB / 1.12 GB, free: 41.3 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.37e-05/1.17, allocations: 3.75 kB / 1.12 GB, free: 41.3 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/1.17, allocations: 4 kB / 1.12 GB, free: 41.3 MB / 0.7448 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 () * 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.313e-05/1.17, allocations: 109.6 kB / 1.12 GB, free: 41.19 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.818e-06/1.17, allocations: 4.562 kB / 1.12 GB, free: 41.18 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.004e-05/1.171, allocations: 11.91 kB / 1.12 GB, free: 41.17 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/1.171, allocations: 5.125 kB / 1.12 GB, free: 41.17 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/1.171, allocations: 0 / 1.12 GB, free: 41.17 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/1.171, allocations: 0 / 1.12 GB, free: 41.17 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.794e-05/1.171, allocations: 161 kB / 1.12 GB, free: 40.97 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/1.171, allocations: 0.5625 kB / 1.12 GB, free: 40.97 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.272e-05/1.171, allocations: 4 kB / 1.12 GB, free: 40.97 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/1.171, allocations: 0 / 1.12 GB, free: 40.97 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.866e-06/1.171, allocations: 0.9375 kB / 1.12 GB, free: 40.97 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/1.171, allocations: 0 / 1.12 GB, free: 40.97 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/1.171, allocations: 7.938 kB / 1.12 GB, free: 40.96 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.809e-05/1.171, allocations: 85.27 kB / 1.12 GB, free: 40.88 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.618e-05/1.171, allocations: 88.39 kB / 1.12 GB, free: 40.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.715e-05/1.171, allocations: 0.9375 kB / 1.12 GB, free: 40.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.18e-05/1.171, allocations: 0 / 1.12 GB, free: 40.77 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.492e-05/1.171, allocations: 4.562 kB / 1.12 GB, free: 40.77 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.49e-06/1.171, allocations: 0 / 1.12 GB, free: 40.77 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.798e-05/1.171, allocations: 87.03 kB / 1.12 GB, free: 40.69 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.41e-07/1.171, allocations: 8 kB / 1.12 GB, free: 40.68 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002647/1.171, allocations: 51.11 kB / 1.12 GB, free: 40.64 MB / 0.7448 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 () * 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.0003739/1.172, allocations: 172.2 kB / 1.121 GB, free: 40.49 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000104/1.172, allocations: 28.28 kB / 1.121 GB, free: 40.47 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/1.172, allocations: 192 / 1.121 GB, free: 40.47 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.112e-05/1.172, allocations: 19.75 kB / 1.121 GB, free: 40.45 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.112e-05/1.172, allocations: 0 / 1.121 GB, free: 40.45 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001902/1.172, allocations: 75.56 kB / 1.121 GB, free: 40.37 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001296/1.172, allocations: 0.6836 MB / 1.121 GB, free: 39.67 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.963e-05/1.172, allocations: 0 / 1.121 GB, free: 39.67 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.53e-05/1.172, allocations: 11.44 kB / 1.121 GB, free: 39.66 MB / 0.7448 GB Notification: Performance of SimCode: time 4.1e-07/1.172, allocations: 0 / 1.121 GB, free: 39.66 MB / 0.7448 GB Notification: Performance of Templates: time 0.003246/1.176, allocations: 1.229 MB / 1.123 GB, free: 38.99 MB / 0.7448 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)