Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.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.Movers.Examples.SpeedControlled_y_pumpCurves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves") translateModel(IBPSA.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007902/0.0007904, allocations: 92.8 kB / 16.02 MB, free: 84 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.0008543/0.0008543, allocations: 182.2 kB / 16.92 MB, free: 6.684 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.378/1.378, allocations: 223.2 MB / 241 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6818/0.6818, allocations: 115.5 MB / 407.6 MB, free: 2.738 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000321/0.0003213, allocations: 13.45 kB / 495.9 MB, free: 6.383 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1629/0.1632, allocations: 77.53 MB / 0.5599 GB, free: 9.07 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves): time 0.3813/0.5446, allocations: 103.9 MB / 0.6614 GB, free: 14.42 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.04929/0.5939, allocations: 35.2 MB / 0.6957 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005951/0.5999, allocations: 139.1 kB / 0.6959 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.02895/0.6289, allocations: 18.63 MB / 0.7141 GB, free: 8.926 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.01396/0.6428, allocations: 4.997 MB / 0.719 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.009254/0.6521, allocations: 3.717 MB / 0.7226 GB, free: 224 kB / 0.5294 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.0002, 0.0004, 0.0005999999999999999, 0.0008, 0.0009000000000000001}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.05058/0.7027, allocations: 36.09 MB / 0.7578 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005553/0.7083, allocations: 2.995 MB / 0.7608 GB, free: 9.012 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008042/0.7164, allocations: 3.492 MB / 0.7642 GB, free: 5.504 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005739/0.7221, allocations: 3.286 MB / 0.7674 GB, free: 2.203 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001077/0.7232, allocations: 188 kB / 0.7676 GB, free: 2.02 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006388/0.7296, allocations: 2.729 MB / 0.7702 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.002176/0.7318, allocations: 1.662 MB / 0.7718 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.004198/0.736, allocations: 2.748 MB / 0.7745 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01074/0.7468, allocations: 8.902 MB / 0.7832 GB, free: 1.914 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.7468, allocations: 8 kB / 0.7832 GB, free: 1.906 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.893e-06/0.7469, allocations: 0 / 0.7832 GB, free: 1.906 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001707/0.747, allocations: 0 / 0.7832 GB, free: 1.906 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 545 * Number of variables: 545 Notification: Performance of Generate backend data structure: time 0.01008/0.7571, allocations: 5.411 MB / 0.7885 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.7572, allocations: 8.031 kB / 0.7885 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01152/0.7687, allocations: 2.045 MB / 0.7905 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01647/0.7852, allocations: 7.412 MB / 0.7978 GB, free: 2.809 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003426/0.7856, allocations: 201.2 kB / 0.798 GB, free: 2.609 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008191/0.7864, allocations: 248 kB / 0.7982 GB, free: 2.367 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006785/0.7932, allocations: 3.416 MB / 0.8015 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.105e-05/0.7933, allocations: 7.938 kB / 0.8015 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002604/0.7936, allocations: 88 kB / 0.8016 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.949e-05/0.7936, allocations: 52 kB / 0.8017 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006889/0.8005, allocations: 2.643 MB / 0.8042 GB, free: 12.01 MB / 0.6231 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.02288/0.8234, allocations: 15.03 MB / 0.8189 GB, free: 12.1 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006251/0.8297, allocations: 2.507 MB / 0.8214 GB, free: 9.59 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002728/0.8324, allocations: 1.104 MB / 0.8224 GB, free: 8.484 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008749/0.8412, allocations: 5.471 MB / 0.8278 GB, free: 2.688 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.631e-05/0.8413, allocations: 51.53 kB / 0.8278 GB, free: 2.629 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001411/0.8427, allocations: 257.5 kB / 0.8281 GB, free: 2.375 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=119): time 3.086e-06/0.8427, allocations: 0 / 0.8281 GB, free: 2.375 MB / 0.6387 GB Notification: Performance of matching and sorting (n=119): time 0.2764/1.119, allocations: 4.351 MB / 0.8323 GB, free: 221.7 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.042e-05/1.119, allocations: 71.83 kB / 0.8324 GB, free: 221.6 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009149/1.128, allocations: 5.623 MB / 0.8379 GB, free: 220.1 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0004544/1.129, allocations: 62.8 kB / 0.838 GB, free: 220 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001787/1.131, allocations: 2.276 MB / 0.8402 GB, free: 218.6 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004548/1.131, allocations: 435.2 kB / 0.8406 GB, free: 218.3 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005871/1.132, allocations: 439.6 kB / 0.841 GB, free: 218.2 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 3.647e-05/1.132, allocations: 302.5 kB / 0.8413 GB, free: 217.9 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00527/1.137, allocations: 2.928 MB / 0.8442 GB, free: 216.8 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00567/1.143, allocations: 3.822 MB / 0.8479 GB, free: 214.8 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009782/1.152, allocations: 6.258 MB / 0.854 GB, free: 211.9 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-05/1.152, allocations: 5.156 kB / 0.854 GB, free: 211.9 MB / 0.6387 GB Notification: Performance of matching and sorting (n=507) (initialization): time 0.01347/1.166, allocations: 7.901 MB / 0.8617 GB, free: 209 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003566/1.166, allocations: 0.6452 MB / 0.8624 GB, free: 208.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.095e-05/1.166, allocations: 18.38 kB / 0.8624 GB, free: 208.1 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001958/1.168, allocations: 0.9717 MB / 0.8633 GB, free: 207.8 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002905/1.171, allocations: 0.6898 MB / 0.864 GB, free: 207.8 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001804/1.173, allocations: 2.963 MB / 0.8669 GB, free: 205.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004602/1.178, allocations: 333.2 kB / 0.8672 GB, free: 205.2 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004649/1.178, allocations: 223.8 kB / 0.8674 GB, free: 205.2 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/1.178, allocations: 5.938 kB / 0.8674 GB, free: 205.2 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01039/1.189, allocations: 6.513 MB / 0.8738 GB, free: 202.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.896e-05/1.189, allocations: 18.41 kB / 0.8738 GB, free: 202.8 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002826/1.191, allocations: 1.073 MB / 0.8748 GB, free: 202.5 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002424/1.194, allocations: 0.6624 MB / 0.8755 GB, free: 201.8 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01518/1.209, allocations: 14.73 MB / 0.8899 GB, free: 186.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003885/1.213, allocations: 330.2 kB / 0.8902 GB, free: 186.3 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002686/1.213, allocations: 191.9 kB / 0.8904 GB, free: 186.1 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 81 * 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 (343): * Single equations (assignments): 331 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,4), (1,4), (1,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.002047/1.215, allocations: 1.313 MB / 0.8917 GB, free: 184.8 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005747/1.216, allocations: 493.3 kB / 0.8921 GB, free: 184.3 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0077/1.224, allocations: 3.645 MB / 0.8957 GB, free: 180.7 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.616e-05/1.224, allocations: 15.98 kB / 0.8957 GB, free: 180.7 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/1.224, allocations: 0 / 0.8957 GB, free: 180.7 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.363e-05/1.224, allocations: 3.984 kB / 0.8957 GB, free: 180.7 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 postOpt removeSimpleEquations (simulation): time 0.01083/1.235, allocations: 6.611 MB / 0.9022 GB, free: 174.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/1.235, allocations: 0 / 0.9022 GB, free: 174.1 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001724/1.236, allocations: 331 kB / 0.9025 GB, free: 173.8 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000918/1.237, allocations: 468.6 kB / 0.9029 GB, free: 173.3 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001226/1.237, allocations: 59 kB / 0.903 GB, free: 173.2 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001452/1.239, allocations: 2.802 MB / 0.9057 GB, free: 170.3 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/1.239, allocations: 0 / 0.9057 GB, free: 170.3 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007106/1.246, allocations: 3.325 MB / 0.909 GB, free: 167 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002056/1.248, allocations: 0.8104 MB / 0.9098 GB, free: 166.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006123/1.249, allocations: 20 kB / 0.9098 GB, free: 166.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002683/1.251, allocations: 273.6 kB / 0.91 GB, free: 165.9 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001624/1.252, allocations: 101.1 kB / 0.9101 GB, free: 165.8 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001598/1.252, allocations: 91.94 kB / 0.9102 GB, free: 165.7 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.005092/1.257, allocations: 3.708 MB / 0.9138 GB, free: 162 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.41e-07/1.257, allocations: 0 / 0.9138 GB, free: 162 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.006364/1.263, allocations: 2.418 MB / 0.9162 GB, free: 159.7 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (125): * Single equations (assignments): 111 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,5), (1,5), (1,5), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001717/1.265, allocations: 0.9103 MB / 0.9171 GB, free: 158.9 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01255/1.277, allocations: 8.447 MB / 0.9253 GB, free: 150.4 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.171e-06/1.277, allocations: 4 kB / 0.9253 GB, free: 150.4 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002825/1.28, allocations: 1.248 MB / 0.9266 GB, free: 149.2 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01111/1.291, allocations: 2.403 MB / 0.9289 GB, free: 146.9 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01432/1.306, allocations: 10.38 MB / 0.939 GB, free: 136.4 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002164/1.308, allocations: 2.965 MB / 0.9419 GB, free: 133.4 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.006087/1.314, allocations: 1.395 MB / 0.9433 GB, free: 132 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001108/1.315, allocations: 395.2 kB / 0.9437 GB, free: 131.7 MB / 0.6387 GB Notification: Performance of SimCode: time 1.232e-06/1.315, allocations: 0 / 0.9437 GB, free: 131.7 MB / 0.6387 GB Notification: Performance of Templates: time 0.1434/1.459, allocations: 108.9 MB / 1.05 GB, free: 23.76 MB / 0.6387 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.sim & ./IBPSA_latest_IBPSA.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe 2>&1)