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.384/1.384, allocations: 252 MB / 267 MB, free: 10.96 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.001083/0.001083, allocations: 182.5 kB / 326.6 MB, free: 2.223 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.154/2.154, allocations: 205.4 MB / 0.5777 GB, free: 20.5 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.0008551/0.000855, allocations: 86 kB / 0.6822 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003426/0.0003427, allocations: 11.89 kB / 0.7964 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2426/0.243, allocations: 106.3 MB / 0.9003 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration): time 0.001374/0.2444, allocations: 0.9348 MB / 0.9012 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006668/0.2451, allocations: 361.1 kB / 0.9016 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.359e-05/0.2452, allocations: 4 kB / 0.9016 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.531e-05/0.2452, allocations: 0 / 0.9016 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.858e-05/0.2452, allocations: 4 kB / 0.9016 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004196/0.2457, allocations: 71.8 kB / 0.9016 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.926e-05/0.2457, allocations: 15.92 kB / 0.9016 GB, free: 62.81 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.231e-05/0.2458, allocations: 4 kB / 0.9016 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.11e-05/0.2458, allocations: 7.938 kB / 0.9017 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.082e-05/0.2458, allocations: 7.969 kB / 0.9017 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.161e-05/0.2459, allocations: 0 / 0.9017 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00015/0.246, allocations: 87.84 kB / 0.9017 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.14e-05/0.246, allocations: 4 kB / 0.9017 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.259e-05/0.2461, allocations: 33.7 kB / 0.9018 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000107/0.2462, allocations: 55.91 kB / 0.9018 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.2462, allocations: 0 / 0.9018 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.064e-06/0.2462, allocations: 0 / 0.9018 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.2462, allocations: 0 / 0.9018 GB, free: 62.61 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.0004034/0.2466, allocations: 365.1 kB / 0.9022 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.275e-05/0.2467, allocations: 12.03 kB / 0.9022 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.623e-05/0.2468, allocations: 38.55 kB / 0.9022 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.174e-05/0.2468, allocations: 0 / 0.9022 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.98e-05/0.2469, allocations: 163 kB / 0.9024 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.283e-05/0.2469, allocations: 4 kB / 0.9024 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.099e-05/0.2469, allocations: 0 / 0.9024 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001048/0.2471, allocations: 49.62 kB / 0.9024 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.2471, allocations: 0 / 0.9024 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.2471, allocations: 0 / 0.9024 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.2471, allocations: 0 / 0.9024 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.024e-05/0.2471, allocations: 7.984 kB / 0.9024 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003055/0.2474, allocations: 261.1 kB / 0.9027 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 8.318e-05/0.2475, allocations: 38.5 kB / 0.9027 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.635e-05/0.2476, allocations: 20.94 kB / 0.9028 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.065e-05/0.2476, allocations: 0 / 0.9028 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001496/0.2478, allocations: 59.39 kB / 0.9028 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=5): time 9.92e-07/0.2478, allocations: 0 / 0.9028 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5): time 0.0002055/0.248, allocations: 65.69 kB / 0.9029 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.686e-05/0.248, allocations: 59.34 kB / 0.9029 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.253e-05/0.2481, allocations: 101.8 kB / 0.903 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.2e-05/0.2481, allocations: 25.7 kB / 0.903 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.241e-05/0.2481, allocations: 84.14 kB / 0.9031 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.508e-05/0.2482, allocations: 15.94 kB / 0.9031 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.346e-06/0.2482, allocations: 0 / 0.9031 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.605e-05/0.2482, allocations: 318.8 kB / 0.9034 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.787e-05/0.2483, allocations: 7.984 kB / 0.9035 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.265e-05/0.2483, allocations: 35.42 kB / 0.9035 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.852e-05/0.2483, allocations: 12 kB / 0.9035 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.2483, allocations: 4 kB / 0.9035 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.201e-05/0.2484, allocations: 77.44 kB / 0.9036 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.2485, allocations: 8 kB / 0.9036 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.585e-06/0.2485, allocations: 0 / 0.9036 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.2485, allocations: 3.984 kB / 0.9036 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.507e-05/0.2486, allocations: 12 kB / 0.9036 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.889e-06/0.2486, allocations: 4 kB / 0.9036 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.336e-05/0.2486, allocations: 0 / 0.9036 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.2486, allocations: 7.953 kB / 0.9036 GB, free: 60.54 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 ($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.425e-05/0.2487, allocations: 113.9 kB / 0.9037 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.139e-05/0.2487, allocations: 7.906 kB / 0.9037 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.254e-05/0.2487, allocations: 11.48 kB / 0.9037 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.2488, allocations: 0 / 0.9037 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.2488, allocations: 0 / 0.9037 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.2488, allocations: 0 / 0.9037 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000208/0.249, allocations: 298.5 kB / 0.904 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.249, allocations: 0 / 0.904 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.655e-05/0.249, allocations: 4 kB / 0.904 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.249, allocations: 7.984 kB / 0.904 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.694e-06/0.249, allocations: 320 / 0.904 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.249, allocations: 0 / 0.904 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.2491, allocations: 4 kB / 0.904 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001104/0.2492, allocations: 163.4 kB / 0.9042 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.547e-05/0.2492, allocations: 81.09 kB / 0.9043 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.56e-05/0.2492, allocations: 0 / 0.9043 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.458e-05/0.2493, allocations: 4 kB / 0.9043 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.861e-05/0.2493, allocations: 8 kB / 0.9043 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-06/0.2493, allocations: 0 / 0.9043 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.075e-05/0.2494, allocations: 79.28 kB / 0.9044 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2494, allocations: 0 / 0.9044 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002778/0.2496, allocations: 35.94 kB / 0.9044 GB, free: 59.63 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 (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.0006513/0.2503, allocations: 0.7685 MB / 0.9051 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001296/0.2504, allocations: 35.92 kB / 0.9052 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.2505, allocations: 0 / 0.9052 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.762e-05/0.2505, allocations: 12 kB / 0.9052 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002341/0.2507, allocations: 4 kB / 0.9052 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006866/0.2514, allocations: 405.9 kB / 0.9056 GB, free: 58.35 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001898/0.2516, allocations: 0.6731 MB / 0.9062 GB, free: 57.65 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.765e-05/0.2517, allocations: 12.05 kB / 0.9063 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.486e-05/0.2517, allocations: 7.438 kB / 0.9063 GB, free: 57.63 MB / 0.6042 GB Notification: Performance of SimCode: time 2.11e-07/0.2517, allocations: 0 / 0.9063 GB, free: 57.63 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0126/0.2643, allocations: 1.678 MB / 0.9079 GB, free: 56.13 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001955/0.2646, allocations: 254.2 kB / 0.9081 GB, free: 55.8 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.646/1.91, allocations: 0 / 0.9081 GB, free: 55.8 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)