Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FMI.Validation.HeaterFanPressureDriven.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.HeaterFanPressureDriven,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FMI.Validation.HeaterFanPressureDriven") translateModel(IBPSA.Fluid.FMI.Validation.HeaterFanPressureDriven,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FMI.Validation.HeaterFanPressureDriven") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009864/0.0009863, allocations: 92.95 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 179.4 kB / 16.91 MB, free: 6.645 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.398/1.398, allocations: 223.3 MB / 241 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7403/0.7403, allocations: 123 MB / 415.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003863/0.0003865, allocations: 8.531 kB / 0.4933 GB, free: 13.98 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4456/0.446, allocations: 79.28 MB / 0.5707 GB, free: 9.895 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Validation.HeaterFanPressureDriven): time 0.7578/1.204, allocations: 306.5 MB / 0.8701 GB, free: 20.86 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.03361/1.238, allocations: 29.2 MB / 0.8986 GB, free: 20.36 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003085/1.241, allocations: 70.62 kB / 0.8987 GB, free: 20.36 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.009229/1.25, allocations: 4.55 MB / 0.9031 GB, free: 20.26 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.008585/1.259, allocations: 2.849 MB / 0.9059 GB, free: 20.12 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.008032/1.267, allocations: 2.381 MB / 0.9082 GB, free: 20.04 MB / 0.6387 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1080:9-1080:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.1666666666666667}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.01143/1.278, allocations: 8.985 MB / 0.917 GB, free: 18.63 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002778/1.281, allocations: 1.629 MB / 0.9186 GB, free: 18.09 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005081/1.286, allocations: 1.945 MB / 0.9205 GB, free: 17.81 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00292/1.289, allocations: 1.377 MB / 0.9218 GB, free: 17.59 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003308/1.289, allocations: 72.25 kB / 0.9219 GB, free: 17.59 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007594/1.297, allocations: 3.84 MB / 0.9256 GB, free: 16.7 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001011/1.298, allocations: 0.6293 MB / 0.9263 GB, free: 16.52 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002026/1.3, allocations: 1.182 MB / 0.9274 GB, free: 16.35 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.00907/1.309, allocations: 5.323 MB / 0.9326 GB, free: 13.62 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/1.309, allocations: 0 / 0.9326 GB, free: 13.62 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.856e-06/1.309, allocations: 0 / 0.9326 GB, free: 13.62 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 7.919e-05/1.309, allocations: 0 / 0.9326 GB, free: 13.62 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 336 * Number of variables: 336 Notification: Performance of Generate backend data structure: time 0.00507/1.314, allocations: 2.457 MB / 0.935 GB, free: 11.47 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/1.314, allocations: 12.03 kB / 0.935 GB, free: 11.46 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005886/1.32, allocations: 0.9871 MB / 0.936 GB, free: 10.49 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009431/1.33, allocations: 5.641 MB / 0.9415 GB, free: 5.332 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003477/1.33, allocations: 170.6 kB / 0.9417 GB, free: 5.164 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002077/1.33, allocations: 140 kB / 0.9418 GB, free: 5.027 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00315/1.333, allocations: 1.625 MB / 0.9434 GB, free: 3.348 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.228e-05/1.333, allocations: 6.438 kB / 0.9434 GB, free: 3.344 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000135/1.334, allocations: 56 kB / 0.9434 GB, free: 3.289 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.948e-05/1.334, allocations: 46.55 kB / 0.9435 GB, free: 3.242 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003047/1.337, allocations: 1.382 MB / 0.9448 GB, free: 1.863 MB / 0.6387 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.01073/1.347, allocations: 7.705 MB / 0.9524 GB, free: 9.758 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002692/1.35, allocations: 0.949 MB / 0.9533 GB, free: 8.77 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001108/1.351, allocations: 374.3 kB / 0.9536 GB, free: 8.402 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003023/1.352, allocations: 198.1 kB / 0.9538 GB, free: 8.176 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/1.352, allocations: 30.56 kB / 0.9539 GB, free: 8.137 MB / 0.6544 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001025/1.353, allocations: 170.7 kB / 0.954 GB, free: 7.969 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=37): time 3.166e-06/1.353, allocations: 0 / 0.954 GB, free: 7.969 MB / 0.6544 GB Notification: Performance of matching and sorting (n=37): time 0.003569/1.356, allocations: 1.138 MB / 0.9551 GB, free: 6.824 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.551e-05/1.356, allocations: 59.34 kB / 0.9552 GB, free: 6.754 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003182/1.359, allocations: 2.156 MB / 0.9573 GB, free: 4.574 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 8.218e-05/1.36, allocations: 37.7 kB / 0.9573 GB, free: 4.531 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008648/1.36, allocations: 0.9774 MB / 0.9583 GB, free: 3.551 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001296/1.361, allocations: 137.9 kB / 0.9584 GB, free: 3.418 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001551/1.361, allocations: 121.6 kB / 0.9585 GB, free: 3.293 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001503/1.361, allocations: 353.9 kB / 0.9589 GB, free: 2.941 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001283/1.362, allocations: 0.5449 MB / 0.9594 GB, free: 2.391 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001486/1.364, allocations: 0.8295 MB / 0.9602 GB, free: 1.457 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002555/1.366, allocations: 1.251 MB / 0.9614 GB, free: 148 kB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.804e-06/1.366, allocations: 4 kB / 0.9614 GB, free: 144 kB / 0.6544 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.003506/1.37, allocations: 1.585 MB / 0.963 GB, free: 14.59 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.000212/1.37, allocations: 304.7 kB / 0.9633 GB, free: 14.2 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.636e-05/1.37, allocations: 8 kB / 0.9633 GB, free: 14.19 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.413e-05/1.37, allocations: 8 kB / 0.9633 GB, free: 14.18 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001301/1.371, allocations: 272.9 kB / 0.9635 GB, free: 13.93 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004327/1.372, allocations: 0.6146 MB / 0.9641 GB, free: 13.29 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001829/1.374, allocations: 169.6 kB / 0.9643 GB, free: 13.13 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001095/1.374, allocations: 43.98 kB / 0.9644 GB, free: 13.09 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 9.247e-06/1.374, allocations: 4 kB / 0.9644 GB, free: 13.08 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002933/1.377, allocations: 1.342 MB / 0.9657 GB, free: 11.78 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.101e-05/1.377, allocations: 12.31 kB / 0.9657 GB, free: 11.77 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/1.377, allocations: 12 kB / 0.9657 GB, free: 11.76 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001066/1.378, allocations: 245 kB / 0.9659 GB, free: 11.53 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.168e-05/1.378, allocations: 21.19 kB / 0.9659 GB, free: 11.52 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001607/1.38, allocations: 153.5 kB / 0.9661 GB, free: 11.36 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.374e-05/1.38, allocations: 43.98 kB / 0.9661 GB, free: 11.32 MB / 0.67 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 (107): * Single equations (assignments): 104 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001216/1.381, allocations: 0.6642 MB / 0.9668 GB, free: 10.66 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004203/1.381, allocations: 197.4 kB / 0.967 GB, free: 10.46 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002732/1.384, allocations: 0.8569 MB / 0.9678 GB, free: 9.598 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-05/1.384, allocations: 11.88 kB / 0.9678 GB, free: 9.586 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.83e-06/1.384, allocations: 0 / 0.9678 GB, free: 9.586 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/1.384, allocations: 10.61 kB / 0.9678 GB, free: 9.578 MB / 0.67 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.005916/1.39, allocations: 2.343 MB / 0.9701 GB, free: 7.176 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/1.39, allocations: 0 / 0.9701 GB, free: 7.176 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008079/1.391, allocations: 141.3 kB / 0.9702 GB, free: 7.043 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.234e-05/1.391, allocations: 4 kB / 0.9703 GB, free: 7.039 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.646e-05/1.391, allocations: 15.98 kB / 0.9703 GB, free: 7.023 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003329/1.391, allocations: 0.5964 MB / 0.9709 GB, free: 6.406 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/1.391, allocations: 4 kB / 0.9709 GB, free: 6.402 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002485/1.394, allocations: 0.9673 MB / 0.9718 GB, free: 5.402 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001083/1.395, allocations: 350.4 kB / 0.9721 GB, free: 5.039 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005527/1.395, allocations: 8 kB / 0.9721 GB, free: 5.031 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001631/1.397, allocations: 135.7 kB / 0.9723 GB, free: 4.898 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.467e-05/1.397, allocations: 26.59 kB / 0.9723 GB, free: 4.875 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.764e-05/1.397, allocations: 27.97 kB / 0.9723 GB, free: 4.848 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.003193/1.4, allocations: 1.48 MB / 0.9738 GB, free: 3.355 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.6e-07/1.4, allocations: 0 / 0.9738 GB, free: 3.355 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003503/1.404, allocations: 0.9005 MB / 0.9746 GB, free: 2.453 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (38): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001128/1.405, allocations: 462.9 kB / 0.9751 GB, free: 2.016 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.004664/1.41, allocations: 1.781 MB / 0.9768 GB, free: 296 kB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.093e-05/1.41, allocations: 0 / 0.9768 GB, free: 296 kB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001151/1.411, allocations: 351.9 kB / 0.9772 GB, free: 15.96 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005854/1.417, allocations: 1.085 MB / 0.9782 GB, free: 14.89 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009974/1.427, allocations: 4.289 MB / 0.9824 GB, free: 10.55 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001859/1.429, allocations: 1.548 MB / 0.9839 GB, free: 8.969 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.002737/1.431, allocations: 465.2 kB / 0.9844 GB, free: 8.512 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004618/1.432, allocations: 147.3 kB / 0.9845 GB, free: 8.367 MB / 0.6856 GB Notification: Performance of SimCode: time 1.263e-06/1.432, allocations: 0 / 0.9845 GB, free: 8.367 MB / 0.6856 GB Notification: Performance of Templates: time 0.06659/1.499, allocations: 38.43 MB / 1.022 GB, free: 2.453 MB / 0.7169 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.FMI.Validation.HeaterFanPressureDriven.makefile (rm -f IBPSA_latest_IBPSA.Fluid.FMI.Validation.HeaterFanPressureDriven.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FMI.Validation.HeaterFanPressureDriven.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FMI.Validation.HeaterFanPressureDriven.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FMI.Validation.HeaterFanPressureDriven.sim & ./IBPSA_latest_IBPSA.Fluid.FMI.Validation.HeaterFanPressureDriven -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.FMI.Validation.HeaterFanPressureDriven.pipe 2>&1)