Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Fluid.FMI.Validation.HeaterFan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FMI.Validation.HeaterFan") translateModel(IBPSA.Fluid.FMI.Validation.HeaterFan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001225/0.001225, allocations: 117 kB / 17.09 MB, free: 5.969 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.001229/0.001229, allocations: 196.6 kB / 18.02 MB, free: 5.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.382/1.382, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7377/0.7377, allocations: 115.3 MB / 407.2 MB, free: 6.168 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001555/0.001555, allocations: 63.44 kB / 0.5583 GB, free: 32.5 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1617/0.1633, allocations: 76.18 MB / 0.6327 GB, free: 4.5 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Validation.HeaterFan): time 0.7256/0.8889, allocations: 312.7 MB / 0.938 GB, free: 3.508 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.04098/0.9299, allocations: 29.36 MB / 0.9667 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005658/0.9356, allocations: 83.56 kB / 0.9668 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.007846/0.9435, allocations: 2.386 MB / 0.9691 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.009796/0.9533, allocations: 3.181 MB / 0.9722 GB, free: 388 kB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.007624/0.961, allocations: 2.753 MB / 0.9749 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.01271/0.9737, allocations: 7.552 MB / 0.9823 GB, free: 6.074 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004765/0.9785, allocations: 2.078 MB / 0.9843 GB, free: 3.949 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006231/0.9847, allocations: 2.422 MB / 0.9867 GB, free: 1.52 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003714/0.9885, allocations: 1.52 MB / 0.9882 GB, free: 0 / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0008906/0.9894, allocations: 252 kB / 0.9884 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008659/0.9981, allocations: 3.609 MB / 0.9919 GB, free: 12.14 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.001427/0.9995, allocations: 0.8336 MB / 0.9928 GB, free: 11.3 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.003258/1.003, allocations: 1.388 MB / 0.9941 GB, free: 9.906 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.012/1.015, allocations: 5.434 MB / 0.9994 GB, free: 4.457 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/1.015, allocations: 0 / 0.9994 GB, free: 4.457 MB / 0.7481 GB Notification: Performance of FrontEnd: time 3.717e-06/1.015, allocations: 0 / 0.9994 GB, free: 4.457 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0001453/1.015, allocations: 3.938 kB / 0.9994 GB, free: 4.453 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 332 * Number of variables: 332 Notification: Performance of Generate backend data structure: time 0.008287/1.023, allocations: 2.942 MB / 1.002 GB, free: 1.438 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.493e-05/1.023, allocations: 8.031 kB / 1.002 GB, free: 1.43 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006615/1.03, allocations: 0.9297 MB / 1.003 GB, free: 0.4961 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01251/1.043, allocations: 5.741 MB / 1.009 GB, free: 10.7 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001509/1.043, allocations: 106.6 kB / 1.009 GB, free: 10.6 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004628/1.043, allocations: 136 kB / 1.009 GB, free: 10.46 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005025/1.048, allocations: 1.582 MB / 1.011 GB, free: 8.816 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.365e-05/1.048, allocations: 7.875 kB / 1.011 GB, free: 8.809 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002316/1.049, allocations: 52 kB / 1.011 GB, free: 8.758 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.719e-05/1.049, allocations: 54.38 kB / 1.011 GB, free: 8.703 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003974/1.053, allocations: 1.329 MB / 1.012 GB, free: 7.367 MB / 0.7637 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.0128/1.065, allocations: 7.598 MB / 1.019 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002095/1.068, allocations: 0.6829 MB / 1.02 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006623/1.068, allocations: 255.9 kB / 1.02 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003149/1.069, allocations: 190.2 kB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.323e-05/1.069, allocations: 47.03 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=35): time 2.765e-06/1.069, allocations: 0 / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of matching and sorting (n=35): time 0.003248/1.072, allocations: 1.034 MB / 1.022 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.501e-05/1.072, allocations: 63.39 kB / 1.022 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004591/1.077, allocations: 2.364 MB / 1.024 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 8.676e-05/1.077, allocations: 33.7 kB / 1.024 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.001019/1.078, allocations: 0.9651 MB / 1.025 GB, free: 9.449 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001414/1.078, allocations: 122.3 kB / 1.025 GB, free: 9.328 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004817/1.078, allocations: 258.3 kB / 1.025 GB, free: 9.066 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000145/1.078, allocations: 345.9 kB / 1.026 GB, free: 8.723 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001244/1.08, allocations: 0.5203 MB / 1.026 GB, free: 8.199 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001496/1.081, allocations: 0.7934 MB / 1.027 GB, free: 7.285 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002312/1.084, allocations: 1.116 MB / 1.028 GB, free: 6.07 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.226e-05/1.084, allocations: 8 kB / 1.028 GB, free: 6.062 MB / 0.7794 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003672/1.087, allocations: 1.621 MB / 1.03 GB, free: 4.41 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.746e-05/1.087, allocations: 15.88 kB / 1.03 GB, free: 4.395 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.711e-05/1.087, allocations: 8 kB / 1.03 GB, free: 4.387 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000181/1.088, allocations: 32.84 kB / 1.03 GB, free: 4.352 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001162/1.089, allocations: 243.9 kB / 1.03 GB, free: 4.113 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001449/1.09, allocations: 1.572 MB / 1.031 GB, free: 2.402 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002065/1.092, allocations: 250.1 kB / 1.032 GB, free: 2.156 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001105/1.092, allocations: 35.98 kB / 1.032 GB, free: 2.121 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002233/1.095, allocations: 1.022 MB / 1.033 GB, free: 1.098 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001349/1.096, allocations: 0.7736 MB / 1.033 GB, free: 212 kB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002019/1.098, allocations: 1.1 MB / 1.034 GB, free: 15.01 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.923e-06/1.098, allocations: 4 kB / 1.034 GB, free: 15 MB / 0.795 GB Notification: Performance of matching and sorting (n=138) (initialization_lambda0): time 0.003574/1.102, allocations: 1.607 MB / 1.036 GB, free: 13.36 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/1.102, allocations: 8 kB / 1.036 GB, free: 13.36 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.6e-05/1.102, allocations: 8 kB / 1.036 GB, free: 13.35 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001061/1.102, allocations: 33.22 kB / 1.036 GB, free: 13.31 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001111/1.103, allocations: 239.7 kB / 1.036 GB, free: 13.08 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001296/1.104, allocations: 1.564 MB / 1.038 GB, free: 11.38 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002022/1.106, allocations: 163.4 kB / 1.038 GB, free: 11.21 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001046/1.106, allocations: 43.92 kB / 1.038 GB, free: 11.17 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (103): * Single equations (assignments): 100 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003765/1.107, allocations: 232 kB / 1.038 GB, free: 10.94 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006583/1.107, allocations: 209.2 kB / 1.038 GB, free: 10.73 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002148/1.11, allocations: 0.7629 MB / 1.039 GB, free: 9.934 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/1.11, allocations: 4 kB / 1.039 GB, free: 9.93 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/1.11, allocations: 0 / 1.039 GB, free: 9.93 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.674e-06/1.11, allocations: 3.984 kB / 1.039 GB, free: 9.926 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004777/1.114, allocations: 2.158 MB / 1.041 GB, free: 7.672 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/1.114, allocations: 4 kB / 1.041 GB, free: 7.668 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006375/1.115, allocations: 100.1 kB / 1.041 GB, free: 7.57 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001027/1.115, allocations: 32.78 kB / 1.041 GB, free: 7.535 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.008e-05/1.115, allocations: 11.94 kB / 1.041 GB, free: 7.523 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001127/1.116, allocations: 1.558 MB / 1.043 GB, free: 5.828 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/1.116, allocations: 4 kB / 1.043 GB, free: 5.824 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001914/1.118, allocations: 0.8889 MB / 1.044 GB, free: 4.875 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008837/1.119, allocations: 354.3 kB / 1.044 GB, free: 4.508 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005144/1.12, allocations: 8 kB / 1.044 GB, free: 4.5 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001495/1.121, allocations: 67.92 kB / 1.044 GB, free: 4.434 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.976e-05/1.121, allocations: 31.84 kB / 1.044 GB, free: 4.402 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.463e-05/1.121, allocations: 19.98 kB / 1.044 GB, free: 4.383 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.004611/1.126, allocations: 1.639 MB / 1.046 GB, free: 2.734 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.7e-07/1.126, allocations: 4 kB / 1.046 GB, free: 2.73 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.003785/1.13, allocations: 0.8891 MB / 1.047 GB, free: 1.84 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.001582/1.131, allocations: 446.8 kB / 1.047 GB, free: 1.391 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.335/1.466, allocations: 1.818 MB / 1.049 GB, free: 325.6 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 9.819e-06/1.466, allocations: 0.5938 kB / 1.049 GB, free: 325.6 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0008733/1.467, allocations: 353.7 kB / 1.049 GB, free: 325.5 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005708/1.473, allocations: 1.246 MB / 1.051 GB, free: 325.3 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00595/1.479, allocations: 3.37 MB / 1.054 GB, free: 324.1 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001336/1.48, allocations: 1.538 MB / 1.055 GB, free: 323.2 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006864/1.481, allocations: 150.2 kB / 1.056 GB, free: 323.2 MB / 0.795 GB Notification: Performance of SimCode: time 6.91e-07/1.481, allocations: 0 / 1.056 GB, free: 323.2 MB / 0.795 GB Notification: Performance of Templates: time 0.0615/1.543, allocations: 47.39 MB / 1.102 GB, free: 291 MB / 0.795 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.FMI.Validation.HeaterFan.makefile (rm -f IBPSA_latest_IBPSA.Fluid.FMI.Validation.HeaterFan.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FMI.Validation.HeaterFan.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FMI.Validation.HeaterFan.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FMI.Validation.HeaterFan.sim & ./IBPSA_latest_IBPSA.Fluid.FMI.Validation.HeaterFan -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.FMI.Validation.HeaterFan.pipe 2>&1)