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.001098/0.001099, allocations: 106.7 kB / 15.99 MB, free: 5.891 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.001118/0.001118, allocations: 189.3 kB / 16.91 MB, free: 5.746 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.309/1.309, allocations: 205.1 MB / 222.8 MB, free: 4.664 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.685/1.685, allocations: 292.3 MB / 0.5492 GB, free: 13.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.001349/0.00135, allocations: 66.62 kB / 0.6716 GB, free: 26.08 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2103/0.2117, allocations: 114.6 MB / 0.7835 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.0021/0.2138, allocations: 1.286 MB / 0.7848 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007842/0.2146, allocations: 468.4 kB / 0.7852 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.087e-05/0.2147, allocations: 0 / 0.7852 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.655e-05/0.2147, allocations: 0 / 0.7852 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.797e-05/0.2147, allocations: 3.938 kB / 0.7852 GB, free: 12.15 MB / 0.6075 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 NFTyping.typeClassSections: time 0.000478/0.2152, allocations: 95.77 kB / 0.7853 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.041e-05/0.2153, allocations: 19.98 kB / 0.7853 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.324e-05/0.2153, allocations: 0 / 0.7853 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.331e-05/0.2154, allocations: 4 kB / 0.7853 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.723e-05/0.2154, allocations: 15.92 kB / 0.7853 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.184e-05/0.2154, allocations: 11.94 kB / 0.7854 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001797/0.2156, allocations: 99.84 kB / 0.7854 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.801e-05/0.2156, allocations: 11.92 kB / 0.7855 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.619e-05/0.2157, allocations: 11.92 kB / 0.7855 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001276/0.2158, allocations: 71.89 kB / 0.7855 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.2158, allocations: 0 / 0.7855 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.724e-06/0.2158, allocations: 0 / 0.7855 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.011e-05/0.2158, allocations: 0 / 0.7855 GB, free: 11.82 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.0004557/0.2163, allocations: 385.4 kB / 0.7859 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.2163, allocations: 12.03 kB / 0.7859 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.611e-05/0.2164, allocations: 4.938 kB / 0.7859 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001087/0.2165, allocations: 168.2 kB / 0.7861 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.857e-05/0.2165, allocations: 4.375 kB / 0.7861 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.332e-05/0.2165, allocations: 4.375 kB / 0.7861 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.562e-05/0.2166, allocations: 38.23 kB / 0.7861 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.2167, allocations: 192 / 0.7861 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.2167, allocations: 7.938 kB / 0.7861 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.487e-06/0.2167, allocations: 0 / 0.7861 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.224e-05/0.2167, allocations: 4 kB / 0.7861 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001443/0.2169, allocations: 169.6 kB / 0.7863 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.697e-05/0.217, allocations: 30.55 kB / 0.7863 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.444e-05/0.217, allocations: 12.86 kB / 0.7863 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 6.672e-06/0.217, allocations: 0 / 0.7863 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001311/0.2171, allocations: 59.48 kB / 0.7864 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.2172, allocations: 4 kB / 0.7864 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0002091/0.2174, allocations: 73.55 kB / 0.7865 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.131e-05/0.2174, allocations: 51.41 kB / 0.7865 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.376e-05/0.2175, allocations: 109.8 kB / 0.7866 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.556e-05/0.2175, allocations: 25.7 kB / 0.7867 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.594e-05/0.2176, allocations: 88.14 kB / 0.7867 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.944e-05/0.2176, allocations: 11.83 kB / 0.7867 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.15e-05/0.2176, allocations: 17.72 kB / 0.7868 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.875e-05/0.2177, allocations: 330.8 kB / 0.7871 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.807e-05/0.2177, allocations: 4 kB / 0.7871 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.616e-05/0.2178, allocations: 35.42 kB / 0.7871 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.28e-05/0.2178, allocations: 43.38 kB / 0.7872 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.2178, allocations: 4 kB / 0.7872 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.029e-05/0.2179, allocations: 65.86 kB / 0.7872 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.218, allocations: 11.92 kB / 0.7872 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.218, allocations: 3.984 kB / 0.7872 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.218, allocations: 4 kB / 0.7872 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.92e-05/0.2181, allocations: 7.938 kB / 0.7873 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.2181, allocations: 7.938 kB / 0.7873 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.532e-05/0.2181, allocations: 3.906 kB / 0.7873 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.555e-06/0.2181, allocations: 4.094 kB / 0.7873 GB, free: 9.789 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 6.756e-05/0.2182, allocations: 118.5 kB / 0.7874 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.152e-05/0.2182, allocations: 3.938 kB / 0.7874 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.345e-05/0.2182, allocations: 7.891 kB / 0.7874 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.2182, allocations: 0 / 0.7874 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.2182, allocations: 4 kB / 0.7874 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.2183, allocations: 0 / 0.7874 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001071/0.2184, allocations: 153.7 kB / 0.7875 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2184, allocations: 0 / 0.7875 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.43e-05/0.2184, allocations: 0 / 0.7875 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.2184, allocations: 15.88 kB / 0.7876 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-06/0.2184, allocations: 0 / 0.7876 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.2184, allocations: 3.984 kB / 0.7876 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.2184, allocations: 4.188 kB / 0.7876 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001183/0.2185, allocations: 81.12 kB / 0.7876 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.381e-05/0.2186, allocations: 81.02 kB / 0.7877 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.964e-05/0.2186, allocations: 15.92 kB / 0.7877 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.229e-05/0.2186, allocations: 0 / 0.7877 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.103e-05/0.2187, allocations: 8 kB / 0.7877 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.2187, allocations: 0 / 0.7877 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.335e-05/0.2187, allocations: 83.27 kB / 0.7878 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2187, allocations: 0 / 0.7878 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002382/0.219, allocations: 32 kB / 0.7879 GB, free: 9.086 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.0003062/0.2193, allocations: 168.9 kB / 0.788 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001058/0.2194, allocations: 31.91 kB / 0.788 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.2194, allocations: 0 / 0.788 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.871e-05/0.2194, allocations: 15.92 kB / 0.7881 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001382/0.2196, allocations: 15.03 kB / 0.7881 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002295/0.2198, allocations: 134.6 kB / 0.7882 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001995/0.22, allocations: 0.6848 MB / 0.7889 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.538e-05/0.2201, allocations: 7.438 kB / 0.7889 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.2201, allocations: 0 / 0.7889 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of Templates: time 0.002727/0.2228, allocations: 1.261 MB / 0.7901 GB, free: 6.719 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)