Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example3.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.Examples.Performance.Example3,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_Example3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Examples.Performance.Example3,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_Example3",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.0009606/0.0009607, allocations: 98.42 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.0009345/0.0009345, allocations: 180.3 kB / 16.92 MB, free: 6.922 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.285/1.285, allocations: 223.3 MB / 241 MB, free: 5.258 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6817/0.6817, allocations: 115.5 MB / 407.6 MB, free: 2.684 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003291/0.0003291, allocations: 12 kB / 495.9 MB, free: 6.277 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.1441, allocations: 77.53 MB / 0.56 GB, free: 8.949 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.Example3): time 0.3006/0.4447, allocations: 32.15 MB / 0.5914 GB, free: 10.33 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01826/0.463, allocations: 12.29 MB / 0.6034 GB, free: 9.695 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002365/0.4654, allocations: 43.34 kB / 0.6035 GB, free: 9.68 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009304/0.4747, allocations: 3.818 MB / 0.6072 GB, free: 8.953 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005712/0.4804, allocations: 1.521 MB / 0.6087 GB, free: 8.328 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00406/0.4845, allocations: 1.3 MB / 0.61 GB, free: 7.758 MB / 446.1 MB [/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.002008867139553991}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.01219/0.4967, allocations: 9.42 MB / 0.6192 GB, free: 4.457 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003005/0.4998, allocations: 1.762 MB / 0.6209 GB, free: 3.367 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003886/0.5037, allocations: 1.597 MB / 0.6224 GB, free: 2.512 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003143/0.5068, allocations: 1.391 MB / 0.6238 GB, free: 1.707 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000699/0.5076, allocations: 67.84 kB / 0.6239 GB, free: 1.707 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004268/0.5119, allocations: 1.303 MB / 0.6251 GB, free: 1.027 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000948/0.5128, allocations: 0.508 MB / 0.6256 GB, free: 0.6914 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002603/0.5155, allocations: 1.106 MB / 0.6267 GB, free: 15.97 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006591/0.5221, allocations: 3.363 MB / 0.63 GB, free: 13.78 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.5221, allocations: 0 / 0.63 GB, free: 13.78 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.5221, allocations: 0 / 0.63 GB, free: 13.78 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0001256/0.5222, allocations: 0 / 0.63 GB, free: 13.78 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 239 * Number of variables: 239 Notification: Performance of Generate backend data structure: time 0.005149/0.5274, allocations: 2.396 MB / 0.6323 GB, free: 11.96 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.5275, allocations: 9.156 kB / 0.6323 GB, free: 11.96 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003394/0.5278, allocations: 151.8 kB / 0.6325 GB, free: 11.84 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002144/0.53, allocations: 444.9 kB / 0.6329 GB, free: 11.63 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00537/0.5353, allocations: 2.662 MB / 0.6355 GB, free: 9.141 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001324/0.5355, allocations: 90.27 kB / 0.6356 GB, free: 9.051 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003043/0.5358, allocations: 107.9 kB / 0.6357 GB, free: 8.945 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00276/0.5386, allocations: 1.326 MB / 0.637 GB, free: 7.547 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.381e-05/0.5386, allocations: 7.922 kB / 0.637 GB, free: 7.539 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001404/0.5388, allocations: 44 kB / 0.637 GB, free: 7.496 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.304e-05/0.5388, allocations: 24 kB / 0.6371 GB, free: 7.473 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002356/0.5412, allocations: 1.046 MB / 0.6381 GB, free: 6.426 MB / 462.1 MB 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.009576/0.5508, allocations: 7.176 MB / 0.6451 GB, free: 14.75 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001493/0.5523, allocations: 0.6121 MB / 0.6457 GB, free: 14.13 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007958/0.5531, allocations: 406.8 kB / 0.6461 GB, free: 13.73 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003212/0.5563, allocations: 1.762 MB / 0.6478 GB, free: 11.83 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008199/0.5572, allocations: 383.2 kB / 0.6482 GB, free: 11.45 MB / 478.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007626/0.558, allocations: 119.2 kB / 0.6483 GB, free: 11.33 MB / 478.1 MB Notification: Performance of pre-optimization done (n=45): time 3.637e-06/0.558, allocations: 0 / 0.6483 GB, free: 11.33 MB / 478.1 MB Notification: Performance of matching and sorting (n=45): time 0.003836/0.5618, allocations: 1.393 MB / 0.6496 GB, free: 9.906 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.79e-05/0.5619, allocations: 55.41 kB / 0.6497 GB, free: 9.84 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003618/0.5655, allocations: 2.352 MB / 0.652 GB, free: 7.469 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 9.809e-05/0.5656, allocations: 45.7 kB / 0.652 GB, free: 7.418 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000934/0.5666, allocations: 0.992 MB / 0.653 GB, free: 6.414 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001783/0.5668, allocations: 173.7 kB / 0.6532 GB, free: 6.242 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000178/0.567, allocations: 137.6 kB / 0.6533 GB, free: 6.102 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.5671, allocations: 357.9 kB / 0.6536 GB, free: 5.746 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009887/0.5681, allocations: 0.4906 MB / 0.6541 GB, free: 5.254 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001368/0.5695, allocations: 0.997 MB / 0.6551 GB, free: 4.039 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002143/0.5716, allocations: 1.347 MB / 0.6564 GB, free: 2.543 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.03e-05/0.5717, allocations: 4 kB / 0.6564 GB, free: 2.539 MB / 478.1 MB Notification: Performance of matching and sorting (n=165) (initialization): time 0.00364/0.5753, allocations: 1.807 MB / 0.6582 GB, free: 0.7148 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003502/0.5757, allocations: 461 kB / 0.6586 GB, free: 104 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.376e-05/0.5757, allocations: 16 kB / 0.6586 GB, free: 88 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006926/0.5764, allocations: 187.8 kB / 0.6588 GB, free: 15.9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008344/0.5773, allocations: 227.6 kB / 0.659 GB, free: 15.68 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007203/0.578, allocations: 0.7592 MB / 0.6598 GB, free: 14.89 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00181/0.5798, allocations: 108.3 kB / 0.6599 GB, free: 14.79 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001323/0.58, allocations: 59.98 kB / 0.6599 GB, free: 14.73 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.017e-05/0.58, allocations: 4 kB / 0.6599 GB, free: 14.73 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002863/0.5828, allocations: 1.579 MB / 0.6615 GB, free: 13.11 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.032e-05/0.5829, allocations: 19.97 kB / 0.6615 GB, free: 13.09 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002426/0.5831, allocations: 121.4 kB / 0.6616 GB, free: 12.97 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007574/0.5839, allocations: 227.6 kB / 0.6618 GB, free: 12.75 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002261/0.5862, allocations: 2.135 MB / 0.6639 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001411/0.5876, allocations: 117.8 kB / 0.664 GB, free: 10.37 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001043/0.5877, allocations: 51.98 kB / 0.6641 GB, free: 10.32 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,nRes.y,from_dp.y,mergeDp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (119): * Single equations (assignments): 115 * Array equations: 1 * Algorithm blocks: 1 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,12)} Notification: Performance of prepare postOptimizeDAE: time 0.001088/0.5888, allocations: 0.6996 MB / 0.6648 GB, free: 9.609 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004319/0.5893, allocations: 209.3 kB / 0.665 GB, free: 9.402 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002384/0.5916, allocations: 1.034 MB / 0.666 GB, free: 8.352 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-05/0.5917, allocations: 7.984 kB / 0.666 GB, free: 8.344 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.5917, allocations: 0 / 0.666 GB, free: 8.344 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001654/0.5933, allocations: 0.974 MB / 0.6669 GB, free: 7.301 MB / 494.1 MB 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.004457/0.5978, allocations: 2.382 MB / 0.6692 GB, free: 4.836 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/0.5978, allocations: 8.062 kB / 0.6693 GB, free: 4.828 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004847/0.5983, allocations: 87.86 kB / 0.6693 GB, free: 4.742 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002828/0.5986, allocations: 116.8 kB / 0.6695 GB, free: 4.625 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.439e-05/0.5987, allocations: 15.98 kB / 0.6695 GB, free: 4.609 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005742/0.5993, allocations: 0.7435 MB / 0.6702 GB, free: 3.84 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.5993, allocations: 0 / 0.6702 GB, free: 3.84 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002729/0.602, allocations: 1.433 MB / 0.6716 GB, free: 2.375 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007189/0.6027, allocations: 370.2 kB / 0.6719 GB, free: 1.992 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003647/0.6031, allocations: 12 kB / 0.672 GB, free: 1.98 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001046/0.6042, allocations: 95.81 kB / 0.672 GB, free: 1.887 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.821e-05/0.6043, allocations: 40.39 kB / 0.6721 GB, free: 1.848 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.402e-05/0.6043, allocations: 19.98 kB / 0.6721 GB, free: 1.828 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002459/0.6068, allocations: 1.607 MB / 0.6737 GB, free: 216 kB / 494.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.6068, allocations: 0 / 0.6737 GB, free: 216 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.002767/0.6096, allocations: 0.9556 MB / 0.6746 GB, free: 15.25 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00408/0.6137, allocations: 2.321 MB / 0.6769 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003743/0.6174, allocations: 2.021 MB / 0.6788 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.6175, allocations: 0 / 0.6788 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007956/0.6183, allocations: 350.7 kB / 0.6792 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004711/0.623, allocations: 0.9203 MB / 0.6801 GB, free: 9.605 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03593/0.6589, allocations: 17.62 MB / 0.6973 GB, free: 6.723 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001542/0.6605, allocations: 1.679 MB / 0.6989 GB, free: 5.008 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002196/0.6627, allocations: 0.5437 MB / 0.6995 GB, free: 4.461 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001214/0.6639, allocations: 0.8078 MB / 0.7002 GB, free: 3.652 MB / 0.5137 GB Notification: Performance of SimCode: time 6.11e-07/0.664, allocations: 0 / 0.7002 GB, free: 3.652 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2798/0.9437, allocations: 54.74 MB / 0.7537 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003731/0.9441, allocations: 266.9 kB / 0.754 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.087/4.031, allocations: 0 / 0.754 GB, free: 13.2 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example3.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example3.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Examples_Performance_Example3_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Examples_Performance_Example3.fmu > IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example3.pipe 2>&1)