Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example1v1.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.Example1v1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example1v1") translateModel(IBPSA.Fluid.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example1v1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001111/0.00111, allocations: 98.66 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.001508/0.001508, allocations: 182.2 kB / 16.92 MB, free: 6.711 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.362/1.362, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7246/0.7246, allocations: 123 MB / 415.1 MB, free: 11.1 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003485/0.0003485, allocations: 9.062 kB / 0.4933 GB, free: 13.97 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4006/0.4009, allocations: 79.29 MB / 0.5707 GB, free: 9.891 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.Example1v1): time 0.07711/0.4781, allocations: 70.86 MB / 0.6399 GB, free: 5.551 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0301/0.5083, allocations: 18.74 MB / 0.6582 GB, free: 2.77 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003524/0.5118, allocations: 87.44 kB / 0.6583 GB, free: 2.684 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00824/0.5201, allocations: 4.026 MB / 0.6623 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006739/0.5268, allocations: 2.255 MB / 0.6645 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004973/0.5318, allocations: 1.885 MB / 0.6663 GB, free: 10.52 MB / 0.4981 GB [/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.0002008867139553991}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.01516/0.547, allocations: 13.6 MB / 0.6796 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007489/0.5545, allocations: 5.6 MB / 0.6851 GB, free: 7.227 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006526/0.5611, allocations: 2.761 MB / 0.6878 GB, free: 4.453 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004004/0.5651, allocations: 2.469 MB / 0.6902 GB, free: 1.973 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0004726/0.5656, allocations: 128 kB / 0.6903 GB, free: 1.848 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003472/0.5691, allocations: 1.443 MB / 0.6917 GB, free: 412 kB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0008406/0.5699, allocations: 0.7506 MB / 0.6924 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.00239/0.5723, allocations: 1.785 MB / 0.6942 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.007237/0.5796, allocations: 5.068 MB / 0.6991 GB, free: 8.762 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.5796, allocations: 0 / 0.6991 GB, free: 8.762 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.758e-06/0.5796, allocations: 8 kB / 0.6991 GB, free: 8.754 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.87e-05/0.5797, allocations: 3.938 kB / 0.6991 GB, free: 8.75 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 402 * Number of variables: 402 Notification: Performance of Generate backend data structure: time 0.007417/0.5871, allocations: 4.15 MB / 0.7032 GB, free: 4.516 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.5872, allocations: 12.03 kB / 0.7032 GB, free: 4.504 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003029/0.5902, allocations: 0.7017 MB / 0.7039 GB, free: 3.797 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006261/0.5965, allocations: 3.664 MB / 0.7075 GB, free: 72 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001739/0.5967, allocations: 155.8 kB / 0.7076 GB, free: 15.91 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003322/0.597, allocations: 188 kB / 0.7078 GB, free: 15.73 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003992/0.601, allocations: 2.347 MB / 0.7101 GB, free: 13.24 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.95e-05/0.6011, allocations: 7.938 kB / 0.7101 GB, free: 13.23 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001748/0.6013, allocations: 72 kB / 0.7102 GB, free: 13.16 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.319e-05/0.6013, allocations: 40 kB / 0.7102 GB, free: 13.12 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003709/0.605, allocations: 1.951 MB / 0.7121 GB, free: 11.17 MB / 0.545 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.01545/0.6205, allocations: 12.06 MB / 0.7239 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002918/0.6235, allocations: 1.393 MB / 0.7252 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001715/0.6252, allocations: 1.025 MB / 0.7262 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006992/0.6322, allocations: 3.826 MB / 0.73 GB, free: 7.973 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001578/0.6338, allocations: 0.7897 MB / 0.7307 GB, free: 7.172 MB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002052/0.6359, allocations: 466.3 kB / 0.7312 GB, free: 6.715 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=95): time 6.151e-06/0.6359, allocations: 4 kB / 0.7312 GB, free: 6.711 MB / 0.5606 GB Notification: Performance of matching and sorting (n=95): time 0.0128/0.6487, allocations: 4.277 MB / 0.7354 GB, free: 2.379 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.88e-05/0.6488, allocations: 60.41 kB / 0.7354 GB, free: 2.309 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005704/0.6545, allocations: 3.435 MB / 0.7388 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.00023/0.6547, allocations: 57.7 kB / 0.7388 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001503/0.6563, allocations: 1.567 MB / 0.7404 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000398/0.6567, allocations: 343.2 kB / 0.7407 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003005/0.657, allocations: 189.6 kB / 0.7409 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.608e-05/0.6571, allocations: 309.1 kB / 0.7412 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001767/0.6589, allocations: 0.8549 MB / 0.742 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00232/0.6612, allocations: 1.656 MB / 0.7436 GB, free: 9.508 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00369/0.6649, allocations: 2.245 MB / 0.7458 GB, free: 7.059 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.681e-05/0.6649, allocations: 4 kB / 0.7458 GB, free: 7.055 MB / 0.5762 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.007301/0.6722, allocations: 3.314 MB / 0.7491 GB, free: 3.715 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005811/0.6728, allocations: 0.5714 MB / 0.7496 GB, free: 2.934 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.448e-05/0.6729, allocations: 16 kB / 0.7496 GB, free: 2.918 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002515/0.6754, allocations: 0.6961 MB / 0.7503 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001531/0.677, allocations: 361.2 kB / 0.7507 GB, free: 1.859 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001943/0.6789, allocations: 1.9 MB / 0.7525 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003079/0.682, allocations: 201.1 kB / 0.7527 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002652/0.6823, allocations: 83.97 kB / 0.7528 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.6823, allocations: 6.344 kB / 0.7528 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005356/0.6877, allocations: 2.864 MB / 0.7556 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.645e-05/0.6878, allocations: 12 kB / 0.7556 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009568/0.6887, allocations: 473.3 kB / 0.756 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001337/0.6901, allocations: 349.1 kB / 0.7564 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006943/0.697, allocations: 5.854 MB / 0.7621 GB, free: 5.754 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002661/0.6997, allocations: 209.1 kB / 0.7623 GB, free: 5.551 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002511/0.7, allocations: 87.95 kB / 0.7624 GB, free: 5.465 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,from_dp.y,nRes.y,allowFlowReversal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (167): * Single equations (assignments): 162 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,40), (2,5)} Notification: Performance of prepare postOptimizeDAE: time 0.002021/0.702, allocations: 0.935 MB / 0.7633 GB, free: 4.52 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008495/0.7029, allocations: 335.7 kB / 0.7636 GB, free: 4.188 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005198/0.7081, allocations: 2.328 MB / 0.7659 GB, free: 1.836 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.747e-05/0.7081, allocations: 12 kB / 0.7659 GB, free: 1.824 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.7081, allocations: 4 kB / 0.7659 GB, free: 1.82 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00348/0.7116, allocations: 2.038 MB / 0.7679 GB, free: 15.71 MB / 0.6075 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.00911/0.7207, allocations: 4.562 MB / 0.7723 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/0.7208, allocations: 3.938 kB / 0.7724 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008498/0.7216, allocations: 153.7 kB / 0.7725 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001126/0.7228, allocations: 481 kB / 0.773 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.926e-05/0.7229, allocations: 31.92 kB / 0.773 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001796/0.7247, allocations: 1.854 MB / 0.7748 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.7247, allocations: 0 / 0.7748 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005997/0.7307, allocations: 3.125 MB / 0.7778 GB, free: 5.328 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001451/0.7322, allocations: 0.5591 MB / 0.7784 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007207/0.7329, allocations: 16 kB / 0.7784 GB, free: 4.73 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002142/0.7351, allocations: 167.7 kB / 0.7786 GB, free: 4.566 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001843/0.7353, allocations: 64.91 kB / 0.7786 GB, free: 4.504 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001042/0.7354, allocations: 39.97 kB / 0.7787 GB, free: 4.465 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.004422/0.7398, allocations: 2.331 MB / 0.7809 GB, free: 2.121 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.61e-07/0.7398, allocations: 0 / 0.7809 GB, free: 2.121 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.005576/0.7454, allocations: 1.521 MB / 0.7824 GB, free: 0.5977 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pump.vol.dynBal.U,hea.outCon.T) * 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 (57): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,5), (1,40)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001687/0.7471, allocations: 0.5663 MB / 0.783 GB, free: 28 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.008263/0.7554, allocations: 3.686 MB / 0.7866 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/0.7554, allocations: 0 / 0.7866 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001758/0.7572, allocations: 0.777 MB / 0.7873 GB, free: 11.52 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008391/0.7656, allocations: 1.364 MB / 0.7887 GB, free: 10.17 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.013/0.7786, allocations: 6.973 MB / 0.7955 GB, free: 3.156 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00249/0.7812, allocations: 2.22 MB / 0.7977 GB, free: 0.9062 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.003656/0.7848, allocations: 0.7717 MB / 0.7984 GB, free: 132 kB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008622/0.7857, allocations: 223.4 kB / 0.7986 GB, free: 15.91 MB / 0.6387 GB Notification: Performance of SimCode: time 1.212e-06/0.7857, allocations: 0 / 0.7986 GB, free: 15.91 MB / 0.6387 GB Notification: Performance of Templates: time 0.4099/1.196, allocations: 58.89 MB / 0.8561 GB, free: 195.2 MB / 0.6387 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example1v1.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example1v1.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example1v1.sim & ./IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example1v1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example1v1.pipe 2>&1)