Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.FMI.Validation.HeaterFanPressureDriven,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Validation.HeaterFanPressureDriven") translateModel(BuildingSystems.Fluid.FMI.Validation.HeaterFanPressureDriven,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.0008091/0.0008092, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.004634/0.004634, allocations: 169.8 kB / 16.27 MB, free: 6.652 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.316/1.316, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001656/0.001656, allocations: 266.7 kB / 291.7 MB, free: 1.887 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9594/0.9594, allocations: 169.5 MB / 0.5004 GB, free: 14.13 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000428/0.000428, allocations: 12.3 kB / 0.5986 GB, free: 28.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1618/0.1622, allocations: 88.55 MB / 0.6851 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Validation.HeaterFanPressureDriven): time 0.6568/0.8191, allocations: 306.5 MB / 0.9845 GB, free: 13.03 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.03485/0.854, allocations: 29.22 MB / 1.013 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003455/0.8575, allocations: 67.62 kB / 1.013 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.009944/0.8675, allocations: 4.557 MB / 1.018 GB, free: 11.09 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.008243/0.8757, allocations: 2.851 MB / 1.02 GB, free: 8.23 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.006126/0.8819, allocations: 2.371 MB / 1.023 GB, free: 5.867 MB / 0.7325 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.01235/0.8942, allocations: 8.991 MB / 1.031 GB, free: 12.86 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002933/0.8972, allocations: 1.631 MB / 1.033 GB, free: 11.18 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005062/0.9023, allocations: 1.953 MB / 1.035 GB, free: 9.223 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002916/0.9052, allocations: 1.377 MB / 1.036 GB, free: 7.844 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0002756/0.9055, allocations: 68 kB / 1.036 GB, free: 7.777 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007095/0.9126, allocations: 3.842 MB / 1.04 GB, free: 3.926 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0008893/0.9135, allocations: 0.6266 MB / 1.041 GB, free: 3.297 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.001587/0.9151, allocations: 1.179 MB / 1.042 GB, free: 2.105 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.4237/1.339, allocations: 5.316 MB / 1.047 GB, free: 41.01 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 1.007e-05/1.339, allocations: 0 / 1.047 GB, free: 41.01 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.946e-06/1.339, allocations: 1.75 kB / 1.047 GB, free: 41.01 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.000152/1.339, allocations: 1.031 kB / 1.047 GB, free: 41.01 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: 336 * Number of variables: 336 Notification: Performance of Generate backend data structure: time 0.00694/1.346, allocations: 2.453 MB / 1.049 GB, free: 39.82 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/1.346, allocations: 12.03 kB / 1.049 GB, free: 39.82 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006778/1.353, allocations: 0.9906 MB / 1.05 GB, free: 39.69 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01128/1.364, allocations: 5.637 MB / 1.056 GB, free: 39.12 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004122/1.365, allocations: 170.8 kB / 1.056 GB, free: 39.11 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003322/1.365, allocations: 135.2 kB / 1.056 GB, free: 39.11 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003532/1.368, allocations: 1.628 MB / 1.058 GB, free: 38.91 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.461e-05/1.369, allocations: 2.438 kB / 1.058 GB, free: 38.91 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001458/1.369, allocations: 53.16 kB / 1.058 GB, free: 38.91 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.259e-05/1.369, allocations: 51.36 kB / 1.058 GB, free: 38.91 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00344/1.372, allocations: 1.384 MB / 1.059 GB, free: 38.88 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.0117/1.384, allocations: 7.688 MB / 1.067 GB, free: 35.16 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003596/1.388, allocations: 0.945 MB / 1.068 GB, free: 34.92 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001213/1.389, allocations: 374.8 kB / 1.068 GB, free: 34.9 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002878/1.389, allocations: 194 kB / 1.068 GB, free: 34.71 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.127e-05/1.389, allocations: 32.38 kB / 1.068 GB, free: 34.67 MB / 0.7481 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001612/1.391, allocations: 173.5 kB / 1.068 GB, free: 34.6 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=37): time 3.326e-06/1.391, allocations: 0 / 1.068 GB, free: 34.6 MB / 0.7481 GB Notification: Performance of matching and sorting (n=37): time 0.004167/1.395, allocations: 1.14 MB / 1.069 GB, free: 34.42 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.406e-05/1.395, allocations: 58.16 kB / 1.07 GB, free: 34.36 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003566/1.399, allocations: 2.153 MB / 1.072 GB, free: 34.12 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 9.592e-05/1.399, allocations: 36.2 kB / 1.072 GB, free: 34.09 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007318/1.399, allocations: 0.9788 MB / 1.073 GB, free: 33.8 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001336/1.4, allocations: 142.1 kB / 1.073 GB, free: 33.71 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001554/1.4, allocations: 120.1 kB / 1.073 GB, free: 33.7 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 8.949e-05/1.4, allocations: 354.5 kB / 1.073 GB, free: 33.39 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001472/1.401, allocations: 0.5448 MB / 1.074 GB, free: 33.38 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001387/1.403, allocations: 0.823 MB / 1.075 GB, free: 33.07 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002374/1.405, allocations: 1.251 MB / 1.076 GB, free: 32.77 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.083e-06/1.405, allocations: 2.812 kB / 1.076 GB, free: 32.77 MB / 0.7481 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.003365/1.408, allocations: 1.578 MB / 1.077 GB, free: 32.59 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001587/1.409, allocations: 315 kB / 1.078 GB, free: 32.23 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.45e-05/1.409, allocations: 10.14 kB / 1.078 GB, free: 32.23 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.654e-05/1.409, allocations: 14.86 kB / 1.078 GB, free: 32.23 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001282/1.41, allocations: 265.5 kB / 1.078 GB, free: 32.22 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000318/1.41, allocations: 0.6135 MB / 1.079 GB, free: 31.64 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002202/1.413, allocations: 169.5 kB / 1.079 GB, free: 31.62 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.883e-05/1.413, allocations: 44.02 kB / 1.079 GB, free: 31.61 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 9.317e-06/1.413, allocations: 2.438 kB / 1.079 GB, free: 31.61 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002752/1.415, allocations: 1.354 MB / 1.08 GB, free: 31.57 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/1.415, allocations: 12.52 kB / 1.08 GB, free: 31.57 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/1.415, allocations: 12.72 kB / 1.08 GB, free: 31.57 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009891/1.416, allocations: 244.6 kB / 1.08 GB, free: 31.56 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.644e-05/1.416, allocations: 20.84 kB / 1.08 GB, free: 31.56 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00193/1.418, allocations: 166.8 kB / 1.08 GB, free: 31.54 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.139e-05/1.418, allocations: 39.97 kB / 1.081 GB, free: 31.54 MB / 0.7481 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.001391/1.42, allocations: 0.6521 MB / 1.081 GB, free: 31.34 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004181/1.42, allocations: 200 kB / 1.081 GB, free: 31.23 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002456/1.423, allocations: 0.8585 MB / 1.082 GB, free: 31.15 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/1.423, allocations: 8.25 kB / 1.082 GB, free: 31.15 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/1.423, allocations: 5.75 kB / 1.082 GB, free: 31.14 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/1.423, allocations: 0 / 1.082 GB, free: 31.14 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 postOpt removeSimpleEquations (simulation): time 0.004904/1.428, allocations: 2.347 MB / 1.084 GB, free: 30.73 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/1.428, allocations: 0 / 1.084 GB, free: 30.73 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007925/1.429, allocations: 142.2 kB / 1.085 GB, free: 30.73 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.736e-06/1.429, allocations: 7.031 kB / 1.085 GB, free: 30.73 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.089e-05/1.429, allocations: 13.3 kB / 1.085 GB, free: 30.73 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002346/1.429, allocations: 0.6016 MB / 1.085 GB, free: 30.14 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/1.429, allocations: 4.75 kB / 1.085 GB, free: 30.14 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002394/1.431, allocations: 0.9636 MB / 1.086 GB, free: 29.82 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009752/1.432, allocations: 360.6 kB / 1.087 GB, free: 29.61 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002296/1.432, allocations: 5.188 kB / 1.087 GB, free: 29.61 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001215/1.434, allocations: 133 kB / 1.087 GB, free: 29.59 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.027e-05/1.434, allocations: 22.58 kB / 1.087 GB, free: 29.59 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-05/1.434, allocations: 21.28 kB / 1.087 GB, free: 29.59 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.002368/1.436, allocations: 1.483 MB / 1.088 GB, free: 29.45 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.11e-07/1.436, allocations: 0 / 1.088 GB, free: 29.45 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.002823/1.439, allocations: 0.8963 MB / 1.089 GB, free: 29.34 MB / 0.7481 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.001108/1.44, allocations: 456.4 kB / 1.089 GB, free: 29.2 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.004454/1.445, allocations: 1.782 MB / 1.091 GB, free: 29.16 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/1.445, allocations: 0 / 1.091 GB, free: 29.16 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001004/1.446, allocations: 354.4 kB / 1.092 GB, free: 29.14 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005415/1.451, allocations: 1.095 MB / 1.093 GB, free: 29.06 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008148/1.459, allocations: 4.29 MB / 1.097 GB, free: 27.12 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009693/1.46, allocations: 1.54 MB / 1.098 GB, free: 26.37 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.002523/1.463, allocations: 474.4 kB / 1.099 GB, free: 26.25 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003437/1.463, allocations: 133.1 kB / 1.099 GB, free: 26.24 MB / 0.7481 GB Notification: Performance of SimCode: time 1.193e-06/1.463, allocations: 0 / 1.099 GB, free: 26.24 MB / 0.7481 GB Notification: Performance of Templates: time 0.05866/1.522, allocations: 38.46 MB / 1.136 GB, free: 8.922 MB / 0.7481 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FMI.Validation.HeaterFanPressureDriven.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.FMI.Validation.HeaterFanPressureDriven.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FMI.Validation.HeaterFanPressureDriven.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FMI.Validation.HeaterFanPressureDriven.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FMI.Validation.HeaterFanPressureDriven.sim & ./BuildingSystems_BuildingSystems.Fluid.FMI.Validation.HeaterFanPressureDriven -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FMI.Validation.HeaterFanPressureDriven.pipe 2>&1)