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 1.651/1.651, allocations: 287.5 MB / 302.6 MB, free: 8.285 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.001368/0.001368, allocations: 176.4 kB / 371.2 MB, free: 10.82 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.631/1.631, allocations: 205.4 MB / 0.6298 GB, free: 10.53 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.0009216/0.0009214, allocations: 97.72 kB / 0.7432 GB, free: 6.52 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004857/0.000486, allocations: 10.33 kB / 0.8661 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2125/0.213, allocations: 115.3 MB / 0.9787 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration): time 0.001088/0.2142, allocations: 0.9352 MB / 0.9796 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0006334/0.2148, allocations: 348 kB / 0.9799 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.855e-05/0.2149, allocations: 3.938 kB / 0.9799 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.636e-05/0.2149, allocations: 4 kB / 0.9799 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.6e-05/0.215, allocations: 0 / 0.9799 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004449/0.2154, allocations: 71.8 kB / 0.98 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.391e-05/0.2155, allocations: 15.98 kB / 0.98 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.531e-05/0.2155, allocations: 0 / 0.98 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.304e-05/0.2156, allocations: 4 kB / 0.98 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.002e-05/0.2156, allocations: 19.91 kB / 0.98 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.07e-05/0.2156, allocations: 0 / 0.98 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001701/0.2158, allocations: 79.91 kB / 0.9801 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.366e-05/0.2158, allocations: 4 kB / 0.9801 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.985e-05/0.2159, allocations: 41.58 kB / 0.9802 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.00012/0.216, allocations: 59.84 kB / 0.9802 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.216, allocations: 0 / 0.9802 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.553e-06/0.216, allocations: 0 / 0.9802 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.917e-06/0.216, allocations: 0 / 0.9802 GB, free: 26.59 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.0003702/0.2164, allocations: 365.5 kB / 0.9806 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.2164, allocations: 8.031 kB / 0.9806 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.016e-05/0.2165, allocations: 4.844 kB / 0.9806 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.848e-05/0.2166, allocations: 168.4 kB / 0.9807 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.37e-05/0.2166, allocations: 4.375 kB / 0.9807 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.52e-05/0.2166, allocations: 4.375 kB / 0.9807 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.382e-05/0.2167, allocations: 38.25 kB / 0.9808 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.2167, allocations: 192 / 0.9808 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.2167, allocations: 3.938 kB / 0.9808 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.2168, allocations: 0 / 0.9808 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.963e-05/0.2168, allocations: 11.92 kB / 0.9808 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001129/0.2169, allocations: 153.7 kB / 0.9809 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.481e-05/0.217, allocations: 30.58 kB / 0.981 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.508e-05/0.217, allocations: 12.94 kB / 0.981 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.172e-05/0.217, allocations: 0 / 0.981 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001307/0.2172, allocations: 51.41 kB / 0.981 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.2172, allocations: 0 / 0.981 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0001695/0.2174, allocations: 73.55 kB / 0.9811 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.493e-05/0.2174, allocations: 55.41 kB / 0.9812 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.627e-05/0.2175, allocations: 97.86 kB / 0.9812 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.566e-06/0.2175, allocations: 25.7 kB / 0.9813 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.977e-05/0.2175, allocations: 88.06 kB / 0.9814 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.126e-05/0.2175, allocations: 11.91 kB / 0.9814 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.775e-06/0.2175, allocations: 0 / 0.9814 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.131e-05/0.2176, allocations: 310.8 kB / 0.9817 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.717e-05/0.2176, allocations: 8 kB / 0.9817 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.856e-05/0.2176, allocations: 43.53 kB / 0.9817 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.48e-05/0.2177, allocations: 39.56 kB / 0.9817 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.2177, allocations: 0 / 0.9817 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.182e-05/0.2178, allocations: 85.47 kB / 0.9818 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.2178, allocations: 7.938 kB / 0.9818 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.2178, allocations: 0 / 0.9818 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.2178, allocations: 4 kB / 0.9818 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.963e-05/0.2179, allocations: 4 kB / 0.9818 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.2179, allocations: 4 kB / 0.9818 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.397e-05/0.2179, allocations: 4 kB / 0.9819 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.666e-06/0.2179, allocations: 4 kB / 0.9819 GB, free: 24.65 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 5.069e-05/0.218, allocations: 121.6 kB / 0.982 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.787e-06/0.218, allocations: 12 kB / 0.982 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.952e-05/0.218, allocations: 7.5 kB / 0.982 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.218, allocations: 4 kB / 0.982 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.2181, allocations: 0 / 0.982 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.205e-06/0.2181, allocations: 0 / 0.982 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.646e-05/0.2181, allocations: 149.7 kB / 0.9821 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.2182, allocations: 0 / 0.9821 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.211e-05/0.2182, allocations: 4 kB / 0.9821 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.2182, allocations: 3.938 kB / 0.9821 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.684e-06/0.2182, allocations: 0 / 0.9821 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.2182, allocations: 0 / 0.9821 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.2182, allocations: 4 kB / 0.9821 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.529e-05/0.2183, allocations: 89.02 kB / 0.9822 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.594e-05/0.2184, allocations: 81.11 kB / 0.9823 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.426e-05/0.2184, allocations: 7.922 kB / 0.9823 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.096e-05/0.2184, allocations: 4 kB / 0.9823 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.516e-05/0.2184, allocations: 0 / 0.9823 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.941e-06/0.2184, allocations: 7.938 kB / 0.9823 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.639e-05/0.2185, allocations: 79.28 kB / 0.9824 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2185, allocations: 3.938 kB / 0.9824 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002321/0.2187, allocations: 31.98 kB / 0.9824 GB, free: 23.95 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.0002728/0.219, allocations: 154.3 kB / 0.9826 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 9.259e-05/0.2191, allocations: 32.08 kB / 0.9826 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.2191, allocations: 0 / 0.9826 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.09e-05/0.2191, allocations: 12 kB / 0.9826 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001213/0.2193, allocations: 3.938 kB / 0.9826 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002205/0.2195, allocations: 112.7 kB / 0.9827 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.352e-05/0.2196, allocations: 0.677 MB / 0.9834 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.121e-05/0.2196, allocations: 4 kB / 0.9834 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.241e-05/0.2196, allocations: 11.56 kB / 0.9834 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of SimCode: time 4.2e-07/0.2196, allocations: 0 / 0.9834 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of Templates: time 0.002596/0.2222, allocations: 0.9223 MB / 0.9843 GB, free: 21.99 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)