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.681/2.681, allocations: 287.3 MB / 302.3 MB, free: 8.18 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.001567/0.001567, allocations: 188.1 kB / 370.8 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.229/2.229, allocations: 205.4 MB / 0.6295 GB, free: 10.64 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.001172/0.001172, allocations: 104.1 kB / 0.7428 GB, free: 6.633 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004908/0.0004909, allocations: 11.88 kB / 0.8656 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2206/0.2212, allocations: 115.3 MB / 0.9782 GB, free: 28.4 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration): time 0.001339/0.2226, allocations: 0.9298 MB / 0.9791 GB, free: 27.45 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007829/0.2234, allocations: 354.6 kB / 0.9794 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.202e-05/0.2234, allocations: 0 / 0.9794 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.475e-05/0.2234, allocations: 7.938 kB / 0.9794 GB, free: 27.1 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.307e-05/0.2235, allocations: 0 / 0.9794 GB, free: 27.1 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004587/0.2239, allocations: 75.78 kB / 0.9795 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.962e-05/0.224, allocations: 4 kB / 0.9795 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.192e-05/0.2241, allocations: 0 / 0.9795 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.14e-05/0.2241, allocations: 7.984 kB / 0.9795 GB, free: 27.01 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 2.982e-05/0.2241, allocations: 15.92 kB / 0.9795 GB, free: 27 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.282e-05/0.2242, allocations: 0 / 0.9795 GB, free: 27 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001747/0.2243, allocations: 63.94 kB / 0.9796 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.388e-05/0.2244, allocations: 3.984 kB / 0.9796 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.121e-05/0.2244, allocations: 33.7 kB / 0.9796 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001353/0.2246, allocations: 63.78 kB / 0.9797 GB, free: 26.83 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.065e-06/0.2246, allocations: 4 kB / 0.9797 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.914e-06/0.2246, allocations: 0 / 0.9797 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.528e-06/0.2246, allocations: 0 / 0.9797 GB, free: 26.82 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.000391/0.225, allocations: 369.3 kB / 0.9801 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.225, allocations: 8.031 kB / 0.9801 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.231e-05/0.2251, allocations: 3.906 kB / 0.9801 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.652e-05/0.2252, allocations: 163 kB / 0.9802 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.519e-05/0.2252, allocations: 8 kB / 0.9802 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.281e-05/0.2252, allocations: 3.938 kB / 0.9802 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001072/0.2254, allocations: 41.69 kB / 0.9803 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.2254, allocations: 0 / 0.9803 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.2254, allocations: 3.984 kB / 0.9803 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.2254, allocations: 0 / 0.9803 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.822e-05/0.2255, allocations: 7.938 kB / 0.9803 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001326/0.2256, allocations: 153.6 kB / 0.9804 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.671e-05/0.2257, allocations: 30.72 kB / 0.9805 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.303e-05/0.2257, allocations: 7.984 kB / 0.9805 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001476/0.2259, allocations: 51.41 kB / 0.9805 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.793e-06/0.2259, allocations: 0 / 0.9805 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0002512/0.2262, allocations: 65.61 kB / 0.9806 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.995e-05/0.2262, allocations: 55.41 kB / 0.9806 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.34e-05/0.2263, allocations: 93.86 kB / 0.9807 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.249e-05/0.2263, allocations: 33.64 kB / 0.9808 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.173e-05/0.2263, allocations: 84.14 kB / 0.9808 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.171e-05/0.2263, allocations: 7.891 kB / 0.9808 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-06/0.2264, allocations: 0 / 0.9808 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.596e-05/0.2264, allocations: 314.8 kB / 0.9811 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.482e-05/0.2265, allocations: 8 kB / 0.9811 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.138e-05/0.2265, allocations: 35.55 kB / 0.9812 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.003e-05/0.2266, allocations: 15.95 kB / 0.9812 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.2266, allocations: 3.938 kB / 0.9812 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001235/0.2267, allocations: 69.53 kB / 0.9813 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.2267, allocations: 4 kB / 0.9813 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.2267, allocations: 3.984 kB / 0.9813 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.2268, allocations: 8.094 kB / 0.9813 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.042e-05/0.2269, allocations: 4 kB / 0.9813 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.246e-06/0.2269, allocations: 4 kB / 0.9813 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.33e-05/0.2269, allocations: 0 / 0.9813 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/0.2269, allocations: 4 kB / 0.9813 GB, free: 24.96 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 6.58e-05/0.227, allocations: 123.6 kB / 0.9814 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.185e-05/0.227, allocations: 4.234 kB / 0.9814 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.648e-05/0.2271, allocations: 15.47 kB / 0.9814 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.2271, allocations: 0 / 0.9814 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.2271, allocations: 4 kB / 0.9814 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.2271, allocations: 0 / 0.9814 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.866e-05/0.2272, allocations: 157.7 kB / 0.9816 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.2272, allocations: 3.953 kB / 0.9816 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.752e-05/0.2273, allocations: 4 kB / 0.9816 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.2273, allocations: 0 / 0.9816 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.297e-06/0.2273, allocations: 0 / 0.9816 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.2273, allocations: 3.938 kB / 0.9816 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.2273, allocations: 0 / 0.9816 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000145/0.2275, allocations: 92.95 kB / 0.9817 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.265e-05/0.2275, allocations: 85.06 kB / 0.9818 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.613e-05/0.2275, allocations: 0 / 0.9818 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.795e-05/0.2276, allocations: 0 / 0.9818 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.863e-05/0.2276, allocations: 3.984 kB / 0.9818 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.446e-06/0.2276, allocations: 7.938 kB / 0.9818 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.451e-05/0.2277, allocations: 79.28 kB / 0.9819 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.7e-07/0.2277, allocations: 0 / 0.9819 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003221/0.228, allocations: 24 kB / 0.9819 GB, free: 24.27 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.0003691/0.2284, allocations: 158.5 kB / 0.982 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000123/0.2285, allocations: 27.92 kB / 0.9821 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.2285, allocations: 0 / 0.9821 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.812e-05/0.2286, allocations: 19.97 kB / 0.9821 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001118/0.2287, allocations: 4.188 kB / 0.9821 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00028/0.229, allocations: 108.9 kB / 0.9822 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001205/0.2291, allocations: 0.677 MB / 0.9828 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.591e-05/0.2292, allocations: 4 kB / 0.9828 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.912e-05/0.2292, allocations: 11.38 kB / 0.9829 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of SimCode: time 6.61e-07/0.2292, allocations: 0 / 0.9829 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of Templates: time 0.003889/0.2331, allocations: 0.9311 MB / 0.9838 GB, free: 22.29 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)