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: translateModel(IBPSA.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example3") translateModel(IBPSA.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00162/0.00162, allocations: 105.8 kB / 15.98 MB, free: 5.871 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.00189/0.00189, allocations: 187.8 kB / 16.91 MB, free: 5.738 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.391/1.391, allocations: 222.9 MB / 240.6 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7314/0.7314, allocations: 122.9 MB / 413.6 MB, free: 11.12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 69.38 kB / 0.4906 GB, free: 14.29 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1733/0.1746, allocations: 77.94 MB / 0.5667 GB, free: 0.5586 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.Example3): time 0.3152/0.4899, allocations: 32.89 MB / 0.5989 GB, free: 6.941 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01684/0.5067, allocations: 12.22 MB / 0.6108 GB, free: 14.35 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002259/0.509, allocations: 45.41 kB / 0.6108 GB, free: 14.33 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009877/0.5189, allocations: 3.975 MB / 0.6147 GB, free: 13.1 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006866/0.5258, allocations: 1.517 MB / 0.6162 GB, free: 12.24 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004557/0.5304, allocations: 1.329 MB / 0.6175 GB, free: 11.52 MB / 462.1 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1089:9-1089: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.01098/0.5414, allocations: 7.906 MB / 0.6252 GB, free: 7.789 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003039/0.5444, allocations: 2.092 MB / 0.6273 GB, free: 6.477 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00407/0.5485, allocations: 1.924 MB / 0.6291 GB, free: 5.418 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002525/0.5511, allocations: 1.469 MB / 0.6306 GB, free: 4.543 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003899/0.5515, allocations: 149.6 kB / 0.6307 GB, free: 4.539 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003111/0.5546, allocations: 1.341 MB / 0.632 GB, free: 3.887 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005729/0.5552, allocations: 0.5932 MB / 0.6326 GB, free: 3.473 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001326/0.5565, allocations: 1.2 MB / 0.6338 GB, free: 2.68 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003958/0.5605, allocations: 3.495 MB / 0.6372 GB, free: 4 kB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.5605, allocations: 0 / 0.6372 GB, free: 4 kB / 462.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.5605, allocations: 0 / 0.6372 GB, free: 4 kB / 462.1 MB Notification: Performance of Transformations before backend: time 3.42e-05/0.5605, allocations: 0 / 0.6372 GB, free: 4 kB / 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.004229/0.5648, allocations: 2.792 MB / 0.6399 GB, free: 13.13 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.5648, allocations: 16.03 kB / 0.6399 GB, free: 13.12 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001944/0.5668, allocations: 428.6 kB / 0.6403 GB, free: 12.7 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004259/0.5711, allocations: 2.673 MB / 0.643 GB, free: 9.953 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001308/0.5712, allocations: 82.28 kB / 0.643 GB, free: 9.871 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002422/0.5715, allocations: 112 kB / 0.6431 GB, free: 9.762 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002723/0.5742, allocations: 1.315 MB / 0.6444 GB, free: 8.371 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.234e-05/0.5742, allocations: 7.938 kB / 0.6444 GB, free: 8.363 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001091/0.5744, allocations: 44 kB / 0.6445 GB, free: 8.32 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.98e-05/0.5744, allocations: 24 kB / 0.6445 GB, free: 8.297 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002128/0.5765, allocations: 1.038 MB / 0.6455 GB, free: 7.258 MB / 478.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.007892/0.5844, allocations: 7.138 MB / 0.6525 GB, free: 15.61 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001467/0.5859, allocations: 0.5975 MB / 0.6531 GB, free: 15.01 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007794/0.5867, allocations: 402.8 kB / 0.6534 GB, free: 14.61 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002667/0.5894, allocations: 1.759 MB / 0.6552 GB, free: 12.71 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008232/0.5902, allocations: 368.8 kB / 0.6555 GB, free: 12.34 MB / 494.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000549/0.5908, allocations: 115.1 kB / 0.6556 GB, free: 12.23 MB / 494.1 MB Notification: Performance of pre-optimization done (n=45): time 2.104e-06/0.5908, allocations: 0 / 0.6556 GB, free: 12.23 MB / 494.1 MB Notification: Performance of matching and sorting (n=45): time 0.003722/0.5945, allocations: 1.374 MB / 0.657 GB, free: 10.83 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.887e-05/0.5946, allocations: 63.41 kB / 0.657 GB, free: 10.75 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002826/0.5974, allocations: 2.352 MB / 0.6593 GB, free: 8.383 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 7.719e-05/0.5975, allocations: 45.7 kB / 0.6594 GB, free: 8.332 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008719/0.5984, allocations: 0.988 MB / 0.6603 GB, free: 7.332 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001559/0.5985, allocations: 169.8 kB / 0.6605 GB, free: 7.164 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004107/0.5989, allocations: 302.5 kB / 0.6608 GB, free: 6.863 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.5991, allocations: 353.9 kB / 0.6611 GB, free: 6.512 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009446/0.6001, allocations: 0.5017 MB / 0.6616 GB, free: 6.004 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001322/0.6014, allocations: 0.9854 MB / 0.6626 GB, free: 4.805 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00202/0.6034, allocations: 1.351 MB / 0.6639 GB, free: 3.305 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.165e-06/0.6034, allocations: 4 kB / 0.6639 GB, free: 3.301 MB / 494.1 MB Notification: Performance of matching and sorting (n=165) (initialization): time 0.003246/0.6067, allocations: 1.812 MB / 0.6657 GB, free: 1.473 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.9e-05/0.6068, allocations: 33.7 kB / 0.6657 GB, free: 1.434 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.731e-05/0.6068, allocations: 15.94 kB / 0.6657 GB, free: 1.418 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006708/0.6075, allocations: 188.7 kB / 0.6659 GB, free: 1.23 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008278/0.6083, allocations: 227.6 kB / 0.6661 GB, free: 1.008 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006683/0.609, allocations: 0.7631 MB / 0.6669 GB, free: 224 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001386/0.6104, allocations: 109.3 kB / 0.667 GB, free: 116 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001017/0.6105, allocations: 63.91 kB / 0.667 GB, free: 52 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001602/0.6121, allocations: 1.025 MB / 0.668 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001137/0.6132, allocations: 0.9773 MB / 0.669 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001713/0.615, allocations: 1.307 MB / 0.6703 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.272e-06/0.615, allocations: 4 kB / 0.6703 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of matching and sorting (n=165) (initialization_lambda0): time 0.002801/0.6178, allocations: 1.797 MB / 0.672 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.22e-05/0.6178, allocations: 41.7 kB / 0.6721 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.6179, allocations: 8 kB / 0.6721 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002285/0.6181, allocations: 132.2 kB / 0.6722 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000761/0.6189, allocations: 223.6 kB / 0.6724 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002075/0.621, allocations: 2.326 MB / 0.6747 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001236/0.6222, allocations: 116.4 kB / 0.6748 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.092e-05/0.6223, allocations: 55.98 kB / 0.6748 GB, free: 7.492 MB / 0.4981 GB 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.0002755/0.6226, allocations: 251.9 kB / 0.6751 GB, free: 7.238 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002464/0.6228, allocations: 213.2 kB / 0.6753 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002191/0.625, allocations: 1.043 MB / 0.6763 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.967e-06/0.6251, allocations: 4 kB / 0.6763 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-06/0.6251, allocations: 4 kB / 0.6763 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001585/0.6267, allocations: 0.9879 MB / 0.6773 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003561/0.6302, allocations: 2.315 MB / 0.6795 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.6302, allocations: 0 / 0.6795 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004888/0.6307, allocations: 91.92 kB / 0.6796 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002801/0.631, allocations: 135.4 kB / 0.6797 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.519e-05/0.6311, allocations: 19.98 kB / 0.6798 GB, free: 2.273 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005283/0.6316, allocations: 0.7357 MB / 0.6805 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.6316, allocations: 0 / 0.6805 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002544/0.6342, allocations: 1.411 MB / 0.6819 GB, free: 76 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005928/0.6348, allocations: 354.4 kB / 0.6822 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002181/0.635, allocations: 16.06 kB / 0.6822 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00086/0.6359, allocations: 79.7 kB / 0.6823 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001075/0.636, allocations: 48.38 kB / 0.6823 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.642e-05/0.6361, allocations: 27.92 kB / 0.6824 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002284/0.6383, allocations: 1.599 MB / 0.6839 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6384, allocations: 0 / 0.6839 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002675/0.641, allocations: 0.9595 MB / 0.6849 GB, free: 12.97 MB / 0.5137 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 (40): * Single equations (assignments): 34 * 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.001264/0.6423, allocations: 0.5003 MB / 0.6854 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.004041/0.6464, allocations: 2.083 MB / 0.6874 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.6464, allocations: 0 / 0.6874 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0008282/0.6472, allocations: 355.7 kB / 0.6877 GB, free: 10 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003735/0.651, allocations: 0.9865 MB / 0.6887 GB, free: 9.039 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007085/0.6581, allocations: 4.325 MB / 0.6929 GB, free: 4.676 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001386/0.6595, allocations: 1.681 MB / 0.6946 GB, free: 2.961 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002093/0.6616, allocations: 0.5633 MB / 0.6951 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003934/0.662, allocations: 167.4 kB / 0.6953 GB, free: 2.23 MB / 0.5137 GB Notification: Performance of SimCode: time 8.82e-07/0.662, allocations: 0 / 0.6953 GB, free: 2.23 MB / 0.5137 GB Notification: Performance of Templates: time 0.06757/0.7296, allocations: 39.08 MB / 0.7334 GB, free: 11.64 MB / 0.5606 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example3.makefile (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 & ./IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example3.pipe 2>&1)