Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example2.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.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example2") translateModel(IBPSA.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008405/0.0008406, allocations: 99.05 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.00088/0.00088, allocations: 181.1 kB / 16.92 MB, free: 6.723 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.333/1.333, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7264/0.7264, allocations: 123 MB / 415.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005241/0.000524, allocations: 9.406 kB / 0.4933 GB, free: 13.98 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.544/0.5446, allocations: 79.28 MB / 0.5707 GB, free: 9.883 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.Example2): time 0.03/0.5746, allocations: 29.09 MB / 0.5991 GB, free: 5.914 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01767/0.5923, allocations: 11.71 MB / 0.6106 GB, free: 13.7 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001807/0.5941, allocations: 40.84 kB / 0.6106 GB, free: 13.68 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007946/0.6021, allocations: 3.78 MB / 0.6143 GB, free: 11.79 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004339/0.6065, allocations: 1.417 MB / 0.6157 GB, free: 10.67 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003655/0.6101, allocations: 1.264 MB / 0.6169 GB, free: 9.77 MB / 462.1 MB [/var/lib/jenkins/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.01045/0.6206, allocations: 7.995 MB / 0.6247 GB, free: 5.219 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002065/0.6227, allocations: 1.134 MB / 0.6258 GB, free: 4.047 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002771/0.6255, allocations: 1.233 MB / 0.627 GB, free: 2.809 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001776/0.6272, allocations: 1.073 MB / 0.6281 GB, free: 1.73 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001486/0.6274, allocations: 56 kB / 0.6281 GB, free: 1.676 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00269/0.6301, allocations: 1.271 MB / 0.6294 GB, free: 412 kB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004382/0.6306, allocations: 458.2 kB / 0.6298 GB, free: 15.95 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000892/0.6315, allocations: 0.8912 MB / 0.6307 GB, free: 15.05 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00304/0.6345, allocations: 2.897 MB / 0.6335 GB, free: 12.14 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.6345, allocations: 0 / 0.6335 GB, free: 12.14 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.6345, allocations: 0 / 0.6335 GB, free: 12.14 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.6e-05/0.6345, allocations: 0 / 0.6335 GB, free: 12.14 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.003056/0.6376, allocations: 2.024 MB / 0.6355 GB, free: 10.05 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.6377, allocations: 11.97 kB / 0.6355 GB, free: 10.04 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001747/0.6394, allocations: 389.2 kB / 0.6359 GB, free: 9.656 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003445/0.6429, allocations: 2.332 MB / 0.6382 GB, free: 7.277 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.818e-05/0.643, allocations: 70.23 kB / 0.6382 GB, free: 7.207 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001449/0.6431, allocations: 88 kB / 0.6383 GB, free: 7.121 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001826/0.645, allocations: 1.012 MB / 0.6393 GB, free: 6.055 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.438e-05/0.645, allocations: 3.938 kB / 0.6393 GB, free: 6.051 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.366e-05/0.6451, allocations: 36 kB / 0.6393 GB, free: 6.016 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.993e-05/0.6451, allocations: 23.98 kB / 0.6394 GB, free: 5.992 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001768/0.6469, allocations: 0.7767 MB / 0.6401 GB, free: 5.211 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.005937/0.6528, allocations: 5.353 MB / 0.6453 GB, free: 15.49 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001415/0.6543, allocations: 0.5924 MB / 0.6459 GB, free: 14.89 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007502/0.655, allocations: 330.7 kB / 0.6462 GB, free: 14.57 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002205/0.6572, allocations: 1.638 MB / 0.6478 GB, free: 12.78 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007769/0.658, allocations: 339.8 kB / 0.6482 GB, free: 12.43 MB / 494.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003694/0.6584, allocations: 111.2 kB / 0.6483 GB, free: 12.32 MB / 494.1 MB Notification: Performance of pre-optimization done (n=43): time 2.244e-06/0.6584, allocations: 4 kB / 0.6483 GB, free: 12.32 MB / 494.1 MB Notification: Performance of matching and sorting (n=43): time 0.003386/0.6618, allocations: 1.246 MB / 0.6495 GB, free: 11.04 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.713e-05/0.6619, allocations: 59.41 kB / 0.6495 GB, free: 10.97 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002239/0.6641, allocations: 1.842 MB / 0.6513 GB, free: 9.086 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.425e-05/0.6642, allocations: 45.7 kB / 0.6514 GB, free: 9.035 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006783/0.6649, allocations: 0.7792 MB / 0.6522 GB, free: 8.246 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001368/0.665, allocations: 157.8 kB / 0.6523 GB, free: 8.09 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001486/0.6652, allocations: 129.6 kB / 0.6524 GB, free: 7.957 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.6653, allocations: 353.9 kB / 0.6528 GB, free: 7.605 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008609/0.6662, allocations: 450 kB / 0.6532 GB, free: 7.16 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001109/0.6673, allocations: 0.8436 MB / 0.654 GB, free: 6.156 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001785/0.6691, allocations: 1.169 MB / 0.6552 GB, free: 4.871 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.6691, allocations: 4 kB / 0.6552 GB, free: 4.867 MB / 494.1 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.002891/0.672, allocations: 1.596 MB / 0.6567 GB, free: 3.258 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002287/0.6722, allocations: 383.5 kB / 0.6571 GB, free: 2.754 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.646e-05/0.6723, allocations: 11.98 kB / 0.6571 GB, free: 2.742 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006597/0.6729, allocations: 188.6 kB / 0.6573 GB, free: 2.555 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007426/0.6737, allocations: 207.6 kB / 0.6575 GB, free: 2.352 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007211/0.6744, allocations: 0.7668 MB / 0.6582 GB, free: 1.559 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001093/0.6755, allocations: 104.9 kB / 0.6583 GB, free: 1.457 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.536e-05/0.6756, allocations: 51.98 kB / 0.6584 GB, free: 1.406 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.6757, allocations: 6.5 kB / 0.6584 GB, free: 1.402 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00238/0.678, allocations: 1.423 MB / 0.6598 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.395e-05/0.6781, allocations: 8 kB / 0.6598 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002129/0.6783, allocations: 113.4 kB / 0.6599 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006648/0.679, allocations: 195.7 kB / 0.6601 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002085/0.6811, allocations: 2.173 MB / 0.6622 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001027/0.6821, allocations: 89.44 kB / 0.6623 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.652e-05/0.6822, allocations: 47.98 kB / 0.6623 GB, free: 13.18 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 7 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,nRes.y,from_dp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (106): * Single equations (assignments): 102 * 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 {(5,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0008825/0.6831, allocations: 0.5787 MB / 0.6629 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001941/0.6833, allocations: 165.8 kB / 0.663 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002043/0.6853, allocations: 0.9118 MB / 0.6639 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.057e-05/0.6854, allocations: 4 kB / 0.6639 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.6854, allocations: 0 / 0.6639 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001563/0.6869, allocations: 0.8921 MB / 0.6648 GB, free: 10.54 MB / 0.4981 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.003386/0.6903, allocations: 2.056 MB / 0.6668 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.6904, allocations: 11.92 kB / 0.6668 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004507/0.6908, allocations: 83.88 kB / 0.6669 GB, free: 8.297 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002841/0.6911, allocations: 128.7 kB / 0.667 GB, free: 8.168 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.68e-05/0.6912, allocations: 16.05 kB / 0.6671 GB, free: 8.152 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005978/0.6918, allocations: 0.7473 MB / 0.6678 GB, free: 7.379 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.6918, allocations: 4 kB / 0.6678 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002431/0.6942, allocations: 1.258 MB / 0.669 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004798/0.6947, allocations: 330.9 kB / 0.6693 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001684/0.6949, allocations: 11.94 kB / 0.6693 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007917/0.6957, allocations: 79.86 kB / 0.6694 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.316e-05/0.6958, allocations: 40.33 kB / 0.6695 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-05/0.6958, allocations: 19.98 kB / 0.6695 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001659/0.6975, allocations: 1.246 MB / 0.6707 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.6e-07/0.6975, allocations: 7.938 kB / 0.6707 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002358/0.6999, allocations: 0.8073 MB / 0.6715 GB, free: 3.508 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump_dp.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 (38): * Single equations (assignments): 32 * 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 {(5,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001047/0.7009, allocations: 490.2 kB / 0.672 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00346/0.7044, allocations: 1.879 MB / 0.6738 GB, free: 1.117 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.7044, allocations: 0 / 0.6738 GB, free: 1.117 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008365/0.7053, allocations: 347.5 kB / 0.6741 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003247/0.7085, allocations: 0.737 MB / 0.6748 GB, free: 48 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00606/0.7146, allocations: 3.576 MB / 0.6783 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009824/0.7156, allocations: 1.44 MB / 0.6797 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.00159/0.7172, allocations: 441.2 kB / 0.6802 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003282/0.7175, allocations: 135.4 kB / 0.6803 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of SimCode: time 7.81e-07/0.7175, allocations: 0 / 0.6803 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of Templates: time 0.05047/0.768, allocations: 31.91 MB / 0.7114 GB, free: 10.86 MB / 0.545 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example2.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example2.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example2.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example2.sim & ./IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example2.pipe 2>&1)