Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_BinaryVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.43/1.43, allocations: 251.5 MB / 266.7 MB, free: 11.06 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001011/0.001011, allocations: 173.5 kB / 325.8 MB, free: 2.719 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.817/1.817, allocations: 205 MB / 0.576 GB, free: 20.99 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006714/0.0006715, allocations: 90.95 kB / 0.6797 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003559/0.000356, allocations: 12.72 kB / 0.7932 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2087/0.2091, allocations: 105.4 MB / 0.8962 GB, free: 68.13 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration): time 0.001095/0.2103, allocations: 0.9511 MB / 0.8971 GB, free: 67.17 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006338/0.2109, allocations: 392.4 kB / 0.8975 GB, free: 66.78 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.918e-05/0.2109, allocations: 0 / 0.8975 GB, free: 66.78 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.685e-05/0.211, allocations: 0 / 0.8975 GB, free: 66.78 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.706e-05/0.211, allocations: 8 kB / 0.8975 GB, free: 66.77 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003846/0.2114, allocations: 79.8 kB / 0.8976 GB, free: 66.7 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.341e-05/0.2114, allocations: 15.98 kB / 0.8976 GB, free: 66.68 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.326e-05/0.2115, allocations: 0 / 0.8976 GB, free: 66.68 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.893e-05/0.2115, allocations: 7.938 kB / 0.8976 GB, free: 66.67 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.586e-05/0.2115, allocations: 11.91 kB / 0.8976 GB, free: 66.66 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.253e-05/0.2116, allocations: 4 kB / 0.8976 GB, free: 66.66 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001397/0.2117, allocations: 87.84 kB / 0.8977 GB, free: 66.57 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.372e-05/0.2117, allocations: 4 kB / 0.8977 GB, free: 66.57 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.35e-05/0.2118, allocations: 4 kB / 0.8977 GB, free: 66.56 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001297/0.2119, allocations: 92.05 kB / 0.8978 GB, free: 66.47 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.2119, allocations: 0 / 0.8978 GB, free: 66.47 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.214e-06/0.2119, allocations: 0 / 0.8978 GB, free: 66.47 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.108e-06/0.2119, allocations: 3.938 kB / 0.8978 GB, free: 66.47 MB / 0.6042 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.0003701/0.2123, allocations: 365.3 kB / 0.8981 GB, free: 66.05 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.2123, allocations: 12.03 kB / 0.8982 GB, free: 66.04 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.225e-05/0.2124, allocations: 30.75 kB / 0.8982 GB, free: 66 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.51e-05/0.2124, allocations: 0.9375 kB / 0.8982 GB, free: 66 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.943e-05/0.2125, allocations: 176.3 kB / 0.8984 GB, free: 65.79 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.911e-05/0.2125, allocations: 4.375 kB / 0.8984 GB, free: 65.79 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.136e-05/0.2125, allocations: 4.359 kB / 0.8984 GB, free: 65.79 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001009/0.2127, allocations: 42.25 kB / 0.8984 GB, free: 65.74 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.2127, allocations: 3.938 kB / 0.8984 GB, free: 65.73 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.2127, allocations: 0 / 0.8984 GB, free: 65.73 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.2127, allocations: 0 / 0.8984 GB, free: 65.73 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.927e-05/0.2127, allocations: 7.938 kB / 0.8984 GB, free: 65.73 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002683/0.213, allocations: 252.9 kB / 0.8987 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 7.543e-05/0.2131, allocations: 38.5 kB / 0.8987 GB, free: 65.38 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.862e-05/0.2131, allocations: 16.94 kB / 0.8987 GB, free: 65.36 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.967e-06/0.2131, allocations: 0 / 0.8987 GB, free: 65.36 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001173/0.2133, allocations: 59.34 kB / 0.8988 GB, free: 65.29 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=5): time 1.382e-06/0.2133, allocations: 4 kB / 0.8988 GB, free: 65.29 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5): time 0.0001674/0.2134, allocations: 73.67 kB / 0.8988 GB, free: 65.21 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.493e-05/0.2135, allocations: 55.41 kB / 0.8989 GB, free: 65.14 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.308e-05/0.2135, allocations: 93.86 kB / 0.899 GB, free: 65.04 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.886e-06/0.2135, allocations: 25.7 kB / 0.899 GB, free: 65.01 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.423e-05/0.2136, allocations: 84.14 kB / 0.8991 GB, free: 64.93 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.557e-05/0.2136, allocations: 19.73 kB / 0.8991 GB, free: 64.91 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.202e-05/0.2136, allocations: 17.72 kB / 0.8991 GB, free: 64.88 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.016e-05/0.2137, allocations: 315 kB / 0.8994 GB, free: 64.57 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.774e-05/0.2137, allocations: 11.98 kB / 0.8994 GB, free: 64.55 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.083e-05/0.2137, allocations: 35.38 kB / 0.8995 GB, free: 64.51 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.675e-05/0.2138, allocations: 47.42 kB / 0.8995 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.2138, allocations: 7.938 kB / 0.8995 GB, free: 64.44 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8) (initialization): time 7.9e-05/0.2139, allocations: 69.56 kB / 0.8996 GB, free: 64.37 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/0.2139, allocations: 8 kB / 0.8996 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.2139, allocations: 3.938 kB / 0.8996 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.2139, allocations: 4.078 kB / 0.8996 GB, free: 64.35 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.144e-05/0.214, allocations: 11.98 kB / 0.8996 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.214, allocations: 0 / 0.8996 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.133e-05/0.214, allocations: 4 kB / 0.8996 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-06/0.214, allocations: 4 kB / 0.8996 GB, free: 64.33 MB / 0.6042 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 (curSeed,$PRE.curSeed,$whenCondition1,$outputAlias_y,$PRE.$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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.437e-05/0.2141, allocations: 121.8 kB / 0.8997 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.119e-05/0.2141, allocations: 7.906 kB / 0.8997 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.874e-05/0.2141, allocations: 15.48 kB / 0.8998 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.2141, allocations: 0 / 0.8998 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.2141, allocations: 0 / 0.8998 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.2141, allocations: 0 / 0.8998 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00016/0.2143, allocations: 294.6 kB / 0.9 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.2143, allocations: 0 / 0.9 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.439e-05/0.2143, allocations: 4 kB / 0.9 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.2143, allocations: 4 kB / 0.9 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.144e-06/0.2143, allocations: 7.922 kB / 0.9001 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.2144, allocations: 0 / 0.9001 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.2144, allocations: 0 / 0.9001 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.484e-05/0.2145, allocations: 159.5 kB / 0.9002 GB, free: 63.65 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.61e-05/0.2145, allocations: 81.09 kB / 0.9003 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.247e-05/0.2145, allocations: 384 / 0.9003 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.62e-05/0.2145, allocations: 4 kB / 0.9003 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.993e-05/0.2146, allocations: 4 kB / 0.9003 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.58e-06/0.2146, allocations: 4 kB / 0.9003 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.664e-05/0.2146, allocations: 79.28 kB / 0.9004 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2146, allocations: 0 / 0.9004 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002355/0.2149, allocations: 35.92 kB / 0.9004 GB, free: 63.43 MB / 0.6042 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 (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.0004663/0.2153, allocations: 0.7728 MB / 0.9012 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 9.005e-05/0.2154, allocations: 35.92 kB / 0.9012 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.2154, allocations: 0 / 0.9012 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.063e-05/0.2155, allocations: 12 kB / 0.9012 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001837/0.2157, allocations: 0 / 0.9012 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006839/0.2164, allocations: 1.263 MB / 0.9024 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.587e-05/0.2165, allocations: 0.6823 MB / 0.9031 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 1.897e-05/0.2165, allocations: 0 / 0.9031 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.285e-05/0.2165, allocations: 19.44 kB / 0.9031 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of SimCode: time 2.81e-07/0.2165, allocations: 0 / 0.9031 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01024/0.2268, allocations: 1.658 MB / 0.9047 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001428/0.2269, allocations: 268.6 kB / 0.905 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.499/1.726, allocations: 0 / 0.905 GB, free: 58.67 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_BinaryVariableGeneration_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_BinaryVariableGeneration.fmu > Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe 2>&1)