Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.HeaterFan_noReverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Validation.HeaterFan_noReverseFlow") translateModel(BuildingSystems.Fluid.FMI.Validation.HeaterFan_noReverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.000833/0.000833, allocations: 98.03 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.005532/0.005532, allocations: 168.9 kB / 16.26 MB, free: 6.656 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.306/1.306, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001646/0.001646, allocations: 278.3 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.9548/0.9548, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004149/0.0004149, allocations: 16.2 kB / 0.5986 GB, free: 28.06 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1709/0.1713, allocations: 88.54 MB / 0.6851 GB, free: 15.1 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Validation.HeaterFan_noReverseFlow): time 0.6684/0.8398, allocations: 298.9 MB / 0.977 GB, free: 4.742 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.03597/0.8758, allocations: 27.32 MB / 1.004 GB, free: 9.348 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002675/0.8785, allocations: 67.62 kB / 1.004 GB, free: 9.281 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.009054/0.8876, allocations: 4.421 MB / 1.008 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.007162/0.8948, allocations: 2.738 MB / 1.011 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00584/0.9006, allocations: 2.38 MB / 1.013 GB, free: 15.73 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.01101/0.9117, allocations: 8.597 MB / 1.021 GB, free: 7.117 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002824/0.9145, allocations: 1.445 MB / 1.023 GB, free: 5.621 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004343/0.9189, allocations: 1.867 MB / 1.025 GB, free: 3.746 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003079/0.922, allocations: 1.245 MB / 1.026 GB, free: 2.5 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0004749/0.9225, allocations: 71.94 kB / 1.026 GB, free: 2.43 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00665/0.9291, allocations: 3.476 MB / 1.029 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.001096/0.9302, allocations: 0.6033 MB / 1.03 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.001963/0.9322, allocations: 1.098 MB / 1.031 GB, free: 13.23 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.007422/0.9397, allocations: 4.863 MB / 1.036 GB, free: 8.352 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.9397, allocations: 0 / 1.036 GB, free: 8.352 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.613e-06/0.9397, allocations: 0 / 1.036 GB, free: 8.352 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 5.373e-05/0.9398, allocations: 0 / 1.036 GB, free: 8.352 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: 277 * Number of variables: 277 Notification: Performance of Generate backend data structure: time 0.00391/0.9437, allocations: 2.292 MB / 1.038 GB, free: 5.988 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.202e-05/0.9437, allocations: 8.031 kB / 1.038 GB, free: 5.98 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004244/0.948, allocations: 0.7504 MB / 1.039 GB, free: 5.227 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3327/1.281, allocations: 5.538 MB / 1.044 GB, free: 282.1 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004517/1.281, allocations: 154.2 kB / 1.044 GB, free: 282.1 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002151/1.281, allocations: 110.5 kB / 1.044 GB, free: 282.1 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003229/1.285, allocations: 1.381 MB / 1.046 GB, free: 281.8 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.529e-05/1.285, allocations: 4.938 kB / 1.046 GB, free: 281.8 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001356/1.285, allocations: 47.53 kB / 1.046 GB, free: 281.8 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.779e-05/1.285, allocations: 46.91 kB / 1.046 GB, free: 281.8 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002628/1.288, allocations: 1.022 MB / 1.047 GB, free: 281.8 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.008141/1.296, allocations: 7.12 MB / 1.054 GB, free: 276.8 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008173/1.297, allocations: 318.4 kB / 1.054 GB, free: 276.6 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003416/1.297, allocations: 124.8 kB / 1.054 GB, free: 276.6 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002809/1.297, allocations: 191.2 kB / 1.054 GB, free: 276.4 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.244e-05/1.297, allocations: 36 kB / 1.054 GB, free: 276.4 MB / 0.7481 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00068/1.298, allocations: 92.62 kB / 1.055 GB, free: 276.3 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=19): time 3.196e-06/1.298, allocations: 2.297 kB / 1.055 GB, free: 276.3 MB / 0.7481 GB Notification: Performance of matching and sorting (n=19): time 0.001563/1.299, allocations: 0.5529 MB / 1.055 GB, free: 276.1 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.642e-05/1.299, allocations: 53.78 kB / 1.055 GB, free: 276 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003279/1.303, allocations: 2.257 MB / 1.057 GB, free: 275.1 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.497e-05/1.303, allocations: 32.61 kB / 1.057 GB, free: 275.1 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.000775/1.304, allocations: 0.9659 MB / 1.058 GB, free: 274.3 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 6.937e-05/1.304, allocations: 80.53 kB / 1.058 GB, free: 274.3 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001607/1.304, allocations: 126 kB / 1.059 GB, free: 274.2 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001167/1.304, allocations: 358.2 kB / 1.059 GB, free: 273.9 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009057/1.305, allocations: 457.6 kB / 1.059 GB, free: 273.7 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001072/1.306, allocations: 0.869 MB / 1.06 GB, free: 273 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00157/1.308, allocations: 1.185 MB / 1.061 GB, free: 272.2 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.445e-06/1.308, allocations: 5.094 kB / 1.061 GB, free: 272.2 MB / 0.7481 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.00266/1.31, allocations: 1.491 MB / 1.063 GB, free: 271.6 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002041/1.31, allocations: 476.1 kB / 1.063 GB, free: 271 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.825e-05/1.31, allocations: 14.08 kB / 1.063 GB, free: 271 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.205e-05/1.311, allocations: 20.97 kB / 1.063 GB, free: 271 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008375/1.311, allocations: 238.7 kB / 1.063 GB, free: 271 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.957e-05/1.311, allocations: 27.06 kB / 1.063 GB, free: 271 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001639/1.313, allocations: 155.8 kB / 1.064 GB, free: 271 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.415e-05/1.313, allocations: 50.61 kB / 1.064 GB, free: 271 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 9.047e-06/1.313, allocations: 7.375 kB / 1.064 GB, free: 271 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002152/1.315, allocations: 1.268 MB / 1.065 GB, free: 270.5 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.533e-05/1.315, allocations: 12.62 kB / 1.065 GB, free: 270.5 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/1.315, allocations: 22.69 kB / 1.065 GB, free: 270.5 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007716/1.316, allocations: 230.6 kB / 1.065 GB, free: 270.5 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.874e-05/1.316, allocations: 35.97 kB / 1.065 GB, free: 270.4 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001189/1.317, allocations: 127.2 kB / 1.065 GB, free: 270.4 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.167e-05/1.317, allocations: 50.23 kB / 1.065 GB, free: 270.4 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * 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 (118): * Single equations (assignments): 116 * 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.00109/1.319, allocations: 0.6526 MB / 1.066 GB, free: 270 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002816/1.319, allocations: 189.4 kB / 1.066 GB, free: 269.9 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002991/1.319, allocations: 168 kB / 1.066 GB, free: 269.8 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/1.319, allocations: 3.891 kB / 1.066 GB, free: 269.8 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.014e-06/1.319, allocations: 0.5312 kB / 1.066 GB, free: 269.8 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/1.319, allocations: 1.078 kB / 1.066 GB, free: 269.8 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003203/1.322, allocations: 1.957 MB / 1.068 GB, free: 268.7 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.674e-06/1.322, allocations: 4.188 kB / 1.068 GB, free: 268.7 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002884/1.323, allocations: 59.3 kB / 1.068 GB, free: 268.7 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.602e-06/1.323, allocations: 8.031 kB / 1.068 GB, free: 268.7 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.389e-05/1.323, allocations: 6.656 kB / 1.068 GB, free: 268.7 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.735e-06/1.323, allocations: 6.562 kB / 1.068 GB, free: 268.7 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/1.323, allocations: 9.531 kB / 1.068 GB, free: 268.7 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008868/1.324, allocations: 0.5951 MB / 1.069 GB, free: 268.2 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004189/1.324, allocations: 330.1 kB / 1.069 GB, free: 268 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001868/1.324, allocations: 11.95 kB / 1.069 GB, free: 268 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008185/1.325, allocations: 62.81 kB / 1.069 GB, free: 268 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.737e-05/1.325, allocations: 28.17 kB / 1.069 GB, free: 268 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.297e-05/1.325, allocations: 11.84 kB / 1.069 GB, free: 268 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.002549/1.328, allocations: 1.537 MB / 1.071 GB, free: 267.4 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.9e-07/1.328, allocations: 0 / 1.071 GB, free: 267.4 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.002853/1.331, allocations: 0.8209 MB / 1.072 GB, free: 267.2 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (19): * Single equations (assignments): 19 * 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.0009222/1.332, allocations: 445.2 kB / 1.072 GB, free: 267.1 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002873/1.334, allocations: 1.448 MB / 1.074 GB, free: 266.6 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/1.334, allocations: 5.406 kB / 1.074 GB, free: 266.6 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003545/1.335, allocations: 133.2 kB / 1.074 GB, free: 266.5 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005715/1.341, allocations: 1.008 MB / 1.075 GB, free: 266.3 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005257/1.346, allocations: 3.626 MB / 1.078 GB, free: 264.1 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000976/1.347, allocations: 1.486 MB / 1.08 GB, free: 263 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.002273/1.349, allocations: 451.7 kB / 1.08 GB, free: 262.8 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002853/1.349, allocations: 129.4 kB / 1.08 GB, free: 262.8 MB / 0.7481 GB Notification: Performance of SimCode: time 9.32e-07/1.349, allocations: 1.375 kB / 1.08 GB, free: 262.8 MB / 0.7481 GB Notification: Performance of Templates: time 0.05103/1.4, allocations: 34.98 MB / 1.114 GB, free: 233.2 MB / 0.7481 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FMI.Validation.HeaterFan_noReverseFlow.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FMI.Validation.HeaterFan_noReverseFlow.sim & ./BuildingSystems_BuildingSystems.Fluid.FMI.Validation.HeaterFan_noReverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe 2>&1)