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: "" <> buildModelFMU(BuildingSystems.Fluid.FMI.Validation.HeaterFan_noReverseFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FMI_Validation_HeaterFan_noReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FMI.Validation.HeaterFan_noReverseFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FMI_Validation_HeaterFan_noReverseFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008844/0.0008844, allocations: 89.97 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.0065/0.0065, allocations: 174.1 kB / 16.26 MB, free: 6.273 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.3/1.3, allocations: 223.2 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00173/0.00173, allocations: 278.1 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.9185/0.9185, allocations: 169.5 MB / 0.5004 GB, free: 14.04 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004156/0.0004156, allocations: 12.91 kB / 0.5988 GB, free: 28.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1587/0.1591, allocations: 88.55 MB / 0.6852 GB, free: 14.97 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Validation.HeaterFan_noReverseFlow): time 0.5725/0.7317, allocations: 298.9 MB / 0.9771 GB, free: 4.66 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.03229/0.764, allocations: 27.33 MB / 1.004 GB, free: 9.25 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002489/0.7665, allocations: 67.62 kB / 1.004 GB, free: 9.184 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.008087/0.7746, allocations: 4.415 MB / 1.008 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.006177/0.7808, allocations: 2.726 MB / 1.011 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.005214/0.786, allocations: 2.379 MB / 1.013 GB, free: 15.65 MB / 0.7325 GB [/var/lib/jenkins1/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.01038/0.7964, allocations: 8.596 MB / 1.022 GB, free: 7.039 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002403/0.7988, allocations: 1.445 MB / 1.023 GB, free: 5.543 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004069/0.8029, allocations: 1.867 MB / 1.025 GB, free: 3.668 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002591/0.8055, allocations: 1.253 MB / 1.026 GB, free: 2.414 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001918/0.8057, allocations: 64 kB / 1.026 GB, free: 2.352 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005823/0.8116, allocations: 3.472 MB / 1.029 GB, free: 14.87 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0006823/0.8123, allocations: 0.6111 MB / 1.03 GB, free: 14.26 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.001263/0.8135, allocations: 1.09 MB / 1.031 GB, free: 13.16 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.006041/0.8196, allocations: 4.86 MB / 1.036 GB, free: 8.281 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.8196, allocations: 0 / 1.036 GB, free: 8.281 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.744e-06/0.8196, allocations: 4 kB / 1.036 GB, free: 8.277 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 3.169e-05/0.8197, allocations: 4 kB / 1.036 GB, free: 8.273 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.003593/0.8232, allocations: 2.288 MB / 1.038 GB, free: 5.914 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/0.8233, allocations: 12.03 kB / 1.038 GB, free: 5.902 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001998/0.8235, allocations: 164.9 kB / 1.038 GB, free: 5.73 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004336/0.8279, allocations: 0.7504 MB / 1.039 GB, free: 4.977 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2611/1.089, allocations: 5.538 MB / 1.044 GB, free: 282.1 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004202/1.089, allocations: 151.4 kB / 1.045 GB, free: 282.1 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001798/1.09, allocations: 111.2 kB / 1.045 GB, free: 282.1 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002869/1.092, allocations: 1.387 MB / 1.046 GB, free: 281.8 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.826e-05/1.093, allocations: 1.562 kB / 1.046 GB, free: 281.8 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001109/1.093, allocations: 52.03 kB / 1.046 GB, free: 281.8 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.993e-05/1.093, allocations: 44.7 kB / 1.046 GB, free: 281.8 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002411/1.095, allocations: 1.016 MB / 1.047 GB, free: 281.7 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.007093/1.102, allocations: 7.128 MB / 1.054 GB, free: 276.5 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007851/1.103, allocations: 316.2 kB / 1.054 GB, free: 276.4 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003095/1.103, allocations: 126.5 kB / 1.055 GB, free: 276.4 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002226/1.104, allocations: 195.5 kB / 1.055 GB, free: 276.2 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.598e-05/1.104, allocations: 37.03 kB / 1.055 GB, free: 276.1 MB / 0.7481 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000471/1.104, allocations: 89.52 kB / 1.055 GB, free: 276.1 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=19): time 3.076e-06/1.104, allocations: 0 / 1.055 GB, free: 276.1 MB / 0.7481 GB Notification: Performance of matching and sorting (n=19): time 0.001389/1.105, allocations: 0.5551 MB / 1.055 GB, free: 275.8 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.075e-05/1.106, allocations: 58.8 kB / 1.055 GB, free: 275.8 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002895/1.108, allocations: 2.253 MB / 1.058 GB, free: 274.9 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 5.288e-05/1.108, allocations: 33.61 kB / 1.058 GB, free: 274.8 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006331/1.109, allocations: 0.9619 MB / 1.059 GB, free: 274.1 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.67e-05/1.109, allocations: 83.27 kB / 1.059 GB, free: 274 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001323/1.109, allocations: 126.3 kB / 1.059 GB, free: 274 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 9.824e-05/1.109, allocations: 361.9 kB / 1.059 GB, free: 273.7 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008516/1.11, allocations: 457.7 kB / 1.06 GB, free: 273.5 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009986/1.111, allocations: 0.8649 MB / 1.06 GB, free: 272.8 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001496/1.113, allocations: 1.184 MB / 1.062 GB, free: 272 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.384e-06/1.113, allocations: 6.5 kB / 1.062 GB, free: 272 MB / 0.7481 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.00246/1.115, allocations: 1.486 MB / 1.063 GB, free: 271.4 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001604/1.115, allocations: 478.6 kB / 1.063 GB, free: 270.8 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.482e-05/1.115, allocations: 11.69 kB / 1.063 GB, free: 270.8 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.647e-05/1.116, allocations: 19.67 kB / 1.064 GB, free: 270.8 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008094/1.116, allocations: 239 kB / 1.064 GB, free: 270.8 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.295e-05/1.116, allocations: 26.52 kB / 1.064 GB, free: 270.8 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001429/1.118, allocations: 153.9 kB / 1.064 GB, free: 270.7 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.502e-05/1.118, allocations: 50.48 kB / 1.064 GB, free: 270.7 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 5.851e-06/1.118, allocations: 3.094 kB / 1.064 GB, free: 270.7 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001969/1.12, allocations: 1.271 MB / 1.065 GB, free: 270.3 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/1.12, allocations: 15.45 kB / 1.065 GB, free: 270.3 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/1.12, allocations: 17.78 kB / 1.065 GB, free: 270.3 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007355/1.121, allocations: 233.7 kB / 1.065 GB, free: 270.2 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.869e-05/1.121, allocations: 27.28 kB / 1.065 GB, free: 270.2 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001064/1.122, allocations: 126 kB / 1.066 GB, free: 270.2 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.588e-05/1.122, allocations: 49.91 kB / 1.066 GB, free: 270.2 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.0008132/1.123, allocations: 0.6599 MB / 1.066 GB, free: 269.7 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001897/1.123, allocations: 192.9 kB / 1.066 GB, free: 269.6 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002721/1.123, allocations: 175.3 kB / 1.067 GB, free: 269.6 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/1.123, allocations: 1.531 kB / 1.067 GB, free: 269.6 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/1.123, allocations: 0.8438 kB / 1.067 GB, free: 269.6 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/1.123, allocations: 3.172 kB / 1.067 GB, free: 269.6 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002836/1.126, allocations: 1.946 MB / 1.069 GB, free: 268.4 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/1.126, allocations: 6.594 kB / 1.069 GB, free: 268.4 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002815/1.126, allocations: 55.17 kB / 1.069 GB, free: 268.4 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/1.126, allocations: 4.562 kB / 1.069 GB, free: 268.4 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.42e-05/1.126, allocations: 14.23 kB / 1.069 GB, free: 268.4 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.863e-06/1.126, allocations: 6.938 kB / 1.069 GB, free: 268.4 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/1.126, allocations: 9.312 kB / 1.069 GB, free: 268.4 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008641/1.127, allocations: 0.6011 MB / 1.069 GB, free: 268 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003841/1.128, allocations: 324.2 kB / 1.07 GB, free: 267.8 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001951/1.128, allocations: 10.09 kB / 1.07 GB, free: 267.8 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008187/1.129, allocations: 66.36 kB / 1.07 GB, free: 267.8 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.672e-05/1.129, allocations: 30.11 kB / 1.07 GB, free: 267.7 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.325e-05/1.129, allocations: 12.91 kB / 1.07 GB, free: 267.7 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.002201/1.131, allocations: 1.538 MB / 1.071 GB, free: 267.1 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.6e-07/1.131, allocations: 0.5312 kB / 1.071 GB, free: 267.1 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.002404/1.133, allocations: 0.8135 MB / 1.072 GB, free: 267 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.001758/1.135, allocations: 1.485 MB / 1.073 GB, free: 266 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002612/1.138, allocations: 1.45 MB / 1.075 GB, free: 265.5 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/1.138, allocations: 1.281 kB / 1.075 GB, free: 265.5 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003326/1.138, allocations: 141.2 kB / 1.075 GB, free: 265.4 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005333/1.143, allocations: 1.006 MB / 1.076 GB, free: 265.2 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03277/1.176, allocations: 15.58 MB / 1.091 GB, free: 254.4 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007666/1.177, allocations: 1.486 MB / 1.093 GB, free: 253.2 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001885/1.179, allocations: 438.8 kB / 1.093 GB, free: 253 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007042/1.18, allocations: 0.7299 MB / 1.094 GB, free: 252.4 MB / 0.7481 GB Notification: Performance of SimCode: time 7.61e-07/1.18, allocations: 0 / 1.094 GB, free: 252.4 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06144/1.241, allocations: 50.36 MB / 1.143 GB, free: 202.9 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001406/1.241, allocations: 218 kB / 1.143 GB, free: 202.6 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.811/4.052, allocations: 0 / 1.143 GB, free: 202.6 MB / 0.7481 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_FMI_Validation_HeaterFan_noReverseFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_FMI_Validation_HeaterFan_noReverseFlow.fmu > BuildingSystems_BuildingSystems.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe 2>&1)