Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_BaseClasses_Validation_BinaryVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.737/1.737, allocations: 288.4 MB / 303.3 MB, free: 8.094 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.0013/0.0013, allocations: 186.5 kB / 372 MB, free: 10.26 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.758/1.758, allocations: 205.4 MB / 0.6307 GB, free: 9.961 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.0009144/0.0009144, allocations: 94.3 kB / 0.744 GB, free: 5.902 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003805/0.0003807, allocations: 10.09 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2152/0.2156, allocations: 115.3 MB / 0.9796 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration): time 0.001146/0.2168, allocations: 0.9278 MB / 0.9805 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0006391/0.2174, allocations: 367.9 kB / 0.9809 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.85e-05/0.2175, allocations: 0 / 0.9809 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.326e-05/0.2175, allocations: 0 / 0.9809 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.877e-05/0.2175, allocations: 0 / 0.9809 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004353/0.218, allocations: 71.8 kB / 0.981 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.68e-05/0.218, allocations: 16 kB / 0.981 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.297e-05/0.2181, allocations: 0 / 0.981 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.699e-05/0.2181, allocations: 11.92 kB / 0.981 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.063e-05/0.2182, allocations: 7.984 kB / 0.981 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.281e-05/0.2182, allocations: 4 kB / 0.981 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000161/0.2184, allocations: 79.84 kB / 0.9811 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.418e-05/0.2184, allocations: 8 kB / 0.9811 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.633e-05/0.2184, allocations: 25.7 kB / 0.9811 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001217/0.2185, allocations: 59.84 kB / 0.9812 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.2186, allocations: 0 / 0.9812 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of FrontEnd: time 4.038e-06/0.2186, allocations: 8 kB / 0.9812 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.2186, allocations: 0 / 0.9812 GB, free: 25.98 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.0004699/0.2191, allocations: 369.3 kB / 0.9815 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.2191, allocations: 8.031 kB / 0.9815 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.653e-05/0.2192, allocations: 34.47 kB / 0.9816 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.096e-05/0.2192, allocations: 0 / 0.9816 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001018/0.2193, allocations: 171 kB / 0.9817 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.519e-05/0.2194, allocations: 4 kB / 0.9817 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.042e-05/0.2194, allocations: 4 kB / 0.9817 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001029/0.2195, allocations: 42.55 kB / 0.9818 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.824e-06/0.2195, allocations: 0 / 0.9818 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.2195, allocations: 0 / 0.9818 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.563e-06/0.2195, allocations: 4 kB / 0.9818 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.086e-05/0.2196, allocations: 8 kB / 0.9818 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003206/0.2199, allocations: 240.9 kB / 0.982 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.245e-05/0.22, allocations: 42.5 kB / 0.9821 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.064e-05/0.22, allocations: 20.84 kB / 0.9821 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.303e-05/0.22, allocations: 4.078 kB / 0.9821 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001282/0.2202, allocations: 51.41 kB / 0.9821 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 1.964e-06/0.2202, allocations: 0 / 0.9821 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5): time 0.0001869/0.2204, allocations: 85.45 kB / 0.9822 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.253e-05/0.2204, allocations: 55.41 kB / 0.9823 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.248e-05/0.2205, allocations: 93.86 kB / 0.9824 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.716e-06/0.2205, allocations: 33.64 kB / 0.9824 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.433e-05/0.2205, allocations: 80.14 kB / 0.9825 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.389e-05/0.2205, allocations: 15.89 kB / 0.9825 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.597e-06/0.2205, allocations: 0 / 0.9825 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.067e-05/0.2206, allocations: 314.8 kB / 0.9828 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.885e-05/0.2206, allocations: 12 kB / 0.9828 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.062e-05/0.2207, allocations: 43.53 kB / 0.9828 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.587e-05/0.2207, allocations: 8 kB / 0.9828 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2207, allocations: 0 / 0.9828 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.418e-05/0.2208, allocations: 81.45 kB / 0.9829 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.2208, allocations: 4 kB / 0.9829 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.2208, allocations: 0 / 0.9829 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.2208, allocations: 8.062 kB / 0.9829 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.509e-05/0.2209, allocations: 4 kB / 0.9829 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.2209, allocations: 4 kB / 0.9829 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.562e-05/0.2209, allocations: 3.938 kB / 0.9829 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.968e-06/0.221, allocations: 7.984 kB / 0.9829 GB, free: 23.92 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 5.259e-05/0.221, allocations: 121.7 kB / 0.9831 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.335e-06/0.221, allocations: 0 / 0.9831 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.763e-05/0.221, allocations: 3.562 kB / 0.9831 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.2211, allocations: 4 kB / 0.9831 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.2211, allocations: 4 kB / 0.9831 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.736e-06/0.2211, allocations: 0 / 0.9831 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001794/0.2213, allocations: 302.8 kB / 0.9834 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.2213, allocations: 0 / 0.9834 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.575e-05/0.2213, allocations: 4 kB / 0.9834 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.2213, allocations: 0 / 0.9834 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-06/0.2213, allocations: 3.938 kB / 0.9834 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.2213, allocations: 0 / 0.9834 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.2213, allocations: 0 / 0.9834 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.899e-05/0.2214, allocations: 167.4 kB / 0.9835 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.711e-05/0.2214, allocations: 77.11 kB / 0.9836 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/0.2215, allocations: 8 kB / 0.9836 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.777e-05/0.2215, allocations: 3.938 kB / 0.9836 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.285e-05/0.2215, allocations: 3.984 kB / 0.9836 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-06/0.2216, allocations: 4 kB / 0.9836 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.842e-05/0.2216, allocations: 75.28 kB / 0.9837 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2216, allocations: 4.094 kB / 0.9837 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002512/0.2218, allocations: 31.94 kB / 0.9837 GB, free: 23.02 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.0005434/0.2224, allocations: 0.7655 MB / 0.9845 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001124/0.2225, allocations: 39.92 kB / 0.9845 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2225, allocations: 0 / 0.9845 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.518e-05/0.2226, allocations: 15.98 kB / 0.9845 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002028/0.2228, allocations: 1.312 kB / 0.9845 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005215/0.2233, allocations: 410.8 kB / 0.9849 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.634e-05/0.2234, allocations: 0.677 MB / 0.9856 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.926e-05/0.2234, allocations: 4 kB / 0.9856 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.463e-05/0.2235, allocations: 13.41 kB / 0.9856 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of SimCode: time 2.41e-07/0.2235, allocations: 3.938 kB / 0.9856 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01201/0.2355, allocations: 1.674 MB / 0.9872 GB, free: 19.51 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001747/0.2357, allocations: 251.6 kB / 0.9875 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.633/1.869, allocations: 0 / 0.9875 GB, free: 19.18 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_BaseClasses_Validation_BinaryVariableGeneration_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_BaseClasses_Validation_BinaryVariableGeneration.fmu > Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe 2>&1)