Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1D.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.Logit1D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001233/0.001233, allocations: 103.6 kB / 16.27 MB, free: 6.359 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.001233/0.001233, allocations: 192.3 kB / 17.2 MB, free: 5.953 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.45/1.45, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.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.827/1.827, allocations: 292.3 MB / 0.5495 GB, free: 17.64 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.001473/0.001473, allocations: 75.02 kB / 0.6721 GB, free: 6.566 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2339/0.2354, allocations: 114.6 MB / 0.784 GB, free: 3.895 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1D): time 0.002298/0.2378, allocations: 1.206 MB / 0.7852 GB, free: 2.672 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0008871/0.2387, allocations: 447.4 kB / 0.7856 GB, free: 2.23 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.387e-05/0.2387, allocations: 0 / 0.7856 GB, free: 2.23 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.348e-05/0.2387, allocations: 3.938 kB / 0.7856 GB, free: 2.227 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.127e-05/0.2388, allocations: 0 / 0.7856 GB, free: 2.227 MB / 0.6544 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/logit1D.mo:2:1-32:12:writable] Warning: Pure function 'Buildings.Occupants.BaseClasses.logit1D' contains a call to impure function 'Buildings.Occupants.BaseClasses.binaryVariableGeneration'. Notification: Performance of NFTyping.typeClassSections: time 0.0005751/0.2394, allocations: 110.9 kB / 0.7857 GB, free: 2.121 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 6.257e-05/0.2394, allocations: 19.92 kB / 0.7857 GB, free: 2.102 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.063e-05/0.2395, allocations: 4 kB / 0.7858 GB, free: 2.098 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.17e-05/0.2395, allocations: 7.984 kB / 0.7858 GB, free: 2.09 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 2.936e-05/0.2396, allocations: 7.922 kB / 0.7858 GB, free: 2.082 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.818e-05/0.2396, allocations: 4 kB / 0.7858 GB, free: 2.078 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001969/0.2398, allocations: 111.8 kB / 0.7859 GB, free: 1.969 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.579e-05/0.2398, allocations: 0 / 0.7859 GB, free: 1.969 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.021e-05/0.2398, allocations: 11.94 kB / 0.7859 GB, free: 1.957 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001964/0.2401, allocations: 91.8 kB / 0.786 GB, free: 1.867 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.2401, allocations: 0 / 0.786 GB, free: 1.867 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.292e-06/0.2401, allocations: 0 / 0.786 GB, free: 1.867 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.426e-06/0.2401, allocations: 0 / 0.786 GB, free: 1.867 MB / 0.6544 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.0004768/0.2406, allocations: 381.4 kB / 0.7863 GB, free: 1.438 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.2406, allocations: 12.03 kB / 0.7864 GB, free: 1.426 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.817e-05/0.2407, allocations: 4.938 kB / 0.7864 GB, free: 1.422 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001163/0.2408, allocations: 164.4 kB / 0.7865 GB, free: 1.223 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.261e-05/0.2408, allocations: 4.375 kB / 0.7865 GB, free: 1.219 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.848e-06/0.2408, allocations: 384 / 0.7865 GB, free: 1.219 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001147/0.2409, allocations: 50.16 kB / 0.7866 GB, free: 1.164 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.241, allocations: 192 / 0.7866 GB, free: 1.164 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.241, allocations: 3.938 kB / 0.7866 GB, free: 1.16 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.241, allocations: 0 / 0.7866 GB, free: 1.16 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.069e-05/0.241, allocations: 4 kB / 0.7866 GB, free: 1.156 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001596/0.2412, allocations: 157.7 kB / 0.7867 GB, free: 0.9531 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 8.268e-05/0.2413, allocations: 30.61 kB / 0.7868 GB, free: 0.9141 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.763e-05/0.2413, allocations: 16.8 kB / 0.7868 GB, free: 0.8945 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 9.468e-06/0.2413, allocations: 0 / 0.7868 GB, free: 0.8945 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001623/0.2415, allocations: 63.42 kB / 0.7868 GB, free: 0.8203 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.2415, allocations: 0 / 0.7868 GB, free: 0.8203 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4): time 0.00022/0.2417, allocations: 77.52 kB / 0.7869 GB, free: 0.7383 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.281e-05/0.2418, allocations: 51.41 kB / 0.787 GB, free: 0.6758 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.566e-05/0.2419, allocations: 97.86 kB / 0.787 GB, free: 0.5703 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.475e-05/0.2419, allocations: 25.7 kB / 0.7871 GB, free: 0.5391 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.195e-05/0.2419, allocations: 88.12 kB / 0.7872 GB, free: 460 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.516e-05/0.242, allocations: 11.89 kB / 0.7872 GB, free: 448 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.167e-05/0.242, allocations: 21.66 kB / 0.7872 GB, free: 420 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.2421, allocations: 318.8 kB / 0.7875 GB, free: 92 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.07e-05/0.2422, allocations: 12 kB / 0.7875 GB, free: 80 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.36e-05/0.2422, allocations: 31.42 kB / 0.7875 GB, free: 36 kB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4631/0.7053, allocations: 43.36 kB / 0.7876 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.965e-06/0.7054, allocations: 0.6562 kB / 0.7876 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001682/0.7056, allocations: 67.09 kB / 0.7876 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.624e-05/0.7056, allocations: 10.95 kB / 0.7876 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.7056, allocations: 0.625 kB / 0.7876 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.444e-05/0.7056, allocations: 4.438 kB / 0.7877 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.7057, allocations: 7.375 kB / 0.7877 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.806e-06/0.7058, allocations: 2.625 kB / 0.7877 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.686e-05/0.7058, allocations: 12.75 kB / 0.7877 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.006e-05/0.7058, allocations: 2.625 kB / 0.7877 GB, free: 48.42 MB / 0.6544 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 7.673e-05/0.7059, allocations: 116.2 kB / 0.7878 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.231e-05/0.7059, allocations: 12.05 kB / 0.7878 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.904e-05/0.706, allocations: 3.5 kB / 0.7878 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.706, allocations: 2.281 kB / 0.7878 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.706, allocations: 2.625 kB / 0.7878 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.706, allocations: 0 / 0.7878 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001095/0.7061, allocations: 157.7 kB / 0.788 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.7061, allocations: 2.625 kB / 0.788 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.508e-06/0.7061, allocations: 0 / 0.788 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.7061, allocations: 0.5 kB / 0.788 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/0.7062, allocations: 2.625 kB / 0.788 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.7062, allocations: 7.422 kB / 0.788 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.7062, allocations: 0 / 0.788 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001307/0.7063, allocations: 94.3 kB / 0.7881 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.177e-05/0.7063, allocations: 80.33 kB / 0.7881 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.541e-05/0.7064, allocations: 1.672 kB / 0.7881 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.373e-05/0.7064, allocations: 0 / 0.7881 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.13e-05/0.7064, allocations: 4.453 kB / 0.7881 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.501e-06/0.7064, allocations: 3.375 kB / 0.7881 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.812e-05/0.7065, allocations: 86.66 kB / 0.7882 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7065, allocations: 1.688 kB / 0.7882 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003462/0.7068, allocations: 34.39 kB / 0.7883 GB, free: 47.88 MB / 0.6544 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.0003682/0.7072, allocations: 151 kB / 0.7884 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001118/0.7073, allocations: 37.42 kB / 0.7884 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.7073, allocations: 3.125 kB / 0.7884 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 3.74e-05/0.7074, allocations: 9.016 kB / 0.7885 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001665/0.7075, allocations: 9.703 kB / 0.7885 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000235/0.7078, allocations: 136.7 kB / 0.7886 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001097/0.7079, allocations: 0.6745 MB / 0.7893 GB, free: 46.97 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.651e-05/0.7079, allocations: 10.44 kB / 0.7893 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of SimCode: time 2.01e-07/0.7079, allocations: 0 / 0.7893 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of Templates: time 0.002948/0.7109, allocations: 1.224 MB / 0.7905 GB, free: 46.91 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1D.makefile (rm -f Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; mkfifo Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe >> ../files/Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1D.sim & ./Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1D -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe 2>&1)