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.786/1.786, allocations: 289.9 MB / 297.4 MB, free: 6.41 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.00139/0.00139, allocations: 184.8 kB / 366.7 MB, free: 1.652 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.893/1.893, allocations: 205.3 MB / 0.626 GB, free: 7.172 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.0008616/0.0008613, allocations: 93.84 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.669e-05/1.661e-05, allocations: 0 / 0.8598 GB, free: 12.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7597/0.7597, allocations: 116.3 MB / 0.9733 GB, free: 76.3 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2395/0.9992, allocations: 140.4 MB / 1.11 GB, free: 9.758 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003167/0.9996, allocations: 80.45 kB / 1.11 GB, free: 9.68 MB / 0.7136 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.01406/1.014, allocations: 3.418 MB / 1.114 GB, free: 6.301 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.324e-06/1.014, allocations: 1.281 kB / 1.114 GB, free: 6.301 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.598e-06/1.014, allocations: 0 / 1.114 GB, free: 6.301 MB / 0.7136 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.0008396/1.015, allocations: 468 kB / 1.114 GB, free: 5.789 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.793e-05/1.015, allocations: 8.031 kB / 1.114 GB, free: 5.781 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.289e-05/1.015, allocations: 11.86 kB / 1.114 GB, free: 5.77 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002154/1.015, allocations: 183.7 kB / 1.114 GB, free: 5.551 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.9e-05/1.015, allocations: 3.984 kB / 1.114 GB, free: 5.547 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.035e-05/1.015, allocations: 6.844 kB / 1.114 GB, free: 5.543 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001453/1.015, allocations: 33.62 kB / 1.115 GB, free: 5.516 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001789/1.015, allocations: 69.66 kB / 1.115 GB, free: 5.441 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/1.015, allocations: 3.938 kB / 1.115 GB, free: 5.438 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.856e-05/1.015, allocations: 0 / 1.115 GB, free: 5.438 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/1.015, allocations: 0 / 1.115 GB, free: 5.438 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007032/1.016, allocations: 300.2 kB / 1.115 GB, free: 5.109 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001786/1.016, allocations: 63.06 kB / 1.115 GB, free: 5.039 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.74e-05/1.016, allocations: 32.02 kB / 1.115 GB, free: 5.008 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.77e-05/1.017, allocations: 4 kB / 1.115 GB, free: 5.004 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001798/1.017, allocations: 79.41 kB / 1.115 GB, free: 4.914 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 3.797e-06/1.017, allocations: 0 / 1.115 GB, free: 4.914 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.0005723/1.017, allocations: 140 kB / 1.115 GB, free: 4.773 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.704e-05/1.017, allocations: 59.36 kB / 1.115 GB, free: 4.703 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001328/1.018, allocations: 122.2 kB / 1.115 GB, free: 4.574 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.181e-05/1.018, allocations: 25.7 kB / 1.115 GB, free: 4.543 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.067e-05/1.018, allocations: 95.98 kB / 1.115 GB, free: 4.445 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.87e-05/1.018, allocations: 21.58 kB / 1.115 GB, free: 4.426 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.763e-06/1.018, allocations: 0 / 1.115 GB, free: 4.426 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001432/1.018, allocations: 318.8 kB / 1.116 GB, free: 4.105 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.19e-05/1.018, allocations: 24 kB / 1.116 GB, free: 4.082 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.883e-05/1.018, allocations: 58.02 kB / 1.116 GB, free: 4.004 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.395e-05/1.018, allocations: 23.92 kB / 1.116 GB, free: 3.98 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/1.018, allocations: 0 / 1.116 GB, free: 3.98 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002382/1.018, allocations: 101.5 kB / 1.116 GB, free: 3.875 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/1.018, allocations: 8 kB / 1.116 GB, free: 3.867 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/1.018, allocations: 3.984 kB / 1.116 GB, free: 3.863 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/1.018, allocations: 4 kB / 1.116 GB, free: 3.859 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001168/1.019, allocations: 15.98 kB / 1.116 GB, free: 3.844 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/1.019, allocations: 0 / 1.116 GB, free: 3.844 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.745e-05/1.019, allocations: 11.95 kB / 1.116 GB, free: 3.832 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.131e-05/1.019, allocations: 8.188 kB / 1.116 GB, free: 3.824 MB / 0.7136 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 0.0001029/1.019, allocations: 116.9 kB / 1.116 GB, free: 3.703 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004694/1.019, allocations: 125.6 kB / 1.116 GB, free: 3.574 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.636e-05/1.019, allocations: 7.906 kB / 1.116 GB, free: 3.566 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.356e-05/1.019, allocations: 16.61 kB / 1.116 GB, free: 3.547 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.438e-06/1.019, allocations: 7.047 kB / 1.116 GB, free: 3.543 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/1.019, allocations: 0 / 1.116 GB, free: 3.543 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/1.019, allocations: 0 / 1.116 GB, free: 3.543 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007262/1.02, allocations: 398.8 kB / 1.117 GB, free: 3.109 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/1.02, allocations: 4 kB / 1.117 GB, free: 3.105 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.686e-05/1.02, allocations: 7.984 kB / 1.117 GB, free: 3.098 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/1.02, allocations: 0 / 1.117 GB, free: 3.098 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.952e-05/1.02, allocations: 3.953 kB / 1.117 GB, free: 3.094 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/1.02, allocations: 0 / 1.117 GB, free: 3.094 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/1.02, allocations: 0 / 1.117 GB, free: 3.094 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000513/1.021, allocations: 241.8 kB / 1.117 GB, free: 2.844 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.281e-05/1.021, allocations: 85.02 kB / 1.117 GB, free: 2.742 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.32e-05/1.021, allocations: 7.922 kB / 1.117 GB, free: 2.734 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001606/1.021, allocations: 14.58 kB / 1.117 GB, free: 2.723 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.597e-05/1.021, allocations: 7.984 kB / 1.117 GB, free: 2.715 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.464e-05/1.021, allocations: 0 / 1.117 GB, free: 2.715 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 8.086e-05/1.021, allocations: 100.8 kB / 1.117 GB, free: 2.617 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.11e-07/1.021, allocations: 0 / 1.117 GB, free: 2.617 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0005471/1.022, allocations: 55.98 kB / 1.117 GB, free: 2.562 MB / 0.7136 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.001238/1.023, allocations: 0.858 MB / 1.118 GB, free: 1.699 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001995/1.023, allocations: 59.92 kB / 1.118 GB, free: 1.641 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/1.023, allocations: 0 / 1.118 GB, free: 1.641 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.274e-05/1.023, allocations: 32 kB / 1.118 GB, free: 1.609 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002947/1.024, allocations: 20.47 kB / 1.118 GB, free: 1.594 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006758/1.024, allocations: 175.1 kB / 1.118 GB, free: 1.387 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003342/1.025, allocations: 0.7005 MB / 1.119 GB, free: 0.6602 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.76e-05/1.025, allocations: 4 kB / 1.119 GB, free: 0.6562 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.622e-05/1.025, allocations: 23.42 kB / 1.119 GB, free: 0.6328 MB / 0.7136 GB Notification: Performance of SimCode: time 3.41e-07/1.025, allocations: 4 kB / 1.119 GB, free: 0.6289 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02776/1.053, allocations: 2.685 MB / 1.122 GB, free: 14 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000301/1.053, allocations: 204.2 kB / 1.122 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.712/2.765, allocations: 8.031 kB / 1.122 GB, free: 13.72 MB / 0.7292 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)