Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FMI.Validation.HeaterFan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.FMI.Validation.HeaterFan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FMI.Validation.HeaterFan") translateModel(Buildings.Fluid.FMI.Validation.HeaterFan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FMI.Validation.HeaterFan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 97.64 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007655/0.007655, allocations: 170.1 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.821/1.821, allocations: 205.4 MB / 222.4 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.84/1.84, allocations: 292.7 MB / 0.5502 GB, free: 14.46 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005724/0.0005725, allocations: 15.06 kB / 0.6743 GB, free: 25.73 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2942/0.2948, allocations: 116.3 MB / 0.7879 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan): time 1.054/1.349, allocations: 306.3 MB / 1.087 GB, free: 9.52 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.04449/1.393, allocations: 30.29 MB / 1.117 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00448/1.398, allocations: 67.56 kB / 1.117 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.005357/1.403, allocations: 1.333 MB / 1.118 GB, free: 9.742 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.01095/1.414, allocations: 2.787 MB / 1.121 GB, free: 6.945 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.008404/1.423, allocations: 2.373 MB / 1.123 GB, free: 4.582 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.01079/1.433, allocations: 5.974 MB / 1.129 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003466/1.437, allocations: 1.618 MB / 1.13 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005823/1.443, allocations: 1.957 MB / 1.132 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00556/1.448, allocations: 1.34 MB / 1.134 GB, free: 9.625 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0004604/1.449, allocations: 68 kB / 1.134 GB, free: 9.559 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009208/1.458, allocations: 3.624 MB / 1.137 GB, free: 5.926 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.001081/1.459, allocations: 498.1 kB / 1.138 GB, free: 5.438 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.002195/1.461, allocations: 1 MB / 1.139 GB, free: 4.426 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.00925/1.471, allocations: 4.665 MB / 1.143 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/1.471, allocations: 3.938 kB / 1.143 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.777e-06/1.471, allocations: 0 / 1.143 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.234e-05/1.471, allocations: 0 / 1.143 GB, free: 15.74 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 328 * Number of variables: 328 Notification: Performance of Generate backend data structure: time 0.004365/1.475, allocations: 2.1 MB / 1.145 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.278e-05/1.475, allocations: 12.03 kB / 1.145 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00547/1.481, allocations: 0.856 MB / 1.146 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004396/1.485, allocations: 1.995 MB / 1.148 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007028/1.486, allocations: 234.4 kB / 1.148 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002521/1.486, allocations: 136 kB / 1.148 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003855/1.49, allocations: 1.661 MB / 1.15 GB, free: 8.574 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.901e-05/1.49, allocations: 4 kB / 1.15 GB, free: 8.57 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001366/1.49, allocations: 52 kB / 1.15 GB, free: 8.52 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.159e-05/1.49, allocations: 50.5 kB / 1.15 GB, free: 8.469 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003964/1.494, allocations: 1.513 MB / 1.152 GB, free: 6.949 MB / 0.8575 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01227/1.506, allocations: 7.39 MB / 1.159 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002479/1.509, allocations: 0.702 MB / 1.16 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000797/1.51, allocations: 296.4 kB / 1.16 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003254/1.51, allocations: 198.7 kB / 1.16 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.655e-05/1.51, allocations: 38.56 kB / 1.16 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009287/1.511, allocations: 98.78 kB / 1.16 GB, free: 13.67 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=37): time 5.982e-06/1.511, allocations: 3.984 kB / 1.16 GB, free: 13.67 MB / 0.8731 GB Notification: Performance of matching and sorting (n=37): time 0.003575/1.515, allocations: 1.326 MB / 1.161 GB, free: 12.25 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.097e-05/1.515, allocations: 55.41 kB / 1.162 GB, free: 12.19 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004023/1.519, allocations: 1.862 MB / 1.163 GB, free: 10.28 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.000105/1.519, allocations: 37.7 kB / 1.163 GB, free: 10.24 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008811/1.52, allocations: 0.8153 MB / 1.164 GB, free: 9.414 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001572/1.52, allocations: 134 kB / 1.164 GB, free: 9.281 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001329/1.52, allocations: 57.69 kB / 1.164 GB, free: 9.219 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001534/1.52, allocations: 325.9 kB / 1.165 GB, free: 8.895 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001338/1.522, allocations: 429 kB / 1.165 GB, free: 8.477 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00155/1.523, allocations: 0.6705 MB / 1.166 GB, free: 7.691 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002149/1.525, allocations: 0.8802 MB / 1.167 GB, free: 6.727 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.655e-06/1.525, allocations: 0 / 1.167 GB, free: 6.727 MB / 0.8731 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.003754/1.529, allocations: 1.42 MB / 1.168 GB, free: 5.254 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002665/1.529, allocations: 280.5 kB / 1.168 GB, free: 4.891 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.931e-05/1.529, allocations: 8 kB / 1.168 GB, free: 4.883 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002616/1.53, allocations: 57.69 kB / 1.168 GB, free: 4.82 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001104/1.531, allocations: 219.6 kB / 1.169 GB, free: 4.605 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002547/1.533, allocations: 2.817 MB / 1.171 GB, free: 1.516 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002478/1.536, allocations: 272.3 kB / 1.172 GB, free: 1.25 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001002/1.536, allocations: 43.92 kB / 1.172 GB, free: 1.207 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/1.536, allocations: 4 kB / 1.172 GB, free: 1.203 MB / 0.8731 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002793/1.539, allocations: 1.155 MB / 1.173 GB, free: 4 kB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.185e-05/1.539, allocations: 8.047 kB / 1.173 GB, free: 15.99 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001415/1.539, allocations: 61.64 kB / 1.173 GB, free: 15.93 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009921/1.54, allocations: 203.7 kB / 1.173 GB, free: 15.73 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002276/1.542, allocations: 2.832 MB / 1.176 GB, free: 12.63 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001904/1.544, allocations: 212.4 kB / 1.176 GB, free: 12.42 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001017/1.544, allocations: 31.98 kB / 1.176 GB, free: 12.39 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 66 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001043/1.545, allocations: 0.5298 MB / 1.176 GB, free: 11.86 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004068/1.546, allocations: 165.9 kB / 1.177 GB, free: 11.69 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002221/1.548, allocations: 0.9316 MB / 1.178 GB, free: 10.7 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/1.548, allocations: 4 kB / 1.178 GB, free: 10.7 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/1.548, allocations: 3.938 kB / 1.178 GB, free: 10.69 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/1.548, allocations: 7.984 kB / 1.178 GB, free: 10.68 MB / 0.8887 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004406/1.553, allocations: 2.178 MB / 1.18 GB, free: 8.387 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/1.553, allocations: 0 / 1.18 GB, free: 8.387 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006098/1.553, allocations: 95.98 kB / 1.18 GB, free: 8.293 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001351/1.553, allocations: 53.69 kB / 1.18 GB, free: 8.234 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.594e-05/1.553, allocations: 11.94 kB / 1.18 GB, free: 8.223 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001984/1.555, allocations: 2.829 MB / 1.183 GB, free: 5.133 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/1.555, allocations: 4.125 kB / 1.183 GB, free: 5.129 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001958/1.557, allocations: 0.9937 MB / 1.184 GB, free: 4.059 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007275/1.558, allocations: 326.8 kB / 1.184 GB, free: 3.719 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003575/1.558, allocations: 11.98 kB / 1.184 GB, free: 3.707 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001367/1.56, allocations: 139.7 kB / 1.184 GB, free: 3.57 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.164e-05/1.56, allocations: 32.05 kB / 1.184 GB, free: 3.539 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.579e-05/1.56, allocations: 23.97 kB / 1.184 GB, free: 3.516 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.002797/1.563, allocations: 1.328 MB / 1.185 GB, free: 2.164 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.9e-07/1.563, allocations: 0 / 1.185 GB, free: 2.164 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.002926/1.566, allocations: 0.7602 MB / 1.186 GB, free: 1.402 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007373/1.566, allocations: 306.9 kB / 1.186 GB, free: 1.09 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.004091/1.571, allocations: 1.734 MB / 1.188 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 5.309e-06/1.571, allocations: 1.125 kB / 1.188 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0009161/1.572, allocations: 0.509 MB / 1.189 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005277/1.577, allocations: 0.9692 MB / 1.19 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005486/1.582, allocations: 3.229 MB / 1.193 GB, free: 10.54 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001393/1.584, allocations: 1.344 MB / 1.194 GB, free: 9.168 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.002231/1.586, allocations: 382.9 kB / 1.194 GB, free: 8.789 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000471/1.586, allocations: 119.4 kB / 1.195 GB, free: 8.672 MB / 0.9044 GB Notification: Performance of SimCode: time 1.062e-06/1.586, allocations: 0 / 1.195 GB, free: 8.672 MB / 0.9044 GB Notification: Performance of Templates: time 0.06271/1.649, allocations: 34.38 MB / 1.228 GB, free: 6.688 MB / 0.9356 GB make -j1 -f Buildings_8_Buildings.Fluid.FMI.Validation.HeaterFan.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.FMI.Validation.HeaterFan.pipe ; mkfifo Buildings_8_Buildings.Fluid.FMI.Validation.HeaterFan.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FMI.Validation.HeaterFan.pipe >> ../files/Buildings_8_Buildings.Fluid.FMI.Validation.HeaterFan.sim & ./Buildings_8_Buildings.Fluid.FMI.Validation.HeaterFan -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.FMI.Validation.HeaterFan.pipe 2>&1) Environment - environmentSimulation: