Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.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.Residential.AirConditioning.Validation.Ren2014ACLivingroom,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom,fileNamePrefix="Buildings_maint_7_0_x_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.3-maint.7.0.x/package.mo): time 1.432/1.432, allocations: 249.5 MB / 257 MB, free: 6.801 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.001178/0.001178, allocations: 176.8 kB / 316.3 MB, free: 3.234 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.574/1.574, allocations: 205.3 MB / 0.5671 GB, free: 15.85 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.001007/0.001007, allocations: 82.53 kB / 0.6714 GB, free: 4.969 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.721e-05/1.733e-05, allocations: 0 / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1977/0.1977, allocations: 106.3 MB / 0.8853 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7452/0.943, allocations: 134 MB / 1.016 GB, free: 3.387 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002563/0.9433, allocations: 84 kB / 1.016 GB, free: 3.34 MB / 0.6355 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.01023/0.9536, allocations: 3.412 MB / 1.02 GB, free: 472 kB / 0.6355 GB Notification: Performance of FrontEnd: time 1.503e-06/0.9536, allocations: 4 kB / 1.02 GB, free: 468 kB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.294e-06/0.9536, allocations: 0 / 1.02 GB, free: 468 kB / 0.6355 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.0006479/0.9543, allocations: 480.1 kB / 1.02 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.19e-05/0.9543, allocations: 8.031 kB / 1.02 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.307e-05/0.9544, allocations: 11.86 kB / 1.02 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001538/0.9545, allocations: 171 kB / 1.02 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.049e-05/0.9546, allocations: 4 kB / 1.02 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.279e-05/0.9546, allocations: 4 kB / 1.02 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001009/0.9547, allocations: 33.42 kB / 1.02 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001374/0.9549, allocations: 67.8 kB / 1.02 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.9549, allocations: 0 / 1.02 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.677e-05/0.9549, allocations: 3.984 kB / 1.02 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.735e-06/0.9549, allocations: 3.953 kB / 1.02 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005625/0.9555, allocations: 304.4 kB / 1.021 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001362/0.9556, allocations: 66.23 kB / 1.021 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.795e-05/0.9557, allocations: 32.89 kB / 1.021 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.52e-05/0.9557, allocations: 4 kB / 1.021 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001431/0.9559, allocations: 76.08 kB / 1.021 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=8): time 1.312e-06/0.9559, allocations: 0 / 1.021 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of matching and sorting (n=8): time 0.0004228/0.9563, allocations: 140.9 kB / 1.021 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.265e-05/0.9564, allocations: 55.41 kB / 1.021 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.9565, allocations: 115.9 kB / 1.021 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.819e-05/0.9565, allocations: 25.7 kB / 1.021 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.12e-05/0.9566, allocations: 103.5 kB / 1.021 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.171e-05/0.9566, allocations: 19.81 kB / 1.021 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.04e-06/0.9566, allocations: 4 kB / 1.021 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.9568, allocations: 319.1 kB / 1.022 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.247e-05/0.9568, allocations: 19.5 kB / 1.022 GB, free: 14.37 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.866e-05/0.9569, allocations: 65.36 kB / 1.022 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.273e-05/0.957, allocations: 23.88 kB / 1.022 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.957, allocations: 0 / 1.022 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001586/0.9571, allocations: 102.3 kB / 1.022 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.9572, allocations: 9.875 kB / 1.022 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.9572, allocations: 0 / 1.022 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.832e-05/0.9572, allocations: 12.11 kB / 1.022 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.213e-05/0.9573, allocations: 19.94 kB / 1.022 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.9573, allocations: 3.953 kB / 1.022 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.563e-05/0.9574, allocations: 11.98 kB / 1.022 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.29e-05/0.9574, allocations: 4 kB / 1.022 GB, free: 14.12 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.441e-05/0.9575, allocations: 107 kB / 1.022 GB, free: 14.01 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002946/0.9578, allocations: 136.5 kB / 1.022 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.526e-05/0.9578, allocations: 11.91 kB / 1.022 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.121e-05/0.9579, allocations: 12.39 kB / 1.022 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.9579, allocations: 4 kB / 1.022 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.9579, allocations: 0 / 1.022 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.9579, allocations: 0 / 1.022 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005115/0.9584, allocations: 388 kB / 1.022 GB, free: 13.49 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.9584, allocations: 0 / 1.022 GB, free: 13.49 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.521e-05/0.9585, allocations: 12 kB / 1.022 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.9585, allocations: 7.891 kB / 1.022 GB, free: 13.47 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.52e-05/0.9585, allocations: 7.984 kB / 1.023 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.9585, allocations: 0 / 1.023 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.9585, allocations: 0 / 1.023 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003303/0.9589, allocations: 226.7 kB / 1.023 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.847e-05/0.9589, allocations: 81.02 kB / 1.023 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.606e-05/0.959, allocations: 11.89 kB / 1.023 GB, free: 13.15 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.9591, allocations: 11.98 kB / 1.023 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.806e-05/0.9591, allocations: 4 kB / 1.023 GB, free: 13.13 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.386e-05/0.9592, allocations: 7.984 kB / 1.023 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.795e-05/0.9592, allocations: 95.03 kB / 1.023 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.9e-07/0.9592, allocations: 0 / 1.023 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003663/0.9596, allocations: 59.92 kB / 1.023 GB, free: 12.98 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.0009242/0.9605, allocations: 0.8512 MB / 1.024 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001444/0.9607, allocations: 59.23 kB / 1.024 GB, free: 12.1 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.9607, allocations: 0 / 1.024 GB, free: 12.1 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 6.709e-05/0.9608, allocations: 42.73 kB / 1.024 GB, free: 12.07 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002349/0.961, allocations: 16.31 kB / 1.024 GB, free: 12.06 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005037/0.9615, allocations: 177.3 kB / 1.024 GB, free: 11.86 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002812/0.9618, allocations: 0.6974 MB / 1.025 GB, free: 11.14 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.344e-05/0.9619, allocations: 0 / 1.025 GB, free: 11.14 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.9e-05/0.9619, allocations: 22.98 kB / 1.025 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of SimCode: time 2.3e-07/0.9619, allocations: 0 / 1.025 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02149/0.9834, allocations: 2.714 MB / 1.027 GB, free: 8.449 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002462/0.9837, allocations: 216.6 kB / 1.028 GB, free: 8.16 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.529/2.513, allocations: 0 / 1.028 GB, free: 8.16 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe 2>&1)