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 2.793/2.793, allocations: 287.3 MB / 302.3 MB, free: 8.258 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.002318/0.002317, allocations: 182.7 kB / 370.8 MB, free: 10.87 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.326/2.326, allocations: 205.4 MB / 0.6295 GB, free: 10.62 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.001106/0.001106, allocations: 89.45 kB / 0.7428 GB, free: 6.633 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0008797/0.0008796, allocations: 15.02 kB / 0.8657 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2391/0.2401, allocations: 115.3 MB / 0.9783 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration): time 0.001319/0.2415, allocations: 0.9297 MB / 0.9792 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007832/0.2423, allocations: 362.6 kB / 0.9795 GB, free: 27.01 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.271e-05/0.2423, allocations: 0 / 0.9795 GB, free: 27.01 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.205e-05/0.2423, allocations: 0 / 0.9795 GB, free: 27.01 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.362e-05/0.2424, allocations: 0 / 0.9795 GB, free: 27.01 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004995/0.2429, allocations: 71.78 kB / 0.9796 GB, free: 26.94 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.654e-05/0.243, allocations: 19.91 kB / 0.9796 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.495e-05/0.243, allocations: 0 / 0.9796 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.371e-05/0.2431, allocations: 8 kB / 0.9796 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.256e-05/0.2431, allocations: 11.98 kB / 0.9796 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.269e-05/0.2431, allocations: 0 / 0.9796 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000173/0.2433, allocations: 63.88 kB / 0.9797 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.77e-05/0.2433, allocations: 7.984 kB / 0.9797 GB, free: 26.83 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.976e-05/0.2434, allocations: 29.64 kB / 0.9797 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001396/0.2435, allocations: 59.91 kB / 0.9798 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.2435, allocations: 0 / 0.9798 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.673e-06/0.2435, allocations: 0 / 0.9798 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.2436, allocations: 0 / 0.9798 GB, free: 26.74 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.0003962/0.244, allocations: 369.3 kB / 0.9801 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.244, allocations: 16.02 kB / 0.9802 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.607e-05/0.2441, allocations: 34.47 kB / 0.9802 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.675e-05/0.2441, allocations: 0 / 0.9802 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.036e-05/0.2442, allocations: 175 kB / 0.9804 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.326e-05/0.2442, allocations: 0 / 0.9804 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.685e-05/0.2443, allocations: 4 kB / 0.9804 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001159/0.2444, allocations: 37.69 kB / 0.9804 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.2444, allocations: 0 / 0.9804 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.2444, allocations: 4 kB / 0.9804 GB, free: 26 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.2445, allocations: 0 / 0.9804 GB, free: 26 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.234e-05/0.2445, allocations: 7.984 kB / 0.9804 GB, free: 26 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003162/0.2448, allocations: 248.9 kB / 0.9806 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001055/0.245, allocations: 38.5 kB / 0.9807 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.129e-05/0.245, allocations: 0 / 0.9807 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001704/0.2452, allocations: 59.48 kB / 0.9807 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 2.736e-06/0.2452, allocations: 3.938 kB / 0.9807 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5): time 0.0002562/0.2454, allocations: 85.45 kB / 0.9808 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.213e-05/0.2455, allocations: 51.41 kB / 0.9809 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.608e-05/0.2456, allocations: 93.86 kB / 0.981 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.29e-05/0.2456, allocations: 29.7 kB / 0.981 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.036e-05/0.2456, allocations: 84.27 kB / 0.9811 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.174e-05/0.2456, allocations: 11.89 kB / 0.9811 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.14e-06/0.2457, allocations: 4 kB / 0.9811 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.685e-05/0.2457, allocations: 318.8 kB / 0.9814 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.855e-05/0.2458, allocations: 8 kB / 0.9814 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.55e-05/0.2458, allocations: 31.42 kB / 0.9814 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.238e-05/0.2459, allocations: 16 kB / 0.9814 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.2459, allocations: 0 / 0.9814 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001353/0.246, allocations: 81.45 kB / 0.9815 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.246, allocations: 8 kB / 0.9815 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.2461, allocations: 160 / 0.9815 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.2461, allocations: 4 kB / 0.9815 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.313e-05/0.2462, allocations: 4 kB / 0.9815 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.2462, allocations: 7.984 kB / 0.9815 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.577e-05/0.2463, allocations: 3.938 kB / 0.9815 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.182e-05/0.2463, allocations: 8.062 kB / 0.9816 GB, free: 24.68 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 7.569e-05/0.2464, allocations: 125.7 kB / 0.9817 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.213e-05/0.2464, allocations: 0 / 0.9817 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.629e-05/0.2464, allocations: 3.562 kB / 0.9817 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.2464, allocations: 0 / 0.9817 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.2465, allocations: 0 / 0.9817 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.2465, allocations: 4 kB / 0.9817 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003393/0.2468, allocations: 294.9 kB / 0.982 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.2469, allocations: 8 kB / 0.982 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.856e-05/0.2469, allocations: 4 kB / 0.982 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.2469, allocations: 0 / 0.982 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.2469, allocations: 0 / 0.982 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.736e-06/0.247, allocations: 0 / 0.982 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.247, allocations: 0 / 0.982 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001726/0.2471, allocations: 171.3 kB / 0.9821 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.376e-05/0.2472, allocations: 77.11 kB / 0.9822 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.951e-05/0.2472, allocations: 8 kB / 0.9822 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.168e-05/0.2473, allocations: 7.938 kB / 0.9822 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.074e-05/0.2473, allocations: 3.938 kB / 0.9822 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.148e-05/0.2474, allocations: 7.984 kB / 0.9822 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.76e-05/0.2474, allocations: 75.28 kB / 0.9823 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.41e-07/0.2474, allocations: 0 / 0.9823 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003993/0.2478, allocations: 28 kB / 0.9823 GB, free: 23.79 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.0007439/0.2486, allocations: 0.7611 MB / 0.9831 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001452/0.2487, allocations: 36.05 kB / 0.9831 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.2488, allocations: 0 / 0.9831 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.469e-05/0.2488, allocations: 24.11 kB / 0.9831 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001658/0.249, allocations: 4 kB / 0.9831 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007486/0.2498, allocations: 0.7867 MB / 0.9839 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001295/0.2499, allocations: 0.6809 MB / 0.9846 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.916e-05/0.2499, allocations: 7.984 kB / 0.9846 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.341e-05/0.25, allocations: 15.38 kB / 0.9846 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of SimCode: time 8.01e-07/0.25, allocations: 0 / 0.9846 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0206/0.2706, allocations: 1.65 MB / 0.9862 GB, free: 19.9 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000262/0.2709, allocations: 241.4 kB / 0.9864 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.454/2.725, allocations: 5.859 kB / 0.9864 GB, free: 19.66 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)