Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 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_noReverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FMI.Validation.HeaterFan_noReverseFlow") translateModel(IBPSA.Fluid.FMI.Validation.HeaterFan_noReverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001157/0.001157, allocations: 108.8 kB / 16.41 MB, free: 6.473 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.001041/0.001041, allocations: 189.2 kB / 17.34 MB, free: 5.754 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.273/1.273, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.683/0.683, allocations: 115.3 MB / 406.5 MB, free: 6.113 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001098/0.001098, allocations: 65.39 kB / 0.5577 GB, free: 32.24 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1278, allocations: 76.19 MB / 0.6321 GB, free: 4.41 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Validation.HeaterFan_noReverseFlow): time 0.6509/0.7787, allocations: 304.8 MB / 0.9297 GB, free: 11.3 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02992/0.8087, allocations: 27.45 MB / 0.9566 GB, free: 15.76 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003177/0.8119, allocations: 75.62 kB / 0.9566 GB, free: 15.69 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.005397/0.8173, allocations: 2.215 MB / 0.9588 GB, free: 13.46 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.007507/0.8249, allocations: 3.064 MB / 0.9618 GB, free: 10.39 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.006636/0.8315, allocations: 2.752 MB / 0.9645 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.009526/0.841, allocations: 7.253 MB / 0.9715 GB, free: 396 kB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002333/0.8434, allocations: 1.828 MB / 0.9733 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003977/0.8474, allocations: 2.277 MB / 0.9756 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001963/0.8494, allocations: 1.348 MB / 0.9769 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0002646/0.8496, allocations: 216 kB / 0.9771 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005106/0.8548, allocations: 3.212 MB / 0.9802 GB, free: 7.457 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0006047/0.8554, allocations: 0.7634 MB / 0.981 GB, free: 6.691 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001079/0.8565, allocations: 1.26 MB / 0.9822 GB, free: 5.426 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.005482/0.8619, allocations: 4.916 MB / 0.987 GB, free: 0.4961 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.862, allocations: 4 kB / 0.987 GB, free: 0.4922 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.453e-06/0.862, allocations: 0 / 0.987 GB, free: 0.4922 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.741e-05/0.862, allocations: 0 / 0.987 GB, free: 0.4922 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 277 * Number of variables: 277 Notification: Performance of Generate backend data structure: time 0.003796/0.8658, allocations: 2.735 MB / 0.9897 GB, free: 13.68 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.8658, allocations: 8.031 kB / 0.9897 GB, free: 13.68 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003981/0.8698, allocations: 0.7192 MB / 0.9904 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008414/0.8783, allocations: 5.644 MB / 0.9959 GB, free: 7.254 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.814e-05/0.8783, allocations: 86.19 kB / 0.996 GB, free: 7.168 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001381/0.8785, allocations: 116 kB / 0.9961 GB, free: 7.055 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002305/0.8808, allocations: 1.402 MB / 0.9975 GB, free: 5.512 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.108e-05/0.8808, allocations: 0 / 0.9975 GB, free: 5.512 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001049/0.8809, allocations: 52 kB / 0.9975 GB, free: 5.461 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.965e-05/0.881, allocations: 45.94 kB / 0.9975 GB, free: 5.414 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002073/0.8831, allocations: 0.9717 MB / 0.9985 GB, free: 4.441 MB / 0.7481 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.00726/0.8903, allocations: 7.672 MB / 1.006 GB, free: 12.36 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008097/0.8912, allocations: 371.7 kB / 1.006 GB, free: 11.97 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003007/0.8915, allocations: 124.8 kB / 1.006 GB, free: 11.84 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000272/0.8918, allocations: 186.2 kB / 1.007 GB, free: 11.62 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.531e-05/0.8918, allocations: 34.55 kB / 1.007 GB, free: 11.58 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=18): time 1.483e-06/0.8918, allocations: 0 / 1.007 GB, free: 11.58 MB / 0.7637 GB Notification: Performance of matching and sorting (n=18): time 0.001378/0.8932, allocations: 0.5242 MB / 1.007 GB, free: 11.05 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.351e-05/0.8932, allocations: 59.39 kB / 1.007 GB, free: 10.98 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002745/0.896, allocations: 2.272 MB / 1.009 GB, free: 8.688 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 4.203e-05/0.896, allocations: 33.7 kB / 1.009 GB, free: 8.648 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007192/0.8968, allocations: 0.9823 MB / 1.01 GB, free: 7.652 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 5.891e-05/0.8968, allocations: 75.09 kB / 1.011 GB, free: 7.578 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003235/0.8972, allocations: 278.2 kB / 1.011 GB, free: 7.297 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.8973, allocations: 357.9 kB / 1.011 GB, free: 6.941 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008168/0.8981, allocations: 456.9 kB / 1.012 GB, free: 6.492 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001098/0.8992, allocations: 0.8997 MB / 1.012 GB, free: 5.375 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001557/0.9008, allocations: 1.205 MB / 1.014 GB, free: 3.98 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.743e-06/0.9008, allocations: 7.938 kB / 1.014 GB, free: 3.973 MB / 0.7637 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.002361/0.9032, allocations: 1.498 MB / 1.015 GB, free: 2.465 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.9032, allocations: 12 kB / 1.015 GB, free: 2.453 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.404e-05/0.9032, allocations: 12 kB / 1.015 GB, free: 2.441 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.345e-05/0.9032, allocations: 20 kB / 1.015 GB, free: 2.422 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00083/0.9041, allocations: 252.1 kB / 1.015 GB, free: 2.176 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.337e-05/0.9041, allocations: 31.86 kB / 1.015 GB, free: 2.145 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001167/0.9053, allocations: 214.1 kB / 1.016 GB, free: 1.934 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.622e-05/0.9054, allocations: 55.98 kB / 1.016 GB, free: 1.879 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001308/0.9067, allocations: 0.9317 MB / 1.017 GB, free: 0.9414 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001117/0.9078, allocations: 0.8841 MB / 1.017 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002008/0.9098, allocations: 1.203 MB / 1.019 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.697e-06/0.9099, allocations: 7.938 kB / 1.019 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of matching and sorting (n=155) (initialization_lambda0): time 0.00316/0.913, allocations: 1.489 MB / 1.02 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.219e-05/0.9131, allocations: 15.98 kB / 1.02 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.791e-05/0.9131, allocations: 15.94 kB / 1.02 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.528e-05/0.9131, allocations: 20 kB / 1.02 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008521/0.914, allocations: 239.9 kB / 1.02 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.843e-05/0.914, allocations: 27.88 kB / 1.02 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001722/0.9158, allocations: 135.9 kB / 1.021 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.891e-05/0.9159, allocations: 55.97 kB / 1.021 GB, free: 12.45 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 64 * 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 (122): * Single equations (assignments): 120 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004211/0.9163, allocations: 247.8 kB / 1.021 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002514/0.9166, allocations: 197.4 kB / 1.021 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000593/0.9172, allocations: 172 kB / 1.021 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-06/0.9172, allocations: 0 / 1.021 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.287e-06/0.9172, allocations: 7.938 kB / 1.021 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.543e-06/0.9172, allocations: 3.938 kB / 1.021 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003098/0.9203, allocations: 1.862 MB / 1.023 GB, free: 9.844 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/0.9203, allocations: 4 kB / 1.023 GB, free: 9.84 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002772/0.9206, allocations: 55.89 kB / 1.023 GB, free: 9.785 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.341e-06/0.9206, allocations: 4 kB / 1.023 GB, free: 9.781 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.303e-05/0.9206, allocations: 8 kB / 1.023 GB, free: 9.773 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.224e-06/0.9207, allocations: 7.938 kB / 1.023 GB, free: 9.766 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/0.9207, allocations: 8.188 kB / 1.023 GB, free: 9.758 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008735/0.9215, allocations: 0.5772 MB / 1.024 GB, free: 9.109 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004067/0.922, allocations: 330.3 kB / 1.024 GB, free: 8.766 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001989/0.9222, allocations: 12 kB / 1.024 GB, free: 8.754 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007479/0.9229, allocations: 47.94 kB / 1.024 GB, free: 8.707 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.723e-05/0.923, allocations: 23.86 kB / 1.024 GB, free: 8.684 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-05/0.923, allocations: 16 kB / 1.024 GB, free: 8.668 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.002001/0.925, allocations: 1.547 MB / 1.026 GB, free: 7.109 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.7e-07/0.925, allocations: 0 / 1.026 GB, free: 7.109 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.001866/0.9269, allocations: 0.8153 MB / 1.026 GB, free: 6.293 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * 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 (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000736/0.9276, allocations: 443.3 kB / 1.027 GB, free: 5.852 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.00241/0.93, allocations: 1.439 MB / 1.028 GB, free: 4.418 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.9301, allocations: 4 kB / 1.028 GB, free: 4.414 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003088/0.9304, allocations: 121.7 kB / 1.028 GB, free: 4.297 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003673/0.9341, allocations: 1.083 MB / 1.029 GB, free: 3.242 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003956/0.938, allocations: 2.983 MB / 1.032 GB, free: 172 kB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001104/0.9391, allocations: 1.485 MB / 1.034 GB, free: 14.65 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.001515/0.9407, allocations: 460.9 kB / 1.034 GB, free: 14.2 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002417/0.9409, allocations: 123.4 kB / 1.034 GB, free: 14.08 MB / 0.795 GB Notification: Performance of SimCode: time 5.81e-07/0.9409, allocations: 4 kB / 1.034 GB, free: 14.07 MB / 0.795 GB Notification: Performance of Templates: time 0.3654/1.306, allocations: 36.1 MB / 1.07 GB, free: 315.7 MB / 0.795 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.FMI.Validation.HeaterFan_noReverseFlow.makefile (rm -f IBPSA_latest_IBPSA.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FMI.Validation.HeaterFan_noReverseFlow.sim & ./IBPSA_latest_IBPSA.Fluid.FMI.Validation.HeaterFan_noReverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe 2>&1)