Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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: translateModel(IBPSA.Fluid.FMI.Validation.HeaterFan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FMI.Validation.HeaterFan") translateModel(IBPSA.Fluid.FMI.Validation.HeaterFan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0008076/0.0008078, allocations: 88.98 kB / 16.66 MB, free: 5.863 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.0009267/0.0009268, allocations: 177.6 kB / 17.57 MB, free: 5.535 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.363/1.363, allocations: 223.3 MB / 241.6 MB, free: 14.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7215/0.7215, allocations: 115.5 MB / 408.2 MB, free: 7.133 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003335/0.0003335, allocations: 8 kB / 496.5 MB, free: 15.7 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3662/0.3666, allocations: 77.52 MB / 0.5606 GB, free: 35.45 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Validation.HeaterFan): time 0.6874/1.054, allocations: 306.6 MB / 0.86 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.03586/1.09, allocations: 29.22 MB / 0.8885 GB, free: 6.371 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003411/1.093, allocations: 69.41 kB / 0.8886 GB, free: 6.328 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.01021/1.104, allocations: 4.559 MB / 0.8931 GB, free: 2.508 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.008809/1.113, allocations: 2.842 MB / 0.8958 GB, free: 0.5547 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.006596/1.119, allocations: 2.376 MB / 0.8982 GB, free: 14.6 MB / 0.6075 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.01236/1.132, allocations: 8.981 MB / 0.9069 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003684/1.135, allocations: 1.632 MB / 0.9085 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005392/1.141, allocations: 1.945 MB / 0.9104 GB, free: 2.84 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003507/1.144, allocations: 1.379 MB / 0.9118 GB, free: 1.566 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0005791/1.145, allocations: 72 kB / 0.9118 GB, free: 1.496 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008258/1.153, allocations: 3.844 MB / 0.9156 GB, free: 14 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.001264/1.154, allocations: 0.6172 MB / 0.9162 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.00263/1.157, allocations: 1.178 MB / 0.9173 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.006411/1.163, allocations: 4.125 MB / 0.9214 GB, free: 8.23 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/1.163, allocations: 0 / 0.9214 GB, free: 8.23 MB / 0.6231 GB Notification: Performance of FrontEnd: time 3.196e-06/1.164, allocations: 0 / 0.9214 GB, free: 8.23 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0001294/1.164, allocations: 0 / 0.9214 GB, free: 8.23 MB / 0.6231 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.005317/1.169, allocations: 2.452 MB / 0.9238 GB, free: 5.734 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/1.169, allocations: 8.031 kB / 0.9238 GB, free: 5.727 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00656/1.176, allocations: 0.9957 MB / 0.9247 GB, free: 4.73 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01091/1.187, allocations: 5.62 MB / 0.9302 GB, free: 15.2 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004807/1.187, allocations: 174.5 kB / 0.9304 GB, free: 15.03 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004124/1.187, allocations: 132 kB / 0.9305 GB, free: 14.9 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004096/1.192, allocations: 1.614 MB / 0.9321 GB, free: 13.23 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.52e-05/1.192, allocations: 0 / 0.9321 GB, free: 13.23 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001841/1.192, allocations: 52 kB / 0.9322 GB, free: 13.18 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.665e-05/1.192, allocations: 46.52 kB / 0.9322 GB, free: 13.13 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003822/1.196, allocations: 1.38 MB / 0.9335 GB, free: 11.74 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.01178/1.208, allocations: 7.536 MB / 0.9409 GB, free: 3.754 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001652/1.209, allocations: 0.6605 MB / 0.9415 GB, free: 3.066 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000719/1.21, allocations: 269.6 kB / 0.9418 GB, free: 2.801 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003242/1.21, allocations: 190.2 kB / 0.942 GB, free: 2.578 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.292e-05/1.21, allocations: 42.56 kB / 0.942 GB, free: 2.527 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008257/1.211, allocations: 98.64 kB / 0.9421 GB, free: 2.43 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=36): time 3.326e-06/1.211, allocations: 0 / 0.9421 GB, free: 2.43 MB / 0.6387 GB Notification: Performance of matching and sorting (n=36): time 0.003142/1.214, allocations: 1.093 MB / 0.9432 GB, free: 1.289 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.168e-05/1.214, allocations: 55.41 kB / 0.9432 GB, free: 1.223 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003995/1.218, allocations: 2.367 MB / 0.9456 GB, free: 14.84 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001258/1.219, allocations: 29.7 kB / 0.9456 GB, free: 14.8 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008782/1.22, allocations: 0.9627 MB / 0.9465 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001613/1.22, allocations: 134.1 kB / 0.9467 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001787/1.22, allocations: 117.6 kB / 0.9468 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001302/1.22, allocations: 349.9 kB / 0.9471 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001336/1.221, allocations: 0.5371 MB / 0.9476 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001473/1.223, allocations: 0.8129 MB / 0.9484 GB, free: 11.78 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002251/1.225, allocations: 1.16 MB / 0.9495 GB, free: 10.52 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.237e-06/1.225, allocations: 4 kB / 0.9496 GB, free: 10.52 MB / 0.6544 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.003712/1.229, allocations: 1.679 MB / 0.9512 GB, free: 8.809 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002115/1.229, allocations: 323 kB / 0.9515 GB, free: 8.387 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.611e-05/1.229, allocations: 11.98 kB / 0.9515 GB, free: 8.375 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001758/1.229, allocations: 36.78 kB / 0.9515 GB, free: 8.336 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001199/1.231, allocations: 247.7 kB / 0.9518 GB, free: 8.094 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00115/1.232, allocations: 1.408 MB / 0.9532 GB, free: 6.551 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002261/1.234, allocations: 215.9 kB / 0.9534 GB, free: 6.34 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001182/1.234, allocations: 43.98 kB / 0.9534 GB, free: 6.297 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/1.234, allocations: 7.938 kB / 0.9534 GB, free: 6.289 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003129/1.237, allocations: 1.433 MB / 0.9548 GB, free: 4.836 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.996e-05/1.237, allocations: 8 kB / 0.9548 GB, free: 4.828 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001058/1.237, allocations: 40.84 kB / 0.9549 GB, free: 4.785 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001119/1.239, allocations: 232 kB / 0.9551 GB, free: 4.559 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001104/1.24, allocations: 1.415 MB / 0.9565 GB, free: 3.016 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001915/1.242, allocations: 188.2 kB / 0.9566 GB, free: 2.832 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001057/1.242, allocations: 40 kB / 0.9567 GB, free: 2.793 MB / 0.6544 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.001212/1.243, allocations: 0.6491 MB / 0.9573 GB, free: 2.133 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003903/1.243, allocations: 205.3 kB / 0.9575 GB, free: 1.93 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001964/1.245, allocations: 0.7862 MB / 0.9583 GB, free: 1.105 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/1.245, allocations: 4 kB / 0.9583 GB, free: 1.102 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/1.245, allocations: 8 kB / 0.9583 GB, free: 1.094 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-06/1.245, allocations: 4 kB / 0.9583 GB, free: 1.09 MB / 0.6544 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.004258/1.25, allocations: 2.21 MB / 0.9605 GB, free: 14.79 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/1.25, allocations: 4 kB / 0.9605 GB, free: 14.78 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006102/1.25, allocations: 88.09 kB / 0.9605 GB, free: 14.7 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.373e-05/1.25, allocations: 36.83 kB / 0.9606 GB, free: 14.66 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.757e-05/1.25, allocations: 11.98 kB / 0.9606 GB, free: 14.64 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001042/1.251, allocations: 1.397 MB / 0.9619 GB, free: 13.11 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/1.251, allocations: 0 / 0.9619 GB, free: 13.11 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001806/1.253, allocations: 0.9129 MB / 0.9628 GB, free: 12.14 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006899/1.254, allocations: 358.2 kB / 0.9632 GB, free: 11.77 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002173/1.254, allocations: 11.98 kB / 0.9632 GB, free: 11.76 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001194/1.255, allocations: 115.9 kB / 0.9633 GB, free: 11.64 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.189e-05/1.255, allocations: 19.91 kB / 0.9633 GB, free: 11.62 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.23e-05/1.256, allocations: 19.98 kB / 0.9633 GB, free: 11.61 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002876/1.258, allocations: 1.646 MB / 0.9649 GB, free: 9.949 MB / 0.67 GB Notification: Performance of sort global known variables: time 3.3e-07/1.258, allocations: 4 kB / 0.965 GB, free: 9.945 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002752/1.261, allocations: 0.9008 MB / 0.9658 GB, free: 9.043 MB / 0.67 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.0009504/1.262, allocations: 449.5 kB / 0.9663 GB, free: 8.613 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.004203/1.266, allocations: 1.888 MB / 0.9681 GB, free: 6.703 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/1.266, allocations: 1.25 kB / 0.9681 GB, free: 6.703 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0007698/1.267, allocations: 362.9 kB / 0.9685 GB, free: 6.336 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006295/1.273, allocations: 1.157 MB / 0.9696 GB, free: 5.211 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0065/1.28, allocations: 4.061 MB / 0.9735 GB, free: 1.086 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001261/1.281, allocations: 1.53 MB / 0.975 GB, free: 15.52 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005563/1.282, allocations: 151.4 kB / 0.9752 GB, free: 15.38 MB / 0.6856 GB Notification: Performance of SimCode: time 1.172e-06/1.282, allocations: 4 kB / 0.9752 GB, free: 15.37 MB / 0.6856 GB Notification: Performance of Templates: time 0.06322/1.345, allocations: 46.68 MB / 1.021 GB, free: 0.8672 MB / 0.7169 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.FMI.Validation.HeaterFan.makefile (rm -f IBPSA_latest_IBPSA.Fluid.FMI.Validation.HeaterFan.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FMI.Validation.HeaterFan.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FMI.Validation.HeaterFan.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FMI.Validation.HeaterFan.sim & ./IBPSA_latest_IBPSA.Fluid.FMI.Validation.HeaterFan -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.FMI.Validation.HeaterFan.pipe 2>&1)