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.001196/0.001196, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001185/0.001185, allocations: 196.9 kB / 16.53 MB, free: 6.664 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.583/1.583, allocations: 205.1 MB / 222.4 MB, free: 4.602 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.689/1.689, allocations: 292.3 MB / 0.5488 GB, free: 12.83 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.001536/0.001537, allocations: 73.33 kB / 0.6715 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2711/0.2727, allocations: 114.6 MB / 0.7834 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.002503/0.2752, allocations: 1.213 MB / 0.7845 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009369/0.2762, allocations: 467.2 kB / 0.785 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.932e-05/0.2762, allocations: 4 kB / 0.785 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.575e-05/0.2763, allocations: 0 / 0.785 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.876e-05/0.2763, allocations: 11.92 kB / 0.785 GB, free: 11.77 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:127:7-213:23:writable] Warning: Pure function 'Modelica.Math.Random.Generators.Xorshift64star.initialState' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift64star.random'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:851:5-931:39:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initialStateWithXorshift64star' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift64star.initialState'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:499:7-563:23:writable] Warning: Pure function 'Modelica.Math.Random.Generators.Xorshift1024star.initialState' contains a call to impure function 'Modelica.Math.Random.Utilities.initialStateWithXorshift64star'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Occupants/BaseClasses/binaryVariableGeneration.mo:2:1-32:29:writable] Warning: Pure function 'Buildings.Occupants.BaseClasses.binaryVariableGeneration' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift1024star.initialState'. [/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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Occupants/BaseClasses/logit1DQuadratic.mo:2:1-35:21:writable] Warning: Pure function 'Buildings.Occupants.BaseClasses.logit1DQuadratic' contains a call to impure function 'Buildings.Occupants.BaseClasses.binaryVariableGeneration'. Notification: Performance of NFTyping.typeClassSections: time 0.0005774/0.2769, allocations: 111.6 kB / 0.7851 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.011e-05/0.277, allocations: 19.98 kB / 0.7851 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.323e-05/0.277, allocations: 0 / 0.7851 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.519e-05/0.277, allocations: 12 kB / 0.7851 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.25e-05/0.2771, allocations: 11.91 kB / 0.7852 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.399e-05/0.2771, allocations: 4 kB / 0.7852 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002014/0.2773, allocations: 107.8 kB / 0.7853 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.849e-05/0.2773, allocations: 3.938 kB / 0.7853 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.774e-05/0.2774, allocations: 19.92 kB / 0.7853 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002007/0.2776, allocations: 95.81 kB / 0.7854 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.2776, allocations: 0 / 0.7854 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.212e-06/0.2776, allocations: 0 / 0.7854 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.2776, allocations: 0 / 0.7854 GB, free: 11.39 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.0005396/0.2782, allocations: 381.4 kB / 0.7857 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.2782, allocations: 12.03 kB / 0.7858 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.548e-05/0.2782, allocations: 4.875 kB / 0.7858 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001304/0.2784, allocations: 172.3 kB / 0.7859 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.545e-05/0.2784, allocations: 12.31 kB / 0.7859 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.483e-05/0.2784, allocations: 4.375 kB / 0.7859 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001207/0.2786, allocations: 34.25 kB / 0.786 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.2786, allocations: 192 / 0.786 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.2786, allocations: 7.922 kB / 0.786 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.2786, allocations: 0 / 0.786 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.892e-05/0.2787, allocations: 7.984 kB / 0.786 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00018/0.2788, allocations: 157.7 kB / 0.7861 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.27e-05/0.2789, allocations: 42.55 kB / 0.7862 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.397e-05/0.279, allocations: 8.859 kB / 0.7862 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.11e-05/0.279, allocations: 0 / 0.7862 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000164/0.2792, allocations: 55.48 kB / 0.7862 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.243e-06/0.2792, allocations: 0 / 0.7862 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0002379/0.2794, allocations: 69.56 kB / 0.7863 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.122e-05/0.2795, allocations: 55.41 kB / 0.7864 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.884e-05/0.2796, allocations: 117.8 kB / 0.7865 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.416e-05/0.2796, allocations: 29.64 kB / 0.7865 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.563e-05/0.2797, allocations: 88.12 kB / 0.7866 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.486e-05/0.2797, allocations: 15.83 kB / 0.7866 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.808e-05/0.2797, allocations: 17.72 kB / 0.7866 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.2799, allocations: 318.8 kB / 0.7869 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.365e-05/0.2799, allocations: 8 kB / 0.7869 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.806e-05/0.2799, allocations: 31.44 kB / 0.787 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.483e-05/0.28, allocations: 51.36 kB / 0.787 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.28, allocations: 0 / 0.787 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.848e-05/0.2801, allocations: 61.69 kB / 0.7871 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.2802, allocations: 15.97 kB / 0.7871 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.2802, allocations: 0 / 0.7871 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.2802, allocations: 3.938 kB / 0.7871 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.454e-05/0.2803, allocations: 11.98 kB / 0.7871 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.2803, allocations: 0 / 0.7871 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.863e-05/0.2803, allocations: 7.906 kB / 0.7871 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.2803, allocations: 0 / 0.7871 GB, free: 9.371 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 (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.998e-05/0.2804, allocations: 113.8 kB / 0.7872 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.419e-05/0.2805, allocations: 7.938 kB / 0.7872 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.551e-05/0.2805, allocations: 7.906 kB / 0.7872 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.2805, allocations: 0 / 0.7872 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.2805, allocations: 0 / 0.7872 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.2805, allocations: 0 / 0.7872 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001308/0.2806, allocations: 161.7 kB / 0.7874 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.2807, allocations: 0 / 0.7874 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.556e-05/0.2807, allocations: 3.938 kB / 0.7874 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.2807, allocations: 7.875 kB / 0.7874 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.2807, allocations: 0 / 0.7874 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.2807, allocations: 4 kB / 0.7874 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2807, allocations: 4.234 kB / 0.7874 GB, free: 9 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000135/0.2809, allocations: 89.09 kB / 0.7875 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.789e-05/0.2809, allocations: 85.02 kB / 0.7876 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.642e-05/0.2809, allocations: 3.938 kB / 0.7876 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.245e-05/0.281, allocations: 0 / 0.7876 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.6e-05/0.281, allocations: 3.984 kB / 0.7876 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.208e-06/0.281, allocations: 8.188 kB / 0.7876 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.409e-05/0.2811, allocations: 87.28 kB / 0.7877 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2811, allocations: 4 kB / 0.7877 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002597/0.2813, allocations: 31.98 kB / 0.7877 GB, free: 8.656 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 (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.0003743/0.2817, allocations: 151.8 kB / 0.7878 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001336/0.2819, allocations: 35.92 kB / 0.7879 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.2819, allocations: 4.188 kB / 0.7879 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.289e-05/0.2819, allocations: 19.92 kB / 0.7879 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000144/0.2821, allocations: 3.938 kB / 0.7879 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002795/0.2824, allocations: 104.9 kB / 0.788 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002512/0.2826, allocations: 0.6845 MB / 0.7887 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.123e-05/0.2827, allocations: 256 / 0.7887 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.726e-05/0.2827, allocations: 19.38 kB / 0.7887 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of SimCode: time 2.1e-07/0.2827, allocations: 0 / 0.7887 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of Templates: time 0.003558/0.2862, allocations: 1.077 MB / 0.7897 GB, free: 6.52 MB / 0.6075 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)