Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Validation.HeaterFan") translateModel(BuildingSystems.Fluid.FMI.Validation.HeaterFan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.000792/0.0007918, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.005345/0.005345, allocations: 171.4 kB / 16.26 MB, free: 6.613 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.328/1.328, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001731/0.001731, allocations: 278.6 kB / 291.7 MB, free: 1.852 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.951/0.951, allocations: 169.5 MB / 0.5004 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004426/0.0004427, allocations: 11.38 kB / 0.5986 GB, free: 28.21 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1647/0.1651, allocations: 88.55 MB / 0.6851 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Validation.HeaterFan): time 0.6906/0.8557, allocations: 306.6 MB / 0.9846 GB, free: 12.93 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.03969/0.8955, allocations: 29.2 MB / 1.013 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003934/0.8995, allocations: 79.5 kB / 1.013 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.01056/0.91, allocations: 4.544 MB / 1.018 GB, free: 11.01 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.008371/0.9184, allocations: 2.845 MB / 1.02 GB, free: 8.152 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.005884/0.9243, allocations: 2.384 MB / 1.023 GB, free: 5.777 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.01103/0.9354, allocations: 8.979 MB / 1.031 GB, free: 12.78 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002519/0.9379, allocations: 1.638 MB / 1.033 GB, free: 11.09 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004/0.9419, allocations: 1.949 MB / 1.035 GB, free: 9.137 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002618/0.9446, allocations: 1.365 MB / 1.036 GB, free: 7.773 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0002973/0.9449, allocations: 72 kB / 1.036 GB, free: 7.703 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006933/0.9518, allocations: 3.842 MB / 1.04 GB, free: 3.852 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.001084/0.9529, allocations: 0.6227 MB / 1.041 GB, free: 3.227 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.00193/0.9549, allocations: 1.175 MB / 1.042 GB, free: 2.039 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.4135/1.368, allocations: 5.31 MB / 1.047 GB, free: 41 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/1.368, allocations: 0.8125 kB / 1.047 GB, free: 41 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.815e-06/1.369, allocations: 0 / 1.047 GB, free: 41 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 9.653e-05/1.369, allocations: 0.9688 kB / 1.047 GB, free: 41 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.005403/1.374, allocations: 2.447 MB / 1.049 GB, free: 39.81 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 6.076e-05/1.374, allocations: 9.438 kB / 1.049 GB, free: 39.81 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00679/1.381, allocations: 0.9963 MB / 1.05 GB, free: 39.68 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01024/1.391, allocations: 5.631 MB / 1.056 GB, free: 39.11 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003971/1.392, allocations: 173.8 kB / 1.056 GB, free: 39.1 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002463/1.392, allocations: 132.6 kB / 1.056 GB, free: 39.1 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003419/1.395, allocations: 1.603 MB / 1.058 GB, free: 38.91 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.997e-05/1.395, allocations: 6.203 kB / 1.058 GB, free: 38.91 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000143/1.395, allocations: 57.03 kB / 1.058 GB, free: 38.91 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.264e-05/1.396, allocations: 53.12 kB / 1.058 GB, free: 38.9 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003356/1.399, allocations: 1.374 MB / 1.059 GB, free: 38.87 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.01058/1.409, allocations: 7.514 MB / 1.067 GB, free: 35.32 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001552/1.411, allocations: 0.6655 MB / 1.067 GB, free: 35.2 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006638/1.412, allocations: 275.9 kB / 1.067 GB, free: 35.18 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002384/1.412, allocations: 194.1 kB / 1.068 GB, free: 34.99 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.96e-05/1.412, allocations: 37.58 kB / 1.068 GB, free: 34.95 MB / 0.7481 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001017/1.413, allocations: 102.4 kB / 1.068 GB, free: 34.89 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=36): time 2.655e-06/1.413, allocations: 0 / 1.068 GB, free: 34.89 MB / 0.7481 GB Notification: Performance of matching and sorting (n=36): time 0.002714/1.416, allocations: 1.085 MB / 1.069 GB, free: 34.53 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.349e-05/1.416, allocations: 55.41 kB / 1.069 GB, free: 34.46 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003323/1.419, allocations: 2.367 MB / 1.071 GB, free: 34.21 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 6.671e-05/1.419, allocations: 37.92 kB / 1.071 GB, free: 34.18 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006715/1.42, allocations: 0.959 MB / 1.072 GB, free: 33.91 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 9.397e-05/1.42, allocations: 131.8 kB / 1.072 GB, free: 33.84 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001618/1.42, allocations: 120.6 kB / 1.072 GB, free: 33.82 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 7.702e-05/1.42, allocations: 350.4 kB / 1.073 GB, free: 33.52 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001171/1.421, allocations: 0.533 MB / 1.073 GB, free: 33.5 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001317/1.423, allocations: 0.8145 MB / 1.074 GB, free: 33.19 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001954/1.425, allocations: 1.159 MB / 1.075 GB, free: 32.9 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/1.425, allocations: 2.375 kB / 1.075 GB, free: 32.9 MB / 0.7481 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.003126/1.428, allocations: 1.686 MB / 1.077 GB, free: 32.61 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001101/1.428, allocations: 308.3 kB / 1.077 GB, free: 32.25 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/1.428, allocations: 7.625 kB / 1.077 GB, free: 32.25 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001586/1.428, allocations: 36.45 kB / 1.077 GB, free: 32.25 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001115/1.429, allocations: 249.3 kB / 1.077 GB, free: 32.24 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008257/1.43, allocations: 1.408 MB / 1.079 GB, free: 30.91 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002276/1.432, allocations: 221.4 kB / 1.079 GB, free: 30.88 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.266e-05/1.433, allocations: 46.66 kB / 1.079 GB, free: 30.88 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 6.252e-06/1.433, allocations: 4.078 kB / 1.079 GB, free: 30.88 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002619/1.435, allocations: 1.444 MB / 1.08 GB, free: 30.73 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/1.435, allocations: 7.75 kB / 1.081 GB, free: 30.73 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.721e-05/1.435, allocations: 36.45 kB / 1.081 GB, free: 30.72 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00105/1.436, allocations: 239.6 kB / 1.081 GB, free: 30.71 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006984/1.437, allocations: 1.407 MB / 1.082 GB, free: 29.39 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001818/1.439, allocations: 182.3 kB / 1.082 GB, free: 29.36 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.726e-05/1.439, allocations: 42.31 kB / 1.082 GB, free: 29.36 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 (105): * Single equations (assignments): 102 * 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.001253/1.44, allocations: 0.6502 MB / 1.083 GB, free: 29.16 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003107/1.441, allocations: 207.8 kB / 1.083 GB, free: 29.05 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00171/1.442, allocations: 0.798 MB / 1.084 GB, free: 28.86 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.658e-06/1.442, allocations: 3.562 kB / 1.084 GB, free: 28.86 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/1.442, allocations: 1.719 kB / 1.084 GB, free: 28.86 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.982e-06/1.442, allocations: 2.625 kB / 1.084 GB, free: 28.86 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.003592/1.446, allocations: 2.215 MB / 1.086 GB, free: 28.35 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/1.446, allocations: 2.688 kB / 1.086 GB, free: 28.35 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000574/1.447, allocations: 91.38 kB / 1.086 GB, free: 28.35 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.212e-05/1.447, allocations: 32.38 kB / 1.086 GB, free: 28.34 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.458e-05/1.447, allocations: 11.81 kB / 1.086 GB, free: 28.34 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007233/1.447, allocations: 1.398 MB / 1.088 GB, free: 27.01 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/1.447, allocations: 2.406 kB / 1.088 GB, free: 27.01 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001473/1.449, allocations: 0.9178 MB / 1.089 GB, free: 26.58 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006141/1.449, allocations: 358.4 kB / 1.089 GB, free: 26.38 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002213/1.45, allocations: 12.62 kB / 1.089 GB, free: 26.37 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001155/1.451, allocations: 115.2 kB / 1.089 GB, free: 26.36 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.649e-05/1.451, allocations: 30.09 kB / 1.089 GB, free: 26.36 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.01e-05/1.451, allocations: 20.12 kB / 1.089 GB, free: 26.35 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.002498/1.453, allocations: 1.643 MB / 1.091 GB, free: 26.2 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.292e-06/1.454, allocations: 0 / 1.091 GB, free: 26.2 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.003622/1.457, allocations: 0.9001 MB / 1.092 GB, free: 26.11 MB / 0.7481 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 (34): * Single equations (assignments): 33 * 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.001009/1.458, allocations: 454.5 kB / 1.092 GB, free: 25.97 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.003611/1.462, allocations: 1.878 MB / 1.094 GB, free: 25.72 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/1.462, allocations: 3.406 kB / 1.094 GB, free: 25.72 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0006343/1.462, allocations: 362.6 kB / 1.094 GB, free: 25.6 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005401/1.468, allocations: 1.159 MB / 1.095 GB, free: 25.52 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005009/1.473, allocations: 3.937 MB / 1.099 GB, free: 23.61 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009141/1.474, allocations: 1.534 MB / 1.101 GB, free: 22.86 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.002069/1.476, allocations: 478.4 kB / 1.101 GB, free: 22.73 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003385/1.476, allocations: 143.3 kB / 1.101 GB, free: 22.73 MB / 0.7481 GB Notification: Performance of SimCode: time 8.81e-07/1.476, allocations: 0 / 1.101 GB, free: 22.73 MB / 0.7481 GB Notification: Performance of Templates: time 0.05855/1.535, allocations: 40.36 MB / 1.141 GB, free: 4.199 MB / 0.7481 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FMI.Validation.HeaterFan.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.FMI.Validation.HeaterFan.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FMI.Validation.HeaterFan.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FMI.Validation.HeaterFan.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FMI.Validation.HeaterFan.sim & ./BuildingSystems_BuildingSystems.Fluid.FMI.Validation.HeaterFan -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FMI.Validation.HeaterFan.pipe 2>&1)