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.428/1.428, allocations: 251.9 MB / 266.9 MB, free: 11.01 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.001189/0.001189, allocations: 174.6 kB / 326.5 MB, free: 2.207 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.905/1.905, allocations: 205.4 MB / 0.5775 GB, free: 20.24 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.0009151/0.0009153, allocations: 90.38 kB / 0.6821 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003821/0.0003823, allocations: 7.312 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2371/0.2375, allocations: 106.3 MB / 0.9001 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration): time 0.001156/0.2387, allocations: 0.9377 MB / 0.9011 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006146/0.2393, allocations: 357.9 kB / 0.9014 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.412e-05/0.2394, allocations: 4 kB / 0.9014 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.195e-05/0.2394, allocations: 3.938 kB / 0.9014 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 2.949e-05/0.2394, allocations: 0 / 0.9014 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004246/0.2398, allocations: 67.78 kB / 0.9015 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.856e-05/0.2399, allocations: 11.98 kB / 0.9015 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.388e-05/0.24, allocations: 4 kB / 0.9015 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.954e-05/0.24, allocations: 11.94 kB / 0.9015 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.557e-05/0.24, allocations: 7.969 kB / 0.9015 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.263e-05/0.24, allocations: 4 kB / 0.9015 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001335/0.2402, allocations: 63.89 kB / 0.9016 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.013e-05/0.2402, allocations: 3.984 kB / 0.9016 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.853e-05/0.2402, allocations: 29.7 kB / 0.9016 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001115/0.2403, allocations: 55.91 kB / 0.9017 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.2404, allocations: 0 / 0.9017 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.805e-06/0.2404, allocations: 0 / 0.9017 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.2404, allocations: 3.938 kB / 0.9017 GB, free: 62.23 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.0004113/0.2408, allocations: 369.1 kB / 0.902 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.2408, allocations: 8.031 kB / 0.902 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.502e-05/0.2409, allocations: 34.5 kB / 0.902 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.766e-05/0.2409, allocations: 4 kB / 0.9021 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.842e-05/0.241, allocations: 175 kB / 0.9022 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.192e-05/0.2411, allocations: 0 / 0.9022 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.359e-05/0.2411, allocations: 4 kB / 0.9022 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001094/0.2412, allocations: 45.62 kB / 0.9023 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.114e-06/0.2412, allocations: 4 kB / 0.9023 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.2412, allocations: 4 kB / 0.9023 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.2412, allocations: 0 / 0.9023 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.154e-05/0.2413, allocations: 7.984 kB / 0.9023 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003007/0.2416, allocations: 249 kB / 0.9025 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 8.221e-05/0.2417, allocations: 34.55 kB / 0.9026 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 7.253e-06/0.2417, allocations: 4 kB / 0.9026 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001482/0.2419, allocations: 63.48 kB / 0.9026 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=5): time 1.282e-06/0.2419, allocations: 0 / 0.9026 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5): time 0.000201/0.2421, allocations: 61.69 kB / 0.9027 GB, free: 61 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.2421, allocations: 59.34 kB / 0.9027 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.323e-05/0.2422, allocations: 97.84 kB / 0.9028 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.113e-05/0.2422, allocations: 33.83 kB / 0.9029 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.563e-05/0.2422, allocations: 80.14 kB / 0.9029 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.816e-05/0.2423, allocations: 11.81 kB / 0.9029 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.807e-06/0.2423, allocations: 0 / 0.9029 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.941e-05/0.2424, allocations: 326.8 kB / 0.9033 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.874e-05/0.2424, allocations: 4 kB / 0.9033 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.818e-05/0.2424, allocations: 35.42 kB / 0.9033 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.128e-05/0.2425, allocations: 16 kB / 0.9033 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.2425, allocations: 3.938 kB / 0.9033 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.85e-05/0.2426, allocations: 73.55 kB / 0.9034 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.2426, allocations: 4 kB / 0.9034 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.2426, allocations: 4 kB / 0.9034 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.2426, allocations: 0 / 0.9034 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.448e-05/0.2427, allocations: 8 kB / 0.9034 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.2427, allocations: 0 / 0.9034 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.548e-05/0.2427, allocations: 12.06 kB / 0.9034 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.2428, allocations: 0 / 0.9034 GB, free: 60.19 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.804e-05/0.2428, allocations: 113.8 kB / 0.9035 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.055e-05/0.2428, allocations: 11.89 kB / 0.9035 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.586e-05/0.2429, allocations: 7.562 kB / 0.9035 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.2429, allocations: 4.031 kB / 0.9035 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.2429, allocations: 0 / 0.9035 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.2429, allocations: 7.922 kB / 0.9035 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002069/0.2431, allocations: 302.5 kB / 0.9038 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.2431, allocations: 0 / 0.9038 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.658e-05/0.2432, allocations: 7.984 kB / 0.9038 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.2432, allocations: 0 / 0.9038 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.2432, allocations: 4 kB / 0.9038 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.2432, allocations: 320 / 0.9038 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.2432, allocations: 0 / 0.9038 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001081/0.2433, allocations: 167.4 kB / 0.904 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.058e-05/0.2433, allocations: 81.11 kB / 0.9041 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.536e-05/0.2434, allocations: 4 kB / 0.9041 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.065e-05/0.2434, allocations: 0 / 0.9041 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.688e-05/0.2434, allocations: 4 kB / 0.9041 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.201e-06/0.2435, allocations: 0 / 0.9041 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.471e-05/0.2435, allocations: 83.27 kB / 0.9042 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.41e-07/0.2435, allocations: 0 / 0.9042 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002923/0.2438, allocations: 28 kB / 0.9042 GB, free: 59.28 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.0005375/0.2443, allocations: 0.7769 MB / 0.905 GB, free: 58.49 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 9.579e-05/0.2445, allocations: 31.92 kB / 0.905 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.2445, allocations: 0 / 0.905 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.348e-05/0.2445, allocations: 20.06 kB / 0.905 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001265/0.2446, allocations: 9.531 kB / 0.905 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005349/0.2452, allocations: 0.7858 MB / 0.9058 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001241/0.2453, allocations: 0.6809 MB / 0.9064 GB, free: 56.88 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 1.912e-05/0.2453, allocations: 3.984 kB / 0.9065 GB, free: 56.88 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.228e-05/0.2454, allocations: 11.44 kB / 0.9065 GB, free: 56.86 MB / 0.6042 GB Notification: Performance of SimCode: time 2.11e-07/0.2454, allocations: 0 / 0.9065 GB, free: 56.86 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0125/0.2579, allocations: 1.65 MB / 0.9081 GB, free: 55.39 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001702/0.2581, allocations: 249.2 kB / 0.9083 GB, free: 55.05 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.482/1.74, allocations: 0 / 0.9083 GB, free: 55.05 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)