Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.752/1.752, allocations: 292.3 MB / 308.1 MB, free: 4.246 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.001925/0.001925, allocations: 202.2 kB / 376.9 MB, free: 1.77 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.944/1.944, allocations: 205.1 MB / 0.6354 GB, free: 9.754 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001209/0.001209, allocations: 98.88 kB / 0.748 GB, free: 61.09 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001132/0.001132, allocations: 51.92 kB / 0.8703 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2663/0.2675, allocations: 114.5 MB / 0.9822 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration): time 0.002619/0.2701, allocations: 1.277 MB / 0.9835 GB, free: 9.086 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0007913/0.271, allocations: 395.6 kB / 0.9838 GB, free: 8.695 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.076e-05/0.271, allocations: 0 / 0.9838 GB, free: 8.695 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.77e-05/0.271, allocations: 0 / 0.9838 GB, free: 8.695 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 3.62e-05/0.2711, allocations: 0 / 0.9838 GB, free: 8.695 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004634/0.2716, allocations: 83.78 kB / 0.9839 GB, free: 8.613 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 5.137e-05/0.2716, allocations: 8 kB / 0.9839 GB, free: 8.605 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.73e-05/0.2717, allocations: 4 kB / 0.9839 GB, free: 8.602 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 2.287e-05/0.2717, allocations: 11.98 kB / 0.9839 GB, free: 8.59 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 2.554e-05/0.2717, allocations: 3.938 kB / 0.9839 GB, free: 8.586 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.199e-05/0.2717, allocations: 0 / 0.9839 GB, free: 8.586 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001862/0.2719, allocations: 91.84 kB / 0.984 GB, free: 8.496 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.812e-05/0.272, allocations: 15.97 kB / 0.984 GB, free: 8.48 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.264e-05/0.272, allocations: 7.938 kB / 0.9841 GB, free: 8.473 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001745/0.2722, allocations: 75.89 kB / 0.9841 GB, free: 8.398 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.2722, allocations: 0 / 0.9841 GB, free: 8.398 MB / 0.7136 GB Notification: Performance of FrontEnd: time 8.82e-07/0.2722, allocations: 0 / 0.9841 GB, free: 8.398 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.887e-06/0.2722, allocations: 0 / 0.9841 GB, free: 8.398 MB / 0.7136 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.0004682/0.2727, allocations: 377.4 kB / 0.9845 GB, free: 7.973 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.2727, allocations: 8.031 kB / 0.9845 GB, free: 7.965 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.663e-05/0.2728, allocations: 12.81 kB / 0.9845 GB, free: 7.953 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001009/0.2729, allocations: 168.4 kB / 0.9847 GB, free: 7.75 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.167e-05/0.2729, allocations: 4.312 kB / 0.9847 GB, free: 7.746 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.161e-05/0.2729, allocations: 4.375 kB / 0.9847 GB, free: 7.742 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001157/0.2731, allocations: 38.23 kB / 0.9847 GB, free: 7.699 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.2731, allocations: 192 / 0.9847 GB, free: 7.699 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.2731, allocations: 3.938 kB / 0.9847 GB, free: 7.695 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.2731, allocations: 0 / 0.9847 GB, free: 7.695 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.445e-05/0.2731, allocations: 8 kB / 0.9847 GB, free: 7.688 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001682/0.2733, allocations: 157.7 kB / 0.9849 GB, free: 7.484 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.423e-05/0.2734, allocations: 30.55 kB / 0.9849 GB, free: 7.445 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.09e-05/0.2734, allocations: 12.86 kB / 0.9849 GB, free: 7.43 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 6.292e-06/0.2735, allocations: 0 / 0.9849 GB, free: 7.43 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001544/0.2736, allocations: 55.48 kB / 0.985 GB, free: 7.363 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.2736, allocations: 0 / 0.985 GB, free: 7.363 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0001936/0.2738, allocations: 69.81 kB / 0.985 GB, free: 7.289 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.376e-05/0.2739, allocations: 55.34 kB / 0.9851 GB, free: 7.223 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.344e-05/0.274, allocations: 105.8 kB / 0.9852 GB, free: 7.109 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.284e-05/0.274, allocations: 25.7 kB / 0.9852 GB, free: 7.078 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.184e-05/0.274, allocations: 84.12 kB / 0.9853 GB, free: 6.992 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.164e-05/0.2741, allocations: 7.906 kB / 0.9853 GB, free: 6.984 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.042e-05/0.2741, allocations: 21.7 kB / 0.9853 GB, free: 6.957 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001113/0.2742, allocations: 319 kB / 0.9856 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.224e-05/0.2743, allocations: 8 kB / 0.9856 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.739e-05/0.2743, allocations: 31.42 kB / 0.9857 GB, free: 6.586 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.224e-05/0.2744, allocations: 51.36 kB / 0.9857 GB, free: 6.523 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.2744, allocations: 4 kB / 0.9857 GB, free: 6.52 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.571e-05/0.2745, allocations: 61.62 kB / 0.9858 GB, free: 6.453 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.2745, allocations: 15.92 kB / 0.9858 GB, free: 6.438 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/0.2745, allocations: 0 / 0.9858 GB, free: 6.438 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.2746, allocations: 0 / 0.9858 GB, free: 6.438 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.754e-05/0.2746, allocations: 11.94 kB / 0.9858 GB, free: 6.426 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.2746, allocations: 0 / 0.9858 GB, free: 6.426 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.622e-05/0.2747, allocations: 4 kB / 0.9858 GB, free: 6.422 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/0.2747, allocations: 0 / 0.9858 GB, free: 6.422 MB / 0.7136 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 8.307e-05/0.2748, allocations: 125.8 kB / 0.9859 GB, free: 6.289 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.527e-05/0.2748, allocations: 11.84 kB / 0.9859 GB, free: 6.277 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.372e-05/0.2748, allocations: 11.48 kB / 0.9859 GB, free: 6.266 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.2748, allocations: 0 / 0.9859 GB, free: 6.266 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.2748, allocations: 0 / 0.9859 GB, free: 6.266 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.2749, allocations: 0 / 0.9859 GB, free: 6.266 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001139/0.275, allocations: 153.7 kB / 0.9861 GB, free: 6.066 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.275, allocations: 3.938 kB / 0.9861 GB, free: 6.062 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.174e-05/0.275, allocations: 0 / 0.9861 GB, free: 6.062 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.109e-06/0.275, allocations: 7.938 kB / 0.9861 GB, free: 6.055 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.275, allocations: 4 kB / 0.9861 GB, free: 6.051 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.275, allocations: 0 / 0.9861 GB, free: 6.051 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.275, allocations: 0 / 0.9861 GB, free: 6.051 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003672/0.2754, allocations: 0.6357 MB / 0.9867 GB, free: 5.355 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.879e-05/0.2755, allocations: 81.05 kB / 0.9868 GB, free: 5.258 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.437e-05/0.2755, allocations: 4 kB / 0.9868 GB, free: 5.254 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.055e-05/0.2755, allocations: 4 kB / 0.9868 GB, free: 5.25 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.056e-05/0.2755, allocations: 3.984 kB / 0.9868 GB, free: 5.246 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.303e-06/0.2755, allocations: 4 kB / 0.9868 GB, free: 5.242 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.091e-05/0.2756, allocations: 75.28 kB / 0.9869 GB, free: 5.168 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.21e-07/0.2756, allocations: 0 / 0.9869 GB, free: 5.168 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000336/0.2759, allocations: 28 kB / 0.9869 GB, free: 5.141 MB / 0.7136 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.0003212/0.2762, allocations: 166.5 kB / 0.9871 GB, free: 4.973 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.896e-05/0.2764, allocations: 27.88 kB / 0.9871 GB, free: 4.945 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.2764, allocations: 0 / 0.9871 GB, free: 4.945 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.234e-05/0.2764, allocations: 11.98 kB / 0.9871 GB, free: 4.934 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001305/0.2765, allocations: 8 kB / 0.9871 GB, free: 4.926 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002865/0.2768, allocations: 221.7 kB / 0.9873 GB, free: 4.672 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002417/0.2771, allocations: 0.6848 MB / 0.988 GB, free: 3.961 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.362e-05/0.2771, allocations: 4 kB / 0.988 GB, free: 3.957 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.488e-05/0.2771, allocations: 11.44 kB / 0.988 GB, free: 3.945 MB / 0.7136 GB Notification: Performance of SimCode: time 2.2e-07/0.2771, allocations: 0 / 0.988 GB, free: 3.945 MB / 0.7136 GB Notification: Performance of Templates: time 0.002997/0.2802, allocations: 0.9395 MB / 0.9889 GB, free: 3.008 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.makefile (rm -f Buildings_8_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe ; mkfifo Buildings_8_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe >> ../files/Buildings_8_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.sim & ./Buildings_8_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe 2>&1)