Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.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_noReverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow") translateModel(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 100.3 kB / 15.05 MB, free: 1.105 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.001356/0.001356, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.415/1.415, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.754/1.754, allocations: 292.5 MB / 0.5497 GB, free: 14.61 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.0005201/0.0005202, allocations: 13.94 kB / 0.6735 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2543/0.2548, allocations: 116.3 MB / 0.7871 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow): time 0.7116/0.9665, allocations: 247.2 MB / 1.028 GB, free: 11.37 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.03556/1.002, allocations: 25.01 MB / 1.053 GB, free: 7.785 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003519/1.006, allocations: 63.31 kB / 1.053 GB, free: 7.758 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.004312/1.01, allocations: 1.029 MB / 1.054 GB, free: 6.914 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.01008/1.02, allocations: 2.869 MB / 1.057 GB, free: 4.141 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.009095/1.029, allocations: 2.867 MB / 1.06 GB, free: 1.297 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.006208/1.035, allocations: 2.558 MB / 1.062 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002197/1.038, allocations: 1.204 MB / 1.063 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004/1.042, allocations: 1.526 MB / 1.065 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001532/1.043, allocations: 0.7856 MB / 1.065 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001781/1.043, allocations: 60 kB / 1.066 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00401/1.047, allocations: 1.439 MB / 1.067 GB, free: 9.672 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0005411/1.048, allocations: 430.6 kB / 1.067 GB, free: 9.25 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.000613/1.049, allocations: 428.8 kB / 1.068 GB, free: 8.824 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.003922/1.053, allocations: 2.887 MB / 1.071 GB, free: 5.93 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/1.053, allocations: 3.938 kB / 1.071 GB, free: 5.926 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.034e-06/1.053, allocations: 0 / 1.071 GB, free: 5.926 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.652e-05/1.053, allocations: 0 / 1.071 GB, free: 5.926 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 273 * Number of variables: 273 Notification: Performance of Generate backend data structure: time 0.003611/1.056, allocations: 1.906 MB / 1.072 GB, free: 3.961 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.505e-05/1.056, allocations: 12.03 kB / 1.072 GB, free: 3.949 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003413/1.06, allocations: 0.626 MB / 1.073 GB, free: 3.32 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003376/1.063, allocations: 1.835 MB / 1.075 GB, free: 1.43 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006682/1.064, allocations: 230 kB / 1.075 GB, free: 1.203 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000163/1.064, allocations: 112 kB / 1.075 GB, free: 1.094 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002632/1.067, allocations: 1.387 MB / 1.077 GB, free: 15.59 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.629e-05/1.067, allocations: 3.938 kB / 1.077 GB, free: 15.59 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001104/1.067, allocations: 48 kB / 1.077 GB, free: 15.54 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.711e-05/1.067, allocations: 38 kB / 1.077 GB, free: 15.51 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002365/1.069, allocations: 1.058 MB / 1.078 GB, free: 14.45 MB / 0.795 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.009941/1.079, allocations: 6.919 MB / 1.084 GB, free: 7.164 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001366/1.081, allocations: 358.5 kB / 1.085 GB, free: 6.805 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 6.26e-05/1.081, allocations: 8 kB / 1.085 GB, free: 6.797 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.858e-05/1.081, allocations: 34.91 kB / 1.085 GB, free: 6.754 MB / 0.795 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000484/1.081, allocations: 90.94 kB / 1.085 GB, free: 6.664 MB / 0.795 GB Notification: Performance of pre-optimization done (n=20): time 2.084e-06/1.081, allocations: 0 / 1.085 GB, free: 6.664 MB / 0.795 GB Notification: Performance of matching and sorting (n=20): time 0.001414/1.083, allocations: 0.5307 MB / 1.085 GB, free: 6.125 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.808e-05/1.083, allocations: 51.41 kB / 1.085 GB, free: 6.062 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002221/1.085, allocations: 1.718 MB / 1.087 GB, free: 4.348 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 4.916e-05/1.085, allocations: 37.64 kB / 1.087 GB, free: 4.305 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006111/1.086, allocations: 0.8289 MB / 1.088 GB, free: 3.469 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 6.398e-05/1.086, allocations: 82.92 kB / 1.088 GB, free: 3.387 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.504e-05/1.086, allocations: 16 kB / 1.088 GB, free: 3.371 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001162/1.086, allocations: 334 kB / 1.088 GB, free: 3.039 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007276/1.087, allocations: 281.8 kB / 1.089 GB, free: 2.766 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009732/1.088, allocations: 0.6739 MB / 1.089 GB, free: 1.902 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008281/1.088, allocations: 371.6 kB / 1.09 GB, free: 1.543 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.493e-06/1.088, allocations: 7.938 kB / 1.09 GB, free: 1.535 MB / 0.795 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002057/1.09, allocations: 1.046 MB / 1.091 GB, free: 492 kB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.001994/1.092, allocations: 4.975 MB / 1.096 GB, free: 11.09 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.991e-05/1.092, allocations: 12 kB / 1.096 GB, free: 11.08 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.28e-05/1.093, allocations: 16 kB / 1.096 GB, free: 11.06 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007667/1.093, allocations: 203.7 kB / 1.096 GB, free: 10.86 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.772e-05/1.093, allocations: 27.86 kB / 1.096 GB, free: 10.84 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001438/1.095, allocations: 180.4 kB / 1.096 GB, free: 10.66 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.684e-05/1.095, allocations: 36 kB / 1.096 GB, free: 10.62 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/1.095, allocations: 4 kB / 1.096 GB, free: 10.62 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001583/1.096, allocations: 0.8098 MB / 1.097 GB, free: 9.812 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.541e-05/1.097, allocations: 15.98 kB / 1.097 GB, free: 9.797 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.344e-05/1.097, allocations: 20 kB / 1.097 GB, free: 9.777 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006052/1.097, allocations: 192.1 kB / 1.097 GB, free: 9.59 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.862e-05/1.097, allocations: 23.92 kB / 1.097 GB, free: 9.566 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009322/1.098, allocations: 124.5 kB / 1.097 GB, free: 9.445 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.456e-05/1.098, allocations: 47.98 kB / 1.097 GB, free: 9.398 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (84): * Single equations (assignments): 83 * Array equations: 1 * 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.0007873/1.099, allocations: 0.5124 MB / 1.098 GB, free: 8.875 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000172/1.099, allocations: 158 kB / 1.098 GB, free: 8.719 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009739/1.1, allocations: 443.4 kB / 1.098 GB, free: 8.273 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/1.1, allocations: 4 kB / 1.098 GB, free: 8.27 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/1.1, allocations: 3.953 kB / 1.098 GB, free: 8.266 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/1.1, allocations: 0 / 1.098 GB, free: 8.266 MB / 0.8106 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.002298/1.102, allocations: 1.584 MB / 1.1 GB, free: 6.586 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/1.102, allocations: 8.062 kB / 1.1 GB, free: 6.578 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002871/1.103, allocations: 52.2 kB / 1.1 GB, free: 6.527 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.942e-06/1.103, allocations: 8 kB / 1.1 GB, free: 6.52 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.325e-05/1.103, allocations: 8 kB / 1.1 GB, free: 6.512 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.219e-06/1.103, allocations: 7.938 kB / 1.1 GB, free: 6.504 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/1.103, allocations: 0 / 1.1 GB, free: 6.504 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009238/1.104, allocations: 0.6998 MB / 1.101 GB, free: 5.719 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003825/1.104, allocations: 294.9 kB / 1.101 GB, free: 5.41 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001553/1.104, allocations: 4 kB / 1.101 GB, free: 5.406 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007878/1.105, allocations: 83.92 kB / 1.101 GB, free: 5.324 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.278e-05/1.105, allocations: 23.92 kB / 1.101 GB, free: 5.301 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.199e-05/1.105, allocations: 11.98 kB / 1.101 GB, free: 5.289 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001688/1.107, allocations: 1.194 MB / 1.102 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.8e-07/1.107, allocations: 0 / 1.102 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001704/1.109, allocations: 0.6589 MB / 1.103 GB, free: 3.445 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (20): * Single equations (assignments): 20 * 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 Backend phase and start with SimCode phase: time 0.0005394/1.109, allocations: 291.4 kB / 1.103 GB, free: 3.152 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.002096/1.111, allocations: 0.9465 MB / 1.104 GB, free: 2.211 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/1.111, allocations: 0 / 1.104 GB, free: 2.211 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0003094/1.112, allocations: 133.7 kB / 1.104 GB, free: 2.082 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00303/1.115, allocations: 0.7994 MB / 1.105 GB, free: 1.289 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003749/1.118, allocations: 2.778 MB / 1.108 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008196/1.119, allocations: 1.326 MB / 1.109 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.001312/1.121, allocations: 338.2 kB / 1.109 GB, free: 12.76 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002214/1.121, allocations: 111.4 kB / 1.109 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of SimCode: time 4.6e-07/1.121, allocations: 0 / 1.109 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of Templates: time 0.04209/1.163, allocations: 27.27 MB / 1.136 GB, free: 1.727 MB / 0.8419 GB make -j1 -f Buildings_8_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.sim & ./Buildings_8_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe 2>&1) Environment - environmentSimulation: