Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom,fileNamePrefix="Buildings_8_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.748/1.748, allocations: 289.7 MB / 302.2 MB, free: 2.137 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001137/0.001137, allocations: 178.3 kB / 371.6 MB, free: 3.344 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.956/1.956, allocations: 205.1 MB / 0.6309 GB, free: 11.75 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009098/0.0009098, allocations: 92.33 kB / 0.745 GB, free: 54.48 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 6.244e-05/6.269e-05, allocations: 7.984 kB / 0.8663 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2886/0.2887, allocations: 116.3 MB / 0.9799 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8335/1.122, allocations: 141 MB / 1.118 GB, free: 43.13 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002187/1.123, allocations: 84.69 kB / 1.118 GB, free: 43.1 MB / 0.7448 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.009037/1.132, allocations: 3.424 MB / 1.121 GB, free: 41.12 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.413e-06/1.132, allocations: 4 kB / 1.121 GB, free: 41.12 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.412e-06/1.132, allocations: 0 / 1.121 GB, free: 41.12 MB / 0.7448 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.0004672/1.132, allocations: 475.1 kB / 1.121 GB, free: 40.63 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/1.132, allocations: 12.03 kB / 1.122 GB, free: 40.62 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.633e-05/1.132, allocations: 30.56 kB / 1.122 GB, free: 40.58 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.221e-05/1.132, allocations: 12.69 kB / 1.122 GB, free: 40.57 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.471e-05/1.132, allocations: 177.6 kB / 1.122 GB, free: 40.36 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.134e-05/1.132, allocations: 7.875 kB / 1.122 GB, free: 40.36 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.685e-05/1.132, allocations: 4 kB / 1.122 GB, free: 40.35 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001359/1.132, allocations: 73.19 kB / 1.122 GB, free: 40.3 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.722e-06/1.132, allocations: 0 / 1.122 GB, free: 40.3 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/1.133, allocations: 7.875 kB / 1.122 GB, free: 40.29 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/1.133, allocations: 0 / 1.122 GB, free: 40.29 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.858e-05/1.133, allocations: 30.77 kB / 1.122 GB, free: 40.28 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004692/1.133, allocations: 336.7 kB / 1.122 GB, free: 39.96 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001127/1.133, allocations: 61.31 kB / 1.122 GB, free: 39.91 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.357e-05/1.133, allocations: 37.23 kB / 1.122 GB, free: 39.89 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.186e-05/1.133, allocations: 4 kB / 1.122 GB, free: 39.88 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00012/1.133, allocations: 83.34 kB / 1.122 GB, free: 39.81 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 1.873e-06/1.133, allocations: 0 / 1.122 GB, free: 39.81 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0002392/1.134, allocations: 130.6 kB / 1.122 GB, free: 39.71 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.941e-05/1.134, allocations: 55.41 kB / 1.123 GB, free: 39.65 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.87e-05/1.134, allocations: 119 kB / 1.123 GB, free: 39.54 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.158e-05/1.134, allocations: 29.7 kB / 1.123 GB, free: 39.5 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.323e-05/1.134, allocations: 106.8 kB / 1.123 GB, free: 39.41 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.71e-05/1.134, allocations: 15.83 kB / 1.123 GB, free: 39.39 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.451e-06/1.134, allocations: 4.75 kB / 1.123 GB, free: 39.39 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 4.6e-05/1.134, allocations: 321.5 kB / 1.123 GB, free: 39.08 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.322e-05/1.134, allocations: 15.88 kB / 1.123 GB, free: 39.07 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.896e-05/1.134, allocations: 61.25 kB / 1.123 GB, free: 39 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.489e-05/1.134, allocations: 30.8 kB / 1.123 GB, free: 38.98 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/1.134, allocations: 0 / 1.123 GB, free: 38.98 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001306/1.134, allocations: 107.7 kB / 1.123 GB, free: 38.89 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/1.134, allocations: 12.03 kB / 1.123 GB, free: 38.88 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/1.134, allocations: 2.391 kB / 1.123 GB, free: 38.88 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/1.134, allocations: 7.953 kB / 1.123 GB, free: 38.87 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.655e-05/1.134, allocations: 15.45 kB / 1.123 GB, free: 38.86 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/1.134, allocations: 4 kB / 1.123 GB, free: 38.85 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.017e-05/1.134, allocations: 11.09 kB / 1.123 GB, free: 38.85 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/1.134, allocations: 8 kB / 1.123 GB, free: 38.84 MB / 0.7448 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 5.18e-05/1.135, allocations: 112.9 kB / 1.123 GB, free: 38.73 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.5e-05/1.135, allocations: 8.562 kB / 1.123 GB, free: 38.72 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.608e-05/1.135, allocations: 11.83 kB / 1.123 GB, free: 38.72 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/1.135, allocations: 0 / 1.123 GB, free: 38.72 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/1.135, allocations: 7.953 kB / 1.123 GB, free: 38.71 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/1.135, allocations: 0 / 1.123 GB, free: 38.71 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003301/1.135, allocations: 412.6 kB / 1.124 GB, free: 38.34 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/1.135, allocations: 4 kB / 1.124 GB, free: 38.33 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.276e-05/1.135, allocations: 12.08 kB / 1.124 GB, free: 38.32 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/1.135, allocations: 0 / 1.124 GB, free: 38.32 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.473e-05/1.135, allocations: 4.703 kB / 1.124 GB, free: 38.32 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/1.135, allocations: 0 / 1.124 GB, free: 38.32 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/1.135, allocations: 0 / 1.124 GB, free: 38.32 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002056/1.135, allocations: 221.4 kB / 1.124 GB, free: 38.13 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.474e-05/1.135, allocations: 89.61 kB / 1.124 GB, free: 38.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.219e-05/1.135, allocations: 0.5625 kB / 1.124 GB, free: 38.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/1.135, allocations: 22.92 kB / 1.124 GB, free: 38.01 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.671e-05/1.135, allocations: 7.328 kB / 1.124 GB, free: 38 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.839e-06/1.135, allocations: 0 / 1.124 GB, free: 38 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.656e-05/1.136, allocations: 104 kB / 1.124 GB, free: 37.91 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.41e-07/1.136, allocations: 0 / 1.124 GB, free: 37.91 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002974/1.136, allocations: 58.91 kB / 1.124 GB, free: 37.86 MB / 0.7448 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.0006316/1.136, allocations: 0.8436 MB / 1.125 GB, free: 37.06 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001559/1.137, allocations: 68.64 kB / 1.125 GB, free: 37.02 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/1.137, allocations: 384 / 1.125 GB, free: 37.02 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.454e-05/1.137, allocations: 39.12 kB / 1.125 GB, free: 36.99 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000199/1.137, allocations: 15.25 kB / 1.125 GB, free: 36.98 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004723/1.137, allocations: 188.7 kB / 1.125 GB, free: 36.8 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001462/1.138, allocations: 0.6912 MB / 1.126 GB, free: 36.09 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.631e-05/1.138, allocations: 8.641 kB / 1.126 GB, free: 36.09 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.521e-05/1.138, allocations: 27.81 kB / 1.126 GB, free: 36.07 MB / 0.7448 GB Notification: Performance of SimCode: time 3.81e-07/1.138, allocations: 0.8438 kB / 1.126 GB, free: 36.07 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01375/1.151, allocations: 3.057 MB / 1.129 GB, free: 34.41 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001414/1.152, allocations: 215.7 kB / 1.129 GB, free: 34.19 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.581/2.733, allocations: 0 / 1.129 GB, free: 34.19 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe ; mkfifo Buildings_8_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe >> ../files/Buildings_8_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom.fmu > Buildings_8_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe 2>&1)