Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.739/2.739, allocations: 287.5 MB / 302.4 MB, free: 8.359 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.001307/0.001307, allocations: 181.1 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.167/2.167, allocations: 205.4 MB / 0.6297 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009992/0.0009993, allocations: 81.42 kB / 0.743 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004797/0.0004799, allocations: 15.44 kB / 0.8658 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2168/0.2173, allocations: 115.3 MB / 0.9783 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration): time 0.001312/0.2186, allocations: 0.9352 MB / 0.9793 GB, free: 27.43 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0008088/0.2195, allocations: 352 kB / 0.9796 GB, free: 27.08 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.374e-05/0.2195, allocations: 0 / 0.9796 GB, free: 27.08 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.822e-05/0.2196, allocations: 0 / 0.9796 GB, free: 27.08 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.219e-05/0.2196, allocations: 0 / 0.9796 GB, free: 27.08 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004781/0.2201, allocations: 79.78 kB / 0.9797 GB, free: 27 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.412e-05/0.2202, allocations: 15.98 kB / 0.9797 GB, free: 26.99 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.556e-05/0.2202, allocations: 0 / 0.9797 GB, free: 26.99 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.232e-05/0.2202, allocations: 7.938 kB / 0.9797 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.039e-05/0.2203, allocations: 11.98 kB / 0.9797 GB, free: 26.97 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.338e-05/0.2203, allocations: 0 / 0.9797 GB, free: 26.97 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000204/0.2205, allocations: 83.84 kB / 0.9798 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.514e-05/0.2205, allocations: 4 kB / 0.9798 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.062e-05/0.2206, allocations: 29.7 kB / 0.9798 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001336/0.2207, allocations: 59.84 kB / 0.9799 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.319e-06/0.2207, allocations: 4 kB / 0.9799 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.444e-06/0.2208, allocations: 3.938 kB / 0.9799 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.2208, allocations: 0 / 0.9799 GB, free: 26.78 MB / 0.6198 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.000394/0.2212, allocations: 365.3 kB / 0.9802 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.2212, allocations: 8.031 kB / 0.9802 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.72e-05/0.2213, allocations: 7.906 kB / 0.9802 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.646e-05/0.2214, allocations: 167 kB / 0.9804 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.571e-05/0.2214, allocations: 0 / 0.9804 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.357e-05/0.2214, allocations: 4 kB / 0.9804 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001076/0.2215, allocations: 45.62 kB / 0.9805 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.607e-06/0.2216, allocations: 0 / 0.9805 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.2216, allocations: 0 / 0.9805 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-06/0.2216, allocations: 0 / 0.9805 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.804e-05/0.2216, allocations: 4 kB / 0.9805 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001344/0.2218, allocations: 162.5 kB / 0.9806 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.002e-05/0.2219, allocations: 34.59 kB / 0.9806 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.304e-05/0.2219, allocations: 12.86 kB / 0.9807 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.096e-05/0.222, allocations: 0 / 0.9807 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001527/0.2221, allocations: 59.42 kB / 0.9807 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.843e-06/0.2221, allocations: 0 / 0.9807 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0002534/0.2224, allocations: 65.67 kB / 0.9808 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.842e-05/0.2224, allocations: 51.41 kB / 0.9808 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.741e-05/0.2225, allocations: 101.9 kB / 0.9809 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.26e-05/0.2225, allocations: 25.7 kB / 0.9809 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.205e-05/0.2226, allocations: 84.08 kB / 0.981 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.475e-05/0.2226, allocations: 15.89 kB / 0.981 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.15e-06/0.2226, allocations: 0 / 0.981 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.286e-05/0.2227, allocations: 318.7 kB / 0.9813 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.554e-05/0.2227, allocations: 8 kB / 0.9814 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.346e-05/0.2228, allocations: 43.53 kB / 0.9814 GB, free: 25 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.783e-05/0.2228, allocations: 8 kB / 0.9814 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.2228, allocations: 0 / 0.9814 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001229/0.223, allocations: 65.53 kB / 0.9815 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.223, allocations: 9.875 kB / 0.9815 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.223, allocations: 0 / 0.9815 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.223, allocations: 0 / 0.9815 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.616e-05/0.2231, allocations: 24.02 kB / 0.9815 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.323e-06/0.2232, allocations: 0 / 0.9815 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.366e-05/0.2232, allocations: 4 kB / 0.9815 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.2232, allocations: 0 / 0.9815 GB, free: 24.89 MB / 0.6198 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 7.046e-05/0.2233, allocations: 117.7 kB / 0.9816 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.252e-05/0.2233, allocations: 4 kB / 0.9816 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.457e-05/0.2233, allocations: 3.5 kB / 0.9816 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.2234, allocations: 7.938 kB / 0.9816 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.2234, allocations: 3.984 kB / 0.9816 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.2234, allocations: 4 kB / 0.9816 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001011/0.2235, allocations: 153.6 kB / 0.9818 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.2235, allocations: 0 / 0.9818 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.709e-05/0.2235, allocations: 4 kB / 0.9818 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.2235, allocations: 4 kB / 0.9818 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.2236, allocations: 4 kB / 0.9818 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.2236, allocations: 3.938 kB / 0.9818 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.2236, allocations: 0 / 0.9818 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001502/0.2237, allocations: 89.02 kB / 0.9819 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.499e-05/0.2238, allocations: 81.06 kB / 0.982 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.553e-05/0.2238, allocations: 0 / 0.982 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.819e-05/0.2238, allocations: 4 kB / 0.982 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.754e-05/0.2239, allocations: 288 / 0.982 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-06/0.2239, allocations: 3.984 kB / 0.982 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.34e-05/0.2239, allocations: 83.22 kB / 0.982 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.71e-07/0.2239, allocations: 0 / 0.982 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003078/0.2243, allocations: 28 kB / 0.9821 GB, free: 24.2 MB / 0.6198 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.0003795/0.2247, allocations: 153.4 kB / 0.9822 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001306/0.2248, allocations: 31.92 kB / 0.9822 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2248, allocations: 0 / 0.9822 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.73e-05/0.2249, allocations: 19.86 kB / 0.9823 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001606/0.225, allocations: 2.438 kB / 0.9823 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002816/0.2253, allocations: 119 kB / 0.9824 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000114/0.2255, allocations: 0.677 MB / 0.983 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.512e-05/0.2255, allocations: 0 / 0.983 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.844e-05/0.2255, allocations: 11.44 kB / 0.9831 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of SimCode: time 6.41e-07/0.2255, allocations: 0 / 0.9831 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of Templates: time 0.003841/0.2294, allocations: 0.9289 MB / 0.984 GB, free: 22.23 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.makefile (rm -f Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.sim & ./Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe 2>&1)