Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom,fileNamePrefix="Buildings_7_0_0_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.271/2.271, allocations: 248.5 MB / 261.1 MB, free: 6.031 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001429/0.001429, allocations: 179 kB / 320.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.951/1.951, allocations: 205.2 MB / 0.571 GB, free: 11.74 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.001052/0.001051, allocations: 99.97 kB / 0.6754 GB, free: 0.8281 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.378e-05/3.398e-05, allocations: 4 kB / 0.7869 GB, free: 97.79 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2082/0.2082, allocations: 106.3 MB / 0.8907 GB, free: 7.449 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8501/1.058, allocations: 133.6 MB / 1.021 GB, free: 1.672 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003169/1.059, allocations: 82.98 kB / 1.021 GB, free: 1.629 MB / 0.6355 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd - DAE generated: time 0.01642/1.075, allocations: 3.431 MB / 1.025 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.044e-06/1.075, allocations: 0 / 1.025 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.734e-06/1.075, allocations: 0 / 1.025 GB, free: 14.7 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008152/1.076, allocations: 485.6 kB / 1.025 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.88e-05/1.076, allocations: 8.031 kB / 1.025 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.878e-05/1.076, allocations: 42.02 kB / 1.025 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.309e-05/1.076, allocations: 11.91 kB / 1.025 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001525/1.076, allocations: 171.7 kB / 1.025 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.892e-05/1.076, allocations: 4 kB / 1.025 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.175e-05/1.077, allocations: 7.312 kB / 1.025 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002209/1.077, allocations: 74.09 kB / 1.025 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/1.077, allocations: 3.938 kB / 1.025 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.951e-05/1.077, allocations: 3.984 kB / 1.025 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.177e-05/1.077, allocations: 3.953 kB / 1.025 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001354/1.077, allocations: 31.31 kB / 1.025 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000759/1.078, allocations: 337.6 kB / 1.026 GB, free: 13.44 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002033/1.078, allocations: 71.41 kB / 1.026 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001003/1.078, allocations: 30.42 kB / 1.026 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.217e-05/1.078, allocations: 0 / 1.026 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002001/1.078, allocations: 84.39 kB / 1.026 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=8): time 2.074e-06/1.078, allocations: 0 / 1.026 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of matching and sorting (n=8): time 0.0004208/1.079, allocations: 125.3 kB / 1.026 GB, free: 13.17 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.852e-05/1.079, allocations: 55.34 kB / 1.026 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001289/1.079, allocations: 122.7 kB / 1.026 GB, free: 12.99 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.968e-05/1.079, allocations: 29.69 kB / 1.026 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.717e-05/1.079, allocations: 103 kB / 1.026 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.929e-05/1.079, allocations: 15.19 kB / 1.026 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.426e-06/1.079, allocations: 7.312 kB / 1.026 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001439/1.079, allocations: 322.2 kB / 1.027 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.357e-05/1.079, allocations: 21.88 kB / 1.027 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001068/1.08, allocations: 58.19 kB / 1.027 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.099e-05/1.08, allocations: 31.3 kB / 1.027 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.696e-06/1.08, allocations: 0 / 1.027 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002647/1.08, allocations: 115.7 kB / 1.027 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/1.08, allocations: 7.953 kB / 1.027 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/1.08, allocations: 4 kB / 1.027 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/1.08, allocations: 0 / 1.027 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001443/1.08, allocations: 15.98 kB / 1.027 GB, free: 12.28 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.489e-05/1.08, allocations: 12.12 kB / 1.027 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001105/1.08, allocations: 6.875 kB / 1.027 GB, free: 12.26 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.911e-05/1.08, allocations: 4 kB / 1.027 GB, free: 12.26 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.ac.curSeed,ac.curSeed,$PRE.ac.pOff,ac.pOff,$PRE.ac.pOn,ac.pOn,$PRE.ac.on,ac.on,ac.occ,$whenCondition1,ac.sampleTrigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 9.748e-05/1.08, allocations: 113.2 kB / 1.027 GB, free: 12.15 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.901e-05/1.08, allocations: 7.906 kB / 1.027 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.521e-05/1.081, allocations: 19.69 kB / 1.027 GB, free: 12.13 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/1.081, allocations: 0 / 1.027 GB, free: 12.13 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/1.081, allocations: 0 / 1.027 GB, free: 12.13 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/1.081, allocations: 4 kB / 1.027 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006646/1.081, allocations: 406.1 kB / 1.027 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/1.081, allocations: 3.953 kB / 1.027 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.013e-05/1.081, allocations: 7.984 kB / 1.027 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/1.081, allocations: 0 / 1.027 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.542e-05/1.081, allocations: 7.438 kB / 1.027 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/1.081, allocations: 0 / 1.027 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/1.081, allocations: 0 / 1.027 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003922/1.082, allocations: 227.8 kB / 1.028 GB, free: 11.49 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.772e-05/1.082, allocations: 88.95 kB / 1.028 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.217e-05/1.082, allocations: 0 / 1.028 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001705/1.082, allocations: 15.92 kB / 1.028 GB, free: 11.37 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.791e-05/1.082, allocations: 4 kB / 1.028 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.38e-05/1.082, allocations: 14.98 kB / 1.028 GB, free: 11.35 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 8.073e-05/1.082, allocations: 97.44 kB / 1.028 GB, free: 11.26 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.41e-07/1.082, allocations: 0 / 1.028 GB, free: 11.26 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005029/1.083, allocations: 66.86 kB / 1.028 GB, free: 11.2 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (ac.sampleTrigger,$whenCondition1,ac.occ,ac.on,ac.pOn,ac.pOff,ac.curSeed) * Number of discrete states: 1 (ac.on) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001101/1.084, allocations: 0.8515 MB / 1.029 GB, free: 10.37 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000242/1.084, allocations: 64.12 kB / 1.029 GB, free: 10.32 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/1.084, allocations: 0 / 1.029 GB, free: 10.32 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001238/1.084, allocations: 43.09 kB / 1.029 GB, free: 10.29 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002551/1.085, allocations: 7.938 kB / 1.029 GB, free: 10.29 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007065/1.085, allocations: 182.3 kB / 1.029 GB, free: 10.09 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002999/1.086, allocations: 0.6965 MB / 1.03 GB, free: 9.367 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.293e-05/1.086, allocations: 11.92 kB / 1.03 GB, free: 9.355 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.877e-05/1.086, allocations: 21.38 kB / 1.03 GB, free: 9.344 MB / 0.6511 GB Notification: Performance of SimCode: time 9.22e-07/1.086, allocations: 0 / 1.03 GB, free: 9.344 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02749/1.113, allocations: 3.042 MB / 1.033 GB, free: 6.461 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004161/1.114, allocations: 233.2 kB / 1.033 GB, free: 6.23 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.474/3.588, allocations: 0 / 1.033 GB, free: 6.23 MB / 0.6511 GB