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: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_BaseClasses_Validation_BinaryVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_BaseClasses_Validation_BinaryVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.635/1.635, allocations: 287.4 MB / 302.5 MB, free: 8.332 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.0009907/0.0009907, allocations: 182.1 kB / 371.1 MB, free: 10.85 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.362/1.362, allocations: 205.4 MB / 0.6298 GB, free: 10.58 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.0007434/0.0007434, allocations: 95.78 kB / 0.7431 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004453/0.0004453, allocations: 19.95 kB / 0.8662 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2137/0.2142, allocations: 115.3 MB / 0.9787 GB, free: 28.14 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration): time 0.001338/0.2156, allocations: 0.9353 MB / 0.9796 GB, free: 27.19 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007893/0.2164, allocations: 356 kB / 0.98 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.522e-05/0.2164, allocations: 3.938 kB / 0.98 GB, free: 26.83 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.249e-05/0.2165, allocations: 0 / 0.98 GB, free: 26.83 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.22e-05/0.2165, allocations: 0 / 0.98 GB, free: 26.83 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005367/0.2171, allocations: 75.78 kB / 0.9801 GB, free: 26.76 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.484e-05/0.2172, allocations: 12 kB / 0.9801 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.221e-05/0.2172, allocations: 0 / 0.9801 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.534e-05/0.2173, allocations: 7.984 kB / 0.9801 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.566e-05/0.2173, allocations: 11.94 kB / 0.9801 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.583e-05/0.2173, allocations: 4 kB / 0.9801 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002173/0.2175, allocations: 79.91 kB / 0.9802 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.752e-05/0.2176, allocations: 11.92 kB / 0.9802 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.735e-05/0.2176, allocations: 29.7 kB / 0.9802 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001418/0.2178, allocations: 59.84 kB / 0.9803 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.2178, allocations: 0 / 0.9803 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2178, allocations: 0 / 0.9803 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.918e-06/0.2178, allocations: 0 / 0.9803 GB, free: 26.54 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.0003954/0.2182, allocations: 369.5 kB / 0.9806 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.88e-05/0.2183, allocations: 12.03 kB / 0.9806 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.904e-05/0.2183, allocations: 34.66 kB / 0.9807 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.939e-05/0.2184, allocations: 8.875 kB / 0.9807 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.856e-05/0.2185, allocations: 164.4 kB / 0.9808 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.371e-05/0.2185, allocations: 4.375 kB / 0.9808 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.251e-05/0.2185, allocations: 4.375 kB / 0.9808 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001016/0.2187, allocations: 38.25 kB / 0.9809 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.2187, allocations: 7.875 kB / 0.9809 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.2187, allocations: 0 / 0.9809 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.2187, allocations: 4 kB / 0.9809 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.725e-05/0.2188, allocations: 11.98 kB / 0.9809 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003024/0.2191, allocations: 237 kB / 0.9811 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.929e-05/0.2192, allocations: 34.55 kB / 0.9811 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.025e-05/0.2192, allocations: 20.94 kB / 0.9812 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.244e-06/0.2192, allocations: 4 kB / 0.9812 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001446/0.2194, allocations: 59.34 kB / 0.9812 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 1.873e-06/0.2194, allocations: 0 / 0.9812 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5): time 0.0002276/0.2196, allocations: 73.58 kB / 0.9813 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.768e-05/0.2197, allocations: 55.41 kB / 0.9814 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.209e-05/0.2197, allocations: 93.86 kB / 0.9814 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.256e-06/0.2198, allocations: 33.77 kB / 0.9815 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.731e-05/0.2198, allocations: 88.12 kB / 0.9816 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.852e-05/0.2198, allocations: 7.906 kB / 0.9816 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-06/0.2198, allocations: 3.938 kB / 0.9816 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.485e-05/0.2199, allocations: 314.8 kB / 0.9819 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.475e-05/0.2199, allocations: 11.98 kB / 0.9819 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.81e-05/0.22, allocations: 35.42 kB / 0.9819 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.618e-05/0.22, allocations: 55.34 kB / 0.982 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.2201, allocations: 7.938 kB / 0.982 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001159/0.2202, allocations: 69.53 kB / 0.982 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.2202, allocations: 4 kB / 0.982 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.2202, allocations: 0 / 0.982 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.2202, allocations: 4 kB / 0.982 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.045e-05/0.2203, allocations: 12.05 kB / 0.9821 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.2203, allocations: 7.938 kB / 0.9821 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.425e-05/0.2204, allocations: 3.938 kB / 0.9821 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.2204, allocations: 4 kB / 0.9821 GB, free: 24.42 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.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 6.166e-05/0.2205, allocations: 121.8 kB / 0.9822 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.105e-05/0.2205, allocations: 256 / 0.9822 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.24e-05/0.2205, allocations: 7.562 kB / 0.9822 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-06/0.2205, allocations: 3.938 kB / 0.9822 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/0.2205, allocations: 11.98 kB / 0.9822 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.2205, allocations: 4 kB / 0.9822 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002133/0.2208, allocations: 298.5 kB / 0.9825 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.2208, allocations: 0 / 0.9825 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.115e-05/0.2208, allocations: 4 kB / 0.9825 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.2208, allocations: 0 / 0.9825 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.737e-06/0.2208, allocations: 3.984 kB / 0.9825 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.2208, allocations: 0 / 0.9825 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2208, allocations: 0 / 0.9825 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001366/0.221, allocations: 171.4 kB / 0.9827 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.947e-05/0.221, allocations: 77.11 kB / 0.9827 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.72e-05/0.2211, allocations: 7.984 kB / 0.9828 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.625e-05/0.2211, allocations: 0 / 0.9828 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.039e-05/0.2212, allocations: 0 / 0.9828 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.408e-06/0.2212, allocations: 4 kB / 0.9828 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.011e-05/0.2212, allocations: 79.22 kB / 0.9828 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2212, allocations: 3.938 kB / 0.9828 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003937/0.2216, allocations: 35.92 kB / 0.9829 GB, free: 23.5 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,$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.0006085/0.2222, allocations: 0.7591 MB / 0.9836 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001361/0.2224, allocations: 39.92 kB / 0.9837 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2224, allocations: 0 / 0.9837 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.174e-05/0.2225, allocations: 19.98 kB / 0.9837 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002848/0.2228, allocations: 2.953 kB / 0.9837 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007394/0.2235, allocations: 413 kB / 0.9841 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001257/0.2237, allocations: 0.677 MB / 0.9847 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.654e-05/0.2237, allocations: 7.984 kB / 0.9847 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.95e-05/0.2237, allocations: 9.938 kB / 0.9847 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of SimCode: time 2.71e-07/0.2238, allocations: 0 / 0.9847 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01421/0.238, allocations: 1.654 MB / 0.9864 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001883/0.2382, allocations: 245.1 kB / 0.9866 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.651/1.889, allocations: 0 / 0.9866 GB, free: 19.73 MB / 0.6198 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Occupants_BaseClasses_Validation_BinaryVariableGeneration_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Occupants_BaseClasses_Validation_BinaryVariableGeneration.fmu > Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe 2>&1)