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.001146/0.001146, allocations: 118.5 kB / 17.08 MB, free: 6.008 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.0011/0.0011, allocations: 192.1 kB / 18.01 MB, free: 5.09 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.392/1.392, allocations: 222.9 MB / 241.7 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.7517/0.7517, allocations: 115.3 MB / 407.2 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001412, allocations: 61.39 kB / 0.5583 GB, free: 32.18 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1576/0.159, allocations: 76.18 MB / 0.6327 GB, free: 4.398 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Validation.HeaterFan): time 0.7682/0.9273, allocations: 312.6 MB / 0.938 GB, free: 3.418 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.04099/0.9683, allocations: 29.37 MB / 0.9667 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004062/0.9724, allocations: 83.56 kB / 0.9668 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.007742/0.9802, allocations: 2.43 MB / 0.9692 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.009892/0.9901, allocations: 3.298 MB / 0.9724 GB, free: 128 kB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00733/0.9974, allocations: 2.782 MB / 0.9751 GB, free: 13.35 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.01209/1.01, allocations: 7.553 MB / 0.9825 GB, free: 5.785 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003653/1.013, allocations: 2.082 MB / 0.9845 GB, free: 3.656 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005705/1.019, allocations: 2.449 MB / 0.9869 GB, free: 1.199 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003878/1.023, allocations: 1.527 MB / 0.9884 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0007542/1.024, allocations: 256 kB / 0.9886 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008609/1.032, allocations: 3.621 MB / 0.9922 GB, free: 11.8 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.00135/1.034, allocations: 0.8335 MB / 0.993 GB, free: 10.96 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.002241/1.036, allocations: 1.388 MB / 0.9944 GB, free: 9.566 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.01095/1.047, allocations: 5.434 MB / 0.9997 GB, free: 4.117 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/1.047, allocations: 0 / 0.9997 GB, free: 4.117 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.914e-06/1.047, allocations: 0 / 0.9997 GB, free: 4.117 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 9.172e-05/1.047, allocations: 0 / 0.9997 GB, free: 4.117 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.006685/1.054, allocations: 2.942 MB / 1.003 GB, free: 1.102 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.323e-05/1.054, allocations: 8.031 kB / 1.003 GB, free: 1.094 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006351/1.06, allocations: 0.9413 MB / 1.003 GB, free: 152 kB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01167/1.072, allocations: 5.734 MB / 1.009 GB, free: 10.36 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001178/1.072, allocations: 106.6 kB / 1.009 GB, free: 10.25 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002906/1.072, allocations: 132 kB / 1.009 GB, free: 10.12 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003488/1.076, allocations: 1.589 MB / 1.011 GB, free: 8.473 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.02e-05/1.076, allocations: 3.938 kB / 1.011 GB, free: 8.469 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001407/1.076, allocations: 52 kB / 1.011 GB, free: 8.418 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.756e-05/1.076, allocations: 54.42 kB / 1.011 GB, free: 8.363 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003344/1.079, allocations: 1.321 MB / 1.012 GB, free: 7.035 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.01159/1.091, allocations: 7.602 MB / 1.02 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002026/1.093, allocations: 0.6882 MB / 1.02 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006615/1.094, allocations: 256.7 kB / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003171/1.094, allocations: 190.2 kB / 1.021 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.477e-05/1.094, allocations: 34.56 kB / 1.021 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=35): time 2.805e-06/1.094, allocations: 0 / 1.021 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of matching and sorting (n=35): time 0.003025/1.097, allocations: 1.045 MB / 1.022 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.651e-05/1.097, allocations: 59.41 kB / 1.022 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003756/1.101, allocations: 2.364 MB / 1.024 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0001326/1.101, allocations: 37.7 kB / 1.024 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008574/1.102, allocations: 0.9651 MB / 1.025 GB, free: 9.109 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001393/1.102, allocations: 122.3 kB / 1.025 GB, free: 8.988 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003899/1.103, allocations: 254.3 kB / 1.026 GB, free: 8.73 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001348/1.103, allocations: 345.9 kB / 1.026 GB, free: 8.387 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001239/1.104, allocations: 0.5165 MB / 1.026 GB, free: 7.867 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001417/1.105, allocations: 0.7934 MB / 1.027 GB, free: 6.953 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002101/1.108, allocations: 1.124 MB / 1.028 GB, free: 5.73 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-06/1.108, allocations: 4 kB / 1.028 GB, free: 5.727 MB / 0.7794 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003641/1.111, allocations: 1.621 MB / 1.03 GB, free: 4.074 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.715e-05/1.111, allocations: 15.92 kB / 1.03 GB, free: 4.059 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.548e-05/1.111, allocations: 4 kB / 1.03 GB, free: 4.055 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001722/1.111, allocations: 36.8 kB / 1.03 GB, free: 4.016 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001176/1.113, allocations: 243.8 kB / 1.03 GB, free: 3.777 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001297/1.114, allocations: 1.568 MB / 1.032 GB, free: 2.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00224/1.116, allocations: 250.1 kB / 1.032 GB, free: 1.824 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001355/1.116, allocations: 39.98 kB / 1.032 GB, free: 1.785 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002578/1.119, allocations: 1.014 MB / 1.033 GB, free: 0.7695 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001427/1.12, allocations: 0.7854 MB / 1.034 GB, free: 15.87 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002068/1.122, allocations: 1.1 MB / 1.035 GB, free: 14.67 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.131e-06/1.122, allocations: 0 / 1.035 GB, free: 14.67 MB / 0.795 GB Notification: Performance of matching and sorting (n=138) (initialization_lambda0): time 0.003472/1.126, allocations: 1.615 MB / 1.036 GB, free: 13.02 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/1.126, allocations: 8 kB / 1.036 GB, free: 13.02 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/1.126, allocations: 8 kB / 1.036 GB, free: 13.01 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001045/1.126, allocations: 37.22 kB / 1.036 GB, free: 12.97 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001092/1.127, allocations: 235.7 kB / 1.037 GB, free: 12.74 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001113/1.128, allocations: 1.564 MB / 1.038 GB, free: 11.04 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001908/1.13, allocations: 159.4 kB / 1.038 GB, free: 10.88 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.858e-05/1.13, allocations: 43.98 kB / 1.038 GB, free: 10.84 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.0003011/1.131, allocations: 230.4 kB / 1.039 GB, free: 10.61 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000307/1.131, allocations: 209.2 kB / 1.039 GB, free: 10.4 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001971/1.133, allocations: 0.7629 MB / 1.039 GB, free: 9.602 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.465e-06/1.133, allocations: 4 kB / 1.039 GB, free: 9.598 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/1.133, allocations: 0 / 1.039 GB, free: 9.598 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/1.133, allocations: 3.984 kB / 1.039 GB, free: 9.594 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003812/1.137, allocations: 2.161 MB / 1.042 GB, free: 7.332 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/1.137, allocations: 0 / 1.042 GB, free: 7.332 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000619/1.137, allocations: 100.1 kB / 1.042 GB, free: 7.234 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.998e-05/1.138, allocations: 32.78 kB / 1.042 GB, free: 7.199 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.291e-05/1.138, allocations: 8 kB / 1.042 GB, free: 7.191 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001165/1.139, allocations: 1.565 MB / 1.043 GB, free: 5.488 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/1.139, allocations: 0 / 1.043 GB, free: 5.488 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001827/1.141, allocations: 0.8944 MB / 1.044 GB, free: 4.535 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007197/1.141, allocations: 354.4 kB / 1.044 GB, free: 4.168 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002355/1.142, allocations: 8 kB / 1.044 GB, free: 4.16 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001015/1.143, allocations: 67.92 kB / 1.045 GB, free: 4.094 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.734e-05/1.143, allocations: 27.84 kB / 1.045 GB, free: 4.066 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.994e-05/1.143, allocations: 19.98 kB / 1.045 GB, free: 4.047 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.002789/1.146, allocations: 1.639 MB / 1.046 GB, free: 2.398 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.01e-07/1.146, allocations: 0 / 1.046 GB, free: 2.398 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.002408/1.148, allocations: 0.8969 MB / 1.047 GB, free: 1.5 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.0009286/1.149, allocations: 450.7 kB / 1.047 GB, free: 1.047 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.3412/1.49, allocations: 1.812 MB / 1.049 GB, free: 325.5 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 9.348e-06/1.49, allocations: 0.8125 kB / 1.049 GB, free: 325.5 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.000787/1.491, allocations: 354.7 kB / 1.05 GB, free: 325.4 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005848/1.497, allocations: 1.238 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.006988/1.504, allocations: 3.378 MB / 1.054 GB, free: 324 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00158/1.505, allocations: 1.534 MB / 1.056 GB, free: 323.1 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006625/1.506, allocations: 145.1 kB / 1.056 GB, free: 323.1 MB / 0.795 GB Notification: Performance of SimCode: time 7.72e-07/1.506, allocations: 0 / 1.056 GB, free: 323.1 MB / 0.795 GB Notification: Performance of Templates: time 0.05804/1.564, allocations: 47.39 MB / 1.102 GB, free: 290.7 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)