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/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: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration,fileNamePrefix="Buildings_8_Buildings_Occupants_BaseClasses_Validation_BinaryVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration,fileNamePrefix="Buildings_8_Buildings_Occupants_BaseClasses_Validation_BinaryVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008433/0.0008434, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001068/0.001068, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.623/1.623, allocations: 205.4 MB / 222.1 MB, free: 5.637 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.808/1.808, allocations: 292.7 MB / 0.5499 GB, free: 14.54 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.0006072/0.0006074, allocations: 16.66 kB / 0.6738 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2665/0.2671, allocations: 116.3 MB / 0.7874 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration): time 0.001723/0.2689, allocations: 0.9275 MB / 0.7883 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000846/0.2698, allocations: 368.9 kB / 0.7887 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.86e-05/0.2698, allocations: 0 / 0.7887 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.699e-05/0.2699, allocations: 0 / 0.7887 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.745e-05/0.2699, allocations: 0 / 0.7887 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006462/0.2706, allocations: 75.78 kB / 0.7887 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000161/0.2707, allocations: 11.98 kB / 0.7887 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.206e-05/0.2708, allocations: 0 / 0.7887 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.766e-05/0.2709, allocations: 7.938 kB / 0.7887 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.783e-05/0.2709, allocations: 15.98 kB / 0.7888 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.347e-05/0.2709, allocations: 0 / 0.7888 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002484/0.2712, allocations: 83.84 kB / 0.7888 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.616e-05/0.2712, allocations: 4 kB / 0.7888 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.838e-05/0.2713, allocations: 29.7 kB / 0.7889 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002121/0.2715, allocations: 55.91 kB / 0.7889 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.686e-06/0.2715, allocations: 0 / 0.7889 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.954e-06/0.2715, allocations: 0 / 0.7889 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.294e-06/0.2715, allocations: 0 / 0.7889 GB, free: 10.26 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.0006686/0.2722, allocations: 373.3 kB / 0.7893 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.2723, allocations: 8.031 kB / 0.7893 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.662e-05/0.2723, allocations: 42.45 kB / 0.7893 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.455e-05/0.2724, allocations: 0 / 0.7893 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001449/0.2725, allocations: 167 kB / 0.7895 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.975e-05/0.2726, allocations: 12 kB / 0.7895 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.083e-05/0.2726, allocations: 0 / 0.7895 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001256/0.2727, allocations: 37.69 kB / 0.7895 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.2727, allocations: 0 / 0.7895 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.987e-05/0.2728, allocations: 3.984 kB / 0.7895 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.2728, allocations: 4 kB / 0.7895 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.655e-05/0.2728, allocations: 8 kB / 0.7895 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004037/0.2732, allocations: 248.9 kB / 0.7898 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001027/0.2733, allocations: 42.48 kB / 0.7898 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.451e-05/0.2734, allocations: 12.86 kB / 0.7898 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.412e-05/0.2734, allocations: 8 kB / 0.7898 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001751/0.2736, allocations: 55.48 kB / 0.7899 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.714e-06/0.2736, allocations: 0 / 0.7899 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.0002546/0.2739, allocations: 77.53 kB / 0.79 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.998e-05/0.2739, allocations: 51.41 kB / 0.79 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.054e-05/0.274, allocations: 97.84 kB / 0.7901 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.427e-05/0.2741, allocations: 33.83 kB / 0.7901 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.819e-05/0.2741, allocations: 84.08 kB / 0.7902 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.123e-05/0.2741, allocations: 11.91 kB / 0.7902 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.296e-06/0.2741, allocations: 0 / 0.7902 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.2743, allocations: 318.8 kB / 0.7905 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.32e-05/0.2743, allocations: 8 kB / 0.7906 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.568e-05/0.2744, allocations: 35.42 kB / 0.7906 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.495e-05/0.2744, allocations: 16 kB / 0.7906 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2744, allocations: 0 / 0.7906 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001152/0.2745, allocations: 73.47 kB / 0.7907 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.2746, allocations: 11.98 kB / 0.7907 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.353e-06/0.2746, allocations: 3.938 kB / 0.7907 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.2746, allocations: 0 / 0.7907 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.763e-05/0.2747, allocations: 8 kB / 0.7907 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.2747, allocations: 4 kB / 0.7907 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.578e-05/0.2747, allocations: 8 kB / 0.7907 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.371e-05/0.2747, allocations: 4 kB / 0.7907 GB, free: 8.184 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 ($PRE.curSeed,curSeed,$whenCondition1,$PRE.$outputAlias_y,$outputAlias_y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 0.0001014/0.2748, allocations: 118.4 kB / 0.7908 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.382e-05/0.2749, allocations: 7.984 kB / 0.7908 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.266e-05/0.2749, allocations: 3.562 kB / 0.7908 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.2749, allocations: 0 / 0.7908 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/0.2749, allocations: 0 / 0.7908 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.2749, allocations: 0 / 0.7908 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003302/0.2753, allocations: 302.6 kB / 0.7911 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.2753, allocations: 0 / 0.7911 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.177e-05/0.2753, allocations: 3.984 kB / 0.7911 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.2753, allocations: 4 kB / 0.7911 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.2753, allocations: 320 / 0.7911 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.167e-05/0.2753, allocations: 7.938 kB / 0.7911 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.2753, allocations: 0 / 0.7911 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001815/0.2755, allocations: 163.4 kB / 0.7913 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.142e-05/0.2756, allocations: 81.11 kB / 0.7914 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.449e-05/0.2756, allocations: 4 kB / 0.7914 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.906e-05/0.2757, allocations: 0 / 0.7914 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.52e-05/0.2757, allocations: 4 kB / 0.7914 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.351e-06/0.2757, allocations: 96 / 0.7914 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.921e-05/0.2758, allocations: 83.27 kB / 0.7915 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2758, allocations: 0 / 0.7915 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002934/0.2761, allocations: 28 kB / 0.7915 GB, free: 7.285 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,$outputAlias_y,curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.000838/0.2769, allocations: 0.7773 MB / 0.7922 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001236/0.2771, allocations: 35.92 kB / 0.7923 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.2771, allocations: 0 / 0.7923 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 5.04e-05/0.2771, allocations: 20.12 kB / 0.7923 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002189/0.2774, allocations: 3.984 kB / 0.7923 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007277/0.2781, allocations: 404.9 kB / 0.7927 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003562/0.2785, allocations: 0.677 MB / 0.7933 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.051e-05/0.2785, allocations: 0 / 0.7933 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.966e-05/0.2785, allocations: 15.44 kB / 0.7934 GB, free: 5.27 MB / 0.6075 GB Notification: Performance of SimCode: time 7.21e-07/0.2785, allocations: 96 / 0.7934 GB, free: 5.27 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01423/0.2928, allocations: 1.662 MB / 0.795 GB, free: 3.781 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002515/0.2931, allocations: 243 kB / 0.7952 GB, free: 3.543 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.876/2.169, allocations: 0 / 0.7952 GB, free: 3.543 MB / 0.6075 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_BaseClasses_Validation_BinaryVariableGeneration_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_BaseClasses_Validation_BinaryVariableGeneration.fmu > Buildings_8_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe 2>&1) Environment - environmentSimulation: