Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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: "" <> buildModelFMU(IBPSA.Fluid.FMI.Validation.HeaterFan_noReverseFlow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FMI_Validation_HeaterFan_noReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FMI.Validation.HeaterFan_noReverseFlow,fileNamePrefix="IBPSA_latest_IBPSA_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.0007373/0.0007372, allocations: 98.58 kB / 16.02 MB, free: 80 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.0007553/0.0007553, allocations: 185.1 kB / 16.92 MB, free: 6.754 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.182/1.182, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6218/0.6218, allocations: 115.5 MB / 407.6 MB, free: 2.695 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002699/0.0002699, allocations: 11.98 kB / 496 MB, free: 6.258 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1193, allocations: 77.52 MB / 0.56 GB, free: 8.945 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Validation.HeaterFan_noReverseFlow): time 0.7572/0.8765, allocations: 298.9 MB / 0.8519 GB, free: 20.7 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02709/0.9037, allocations: 27.32 MB / 0.8786 GB, free: 20.48 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002529/0.9062, allocations: 69.47 kB / 0.8786 GB, free: 20.48 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.007637/0.9139, allocations: 4.425 MB / 0.883 GB, free: 20.39 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.006086/0.92, allocations: 2.739 MB / 0.8856 GB, free: 20.25 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004836/0.9248, allocations: 2.367 MB / 0.888 GB, free: 20.18 MB / 0.6387 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.008008/0.9328, allocations: 8.605 MB / 0.8964 GB, free: 20.14 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001933/0.9348, allocations: 1.43 MB / 0.8978 GB, free: 19.9 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003284/0.9381, allocations: 1.864 MB / 0.8996 GB, free: 19.87 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002347/0.9404, allocations: 1.253 MB / 0.9008 GB, free: 19.86 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002959/0.9407, allocations: 63.19 kB / 0.9009 GB, free: 19.86 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005223/0.946, allocations: 3.483 MB / 0.9043 GB, free: 19.83 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0006531/0.9466, allocations: 0.6005 MB / 0.9048 GB, free: 19.83 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001449/0.9481, allocations: 1.1 MB / 0.9059 GB, free: 19.79 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.00548/0.9536, allocations: 4.866 MB / 0.9107 GB, free: 17.67 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.9536, allocations: 0 / 0.9107 GB, free: 17.67 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.272e-06/0.9536, allocations: 0 / 0.9107 GB, free: 17.67 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 7.286e-05/0.9537, allocations: 0 / 0.9107 GB, free: 17.67 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: 277 * Number of variables: 277 Notification: Performance of Generate backend data structure: time 0.003123/0.9568, allocations: 2.287 MB / 0.9129 GB, free: 16.12 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.9569, allocations: 9.344 kB / 0.9129 GB, free: 16.12 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001731/0.957, allocations: 168.7 kB / 0.9131 GB, free: 16.05 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003734/0.9608, allocations: 0.7565 MB / 0.9138 GB, free: 15.74 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006869/0.9676, allocations: 5.541 MB / 0.9192 GB, free: 13.68 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000327/0.968, allocations: 153.7 kB / 0.9194 GB, free: 13.66 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001309/0.9681, allocations: 115.1 kB / 0.9195 GB, free: 13.66 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002/0.9701, allocations: 1.378 MB / 0.9208 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.365e-05/0.9702, allocations: 6.609 kB / 0.9208 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.635e-05/0.9703, allocations: 49.78 kB / 0.9209 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-05/0.9703, allocations: 42 kB / 0.9209 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001905/0.9722, allocations: 1.019 MB / 0.9219 GB, free: 12.96 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.00559/0.9778, allocations: 7.124 MB / 0.9289 GB, free: 8.117 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006862/0.9785, allocations: 327 kB / 0.9292 GB, free: 8.043 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002744/0.9788, allocations: 118.3 kB / 0.9293 GB, free: 8.02 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000199/0.979, allocations: 190 kB / 0.9295 GB, free: 7.824 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.375e-05/0.979, allocations: 37.31 kB / 0.9295 GB, free: 7.785 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000338/0.9794, allocations: 85.55 kB / 0.9296 GB, free: 7.727 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=19): time 1.523e-06/0.9794, allocations: 0 / 0.9296 GB, free: 7.727 MB / 0.6387 GB Notification: Performance of matching and sorting (n=19): time 0.001193/0.9806, allocations: 0.5583 MB / 0.9301 GB, free: 7.535 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.696e-05/0.9806, allocations: 53.91 kB / 0.9302 GB, free: 7.473 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002202/0.9828, allocations: 2.256 MB / 0.9324 GB, free: 6.871 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.79e-05/0.9829, allocations: 33.7 kB / 0.9324 GB, free: 6.84 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005317/0.9834, allocations: 0.9673 MB / 0.9334 GB, free: 6.441 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 4.207e-05/0.9835, allocations: 84.23 kB / 0.9335 GB, free: 6.387 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000109/0.9836, allocations: 127.5 kB / 0.9336 GB, free: 6.348 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 5.692e-05/0.9836, allocations: 358.1 kB / 0.9339 GB, free: 6.027 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007416/0.9844, allocations: 447.3 kB / 0.9343 GB, free: 5.961 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008619/0.9852, allocations: 0.881 MB / 0.9352 GB, free: 5.355 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001274/0.9865, allocations: 1.175 MB / 0.9363 GB, free: 4.699 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.75e-06/0.9865, allocations: 3.312 kB / 0.9364 GB, free: 4.699 MB / 0.6387 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.001997/0.9885, allocations: 1.502 MB / 0.9378 GB, free: 3.777 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001242/0.9887, allocations: 474.4 kB / 0.9383 GB, free: 3.141 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/0.9887, allocations: 12 kB / 0.9383 GB, free: 3.129 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/0.9887, allocations: 23.98 kB / 0.9383 GB, free: 3.105 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007359/0.9895, allocations: 237.1 kB / 0.9385 GB, free: 2.891 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.766e-05/0.9895, allocations: 33.83 kB / 0.9386 GB, free: 2.863 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001161/0.9907, allocations: 149.5 kB / 0.9387 GB, free: 2.719 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.023e-05/0.9907, allocations: 55.98 kB / 0.9388 GB, free: 2.664 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 4.98e-06/0.9907, allocations: 2.5 kB / 0.9388 GB, free: 2.664 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001658/0.9924, allocations: 1.264 MB / 0.94 GB, free: 1.48 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.9924, allocations: 16 kB / 0.94 GB, free: 1.465 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/0.9924, allocations: 16 kB / 0.94 GB, free: 1.449 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006842/0.9931, allocations: 233.5 kB / 0.9402 GB, free: 1.234 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.417e-05/0.9931, allocations: 32.14 kB / 0.9403 GB, free: 1.211 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008882/0.994, allocations: 123.2 kB / 0.9404 GB, free: 1.094 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-05/0.9941, allocations: 50.91 kB / 0.9404 GB, free: 1.047 MB / 0.6387 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.0005467/0.9946, allocations: 0.6494 MB / 0.9411 GB, free: 412 kB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001469/0.9948, allocations: 193.5 kB / 0.9413 GB, free: 216 kB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002123/0.995, allocations: 179.7 kB / 0.9414 GB, free: 32 kB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.995, allocations: 4 kB / 0.9414 GB, free: 28 kB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.995, allocations: 0 / 0.9414 GB, free: 28 kB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.995, allocations: 3.984 kB / 0.9414 GB, free: 24 kB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002644/0.9977, allocations: 1.949 MB / 0.9433 GB, free: 13.99 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.9977, allocations: 4 kB / 0.9434 GB, free: 13.99 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002791/0.998, allocations: 54.92 kB / 0.9434 GB, free: 13.94 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.998, allocations: 8 kB / 0.9434 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.064e-05/0.998, allocations: 8 kB / 0.9434 GB, free: 13.92 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.863e-06/0.998, allocations: 14.61 kB / 0.9434 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.998, allocations: 7.188 kB / 0.9434 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008491/0.9989, allocations: 0.6022 MB / 0.944 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003492/0.9993, allocations: 318.6 kB / 0.9443 GB, free: 12.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001749/0.9994, allocations: 12 kB / 0.9443 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007958/1, allocations: 71.84 kB / 0.9444 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.521e-05/1, allocations: 27 kB / 0.9444 GB, free: 12.8 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.068e-05/1, allocations: 12 kB / 0.9444 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001852/1.002, allocations: 1.538 MB / 0.946 GB, free: 11.24 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.2e-07/1.002, allocations: 0 / 0.946 GB, free: 11.24 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001714/1.004, allocations: 0.8191 MB / 0.9468 GB, free: 10.42 MB / 0.6544 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.001676/1.006, allocations: 1.481 MB / 0.9482 GB, free: 8.879 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002302/1.008, allocations: 1.438 MB / 0.9496 GB, free: 7.523 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/1.008, allocations: 1.688 kB / 0.9496 GB, free: 7.523 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003186/1.008, allocations: 139.4 kB / 0.9497 GB, free: 7.402 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004799/1.013, allocations: 1.009 MB / 0.9507 GB, free: 6.418 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02994/1.043, allocations: 15.56 MB / 0.9659 GB, free: 5.734 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009305/1.044, allocations: 1.489 MB / 0.9674 GB, free: 4.211 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001661/1.046, allocations: 444.6 kB / 0.9678 GB, free: 3.773 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007932/1.046, allocations: 0.7219 MB / 0.9685 GB, free: 3.051 MB / 0.67 GB Notification: Performance of SimCode: time 2.61e-07/1.046, allocations: 2.625 kB / 0.9685 GB, free: 3.051 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6971/1.744, allocations: 50.33 MB / 1.018 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003113/1.744, allocations: 199.8 kB / 1.018 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.957/4.701, allocations: 3.938 kB / 1.018 GB, free: 1.066 MB / 0.7169 GB (rm -f IBPSA_latest_IBPSA.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FMI.Validation.HeaterFan_noReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_FMI_Validation_HeaterFan_noReverseFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_FMI_Validation_HeaterFan_noReverseFlow.fmu > IBPSA_latest_IBPSA.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe 2>&1)