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.194/2.194, allocations: 251 MB / 265.9 MB, free: 11.71 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.001511/0.00151, allocations: 174 kB / 325.5 MB, free: 2.918 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.474/2.474, allocations: 205.4 MB / 0.5764 GB, free: 20.82 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.001201/0.001201, allocations: 98.67 kB / 0.6809 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004937/0.000494, allocations: 8.781 kB / 0.795 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2219/0.2225, allocations: 106.3 MB / 0.8988 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3099/0.5325, allocations: 133.7 MB / 1.029 GB, free: 11.65 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003689/0.5329, allocations: 83.95 kB / 1.029 GB, free: 11.57 MB / 0.6823 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.01733/0.5503, allocations: 3.443 MB / 1.033 GB, free: 8.121 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.885e-06/0.5503, allocations: 0 / 1.033 GB, free: 8.121 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.214e-05/0.5503, allocations: 4 kB / 1.033 GB, free: 8.117 MB / 0.6823 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.0009684/0.5513, allocations: 498.2 kB / 1.033 GB, free: 7.57 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.682e-05/0.5514, allocations: 8.031 kB / 1.033 GB, free: 7.562 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.186e-05/0.5515, allocations: 38.52 kB / 1.033 GB, free: 7.516 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.764e-05/0.5515, allocations: 7.906 kB / 1.033 GB, free: 7.508 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001586/0.5517, allocations: 180.6 kB / 1.033 GB, free: 7.293 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.473e-05/0.5517, allocations: 4 kB / 1.033 GB, free: 7.289 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.003e-05/0.5518, allocations: 4 kB / 1.033 GB, free: 7.285 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000357/0.5521, allocations: 89.64 kB / 1.034 GB, free: 7.191 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.5522, allocations: 3.938 kB / 1.034 GB, free: 7.188 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.871e-05/0.5522, allocations: 0 / 1.034 GB, free: 7.188 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.266e-05/0.5522, allocations: 7.953 kB / 1.034 GB, free: 7.18 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003056/0.5525, allocations: 63.89 kB / 1.034 GB, free: 7.117 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008121/0.5534, allocations: 324.7 kB / 1.034 GB, free: 6.75 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003656/0.5538, allocations: 90.53 kB / 1.034 GB, free: 6.652 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 6.294e-05/0.5538, allocations: 7.984 kB / 1.034 GB, free: 6.645 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003282/0.5542, allocations: 103.3 kB / 1.034 GB, free: 6.531 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=8): time 2.725e-06/0.5542, allocations: 4 kB / 1.034 GB, free: 6.527 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8): time 0.0008691/0.5551, allocations: 197.5 kB / 1.034 GB, free: 6.328 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.902e-05/0.5552, allocations: 51.41 kB / 1.034 GB, free: 6.266 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001417/0.5553, allocations: 123.5 kB / 1.035 GB, free: 6.137 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.732e-05/0.5553, allocations: 33.7 kB / 1.035 GB, free: 6.098 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.762e-05/0.5554, allocations: 104.1 kB / 1.035 GB, free: 5.992 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.384e-05/0.5555, allocations: 15.72 kB / 1.035 GB, free: 5.977 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.249e-05/0.5555, allocations: 4 kB / 1.035 GB, free: 5.973 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.5557, allocations: 322.8 kB / 1.035 GB, free: 5.648 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001323/0.5558, allocations: 27.98 kB / 1.035 GB, free: 5.621 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001738/0.556, allocations: 70 kB / 1.035 GB, free: 5.531 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001573/0.5562, allocations: 41.8 kB / 1.035 GB, free: 5.492 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.5562, allocations: 0 / 1.035 GB, free: 5.492 MB / 0.6823 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004215/0.5566, allocations: 129.4 kB / 1.035 GB, free: 5.359 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.691e-05/0.5567, allocations: 16.12 kB / 1.035 GB, free: 5.344 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.5567, allocations: 7.938 kB / 1.035 GB, free: 5.336 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.5567, allocations: 4 kB / 1.035 GB, free: 5.332 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001411/0.5568, allocations: 12 kB / 1.035 GB, free: 5.32 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.5569, allocations: 0 / 1.035 GB, free: 5.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001151/0.557, allocations: 15.92 kB / 1.035 GB, free: 5.305 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.85e-05/0.557, allocations: 4 kB / 1.035 GB, free: 5.301 MB / 0.6823 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 () * Number of clocked 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 0.0001476/0.5572, allocations: 129.8 kB / 1.035 GB, free: 5.164 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.548e-05/0.5572, allocations: 3.906 kB / 1.035 GB, free: 5.16 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.823e-05/0.5573, allocations: 20.66 kB / 1.035 GB, free: 5.137 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.5573, allocations: 0 / 1.035 GB, free: 5.137 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.5573, allocations: 0 / 1.035 GB, free: 5.137 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.5573, allocations: 0 / 1.035 GB, free: 5.137 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009597/0.5583, allocations: 442.4 kB / 1.036 GB, free: 4.648 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.5583, allocations: 0 / 1.036 GB, free: 4.648 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.073e-05/0.5584, allocations: 11.94 kB / 1.036 GB, free: 4.637 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.5584, allocations: 0 / 1.036 GB, free: 4.637 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.791e-05/0.5584, allocations: 0 / 1.036 GB, free: 4.637 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.18e-06/0.5584, allocations: 4 kB / 1.036 GB, free: 4.633 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.5585, allocations: 7.938 kB / 1.036 GB, free: 4.625 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006402/0.5591, allocations: 251.4 kB / 1.036 GB, free: 4.363 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.191e-05/0.5592, allocations: 85.02 kB / 1.036 GB, free: 4.262 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.455e-05/0.5592, allocations: 3.953 kB / 1.036 GB, free: 4.258 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001753/0.5594, allocations: 15.98 kB / 1.036 GB, free: 4.242 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.511e-05/0.5595, allocations: 11.92 kB / 1.036 GB, free: 4.23 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.866e-05/0.5595, allocations: 4 kB / 1.036 GB, free: 4.227 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 9.166e-05/0.5596, allocations: 99.27 kB / 1.036 GB, free: 4.129 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.81e-07/0.5596, allocations: 0 / 1.036 GB, free: 4.129 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0005037/0.5601, allocations: 67.86 kB / 1.036 GB, free: 4.062 MB / 0.6823 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) * Number of clocked states: 0 () * 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.001408/0.5616, allocations: 0.8754 MB / 1.037 GB, free: 3.18 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0005026/0.5621, allocations: 99.83 kB / 1.037 GB, free: 3.082 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.5621, allocations: 0 / 1.037 GB, free: 3.082 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002443/0.5624, allocations: 56.33 kB / 1.037 GB, free: 3.027 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002659/0.5626, allocations: 17.61 kB / 1.037 GB, free: 3.012 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00147/0.5641, allocations: 1.386 MB / 1.039 GB, free: 1.547 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003254/0.5645, allocations: 0.6926 MB / 1.039 GB, free: 0.8281 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 6.474e-05/0.5646, allocations: 7.984 kB / 1.039 GB, free: 0.8203 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.544e-05/0.5646, allocations: 23.44 kB / 1.039 GB, free: 0.8008 MB / 0.6823 GB Notification: Performance of SimCode: time 1.032e-06/0.5647, allocations: 4 kB / 1.039 GB, free: 0.7969 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02473/0.5894, allocations: 3.03 MB / 1.042 GB, free: 13.95 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000419/0.5899, allocations: 247.7 kB / 1.043 GB, free: 13.62 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.485/3.075, allocations: 6.578 kB / 1.043 GB, free: 13.62 MB / 0.698 GB