Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves") translateModel(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.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.001072/0.001076, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008408/0.008409, allocations: 170 kB / 16.26 MB, free: 6.613 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.447/1.447, allocations: 223.2 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.744/2.744, allocations: 473.4 MB / 0.7469 GB, free: 6.004 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003826/0.0003826, allocations: 10.75 kB / 0.9158 GB, free: 33 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3895/0.3899, allocations: 162.2 MB / 1.074 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves): time 0.1042/0.4941, allocations: 103.9 MB / 1.176 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.06484/0.559, allocations: 35.21 MB / 1.21 GB, free: 11.97 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009672/0.5687, allocations: 139.1 kB / 1.21 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.03258/0.6013, allocations: 18.64 MB / 1.228 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.01994/0.6213, allocations: 4.997 MB / 1.233 GB, free: 4.148 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.01439/0.6357, allocations: 3.717 MB / 1.237 GB, free: 464 kB / 0.9825 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.8603/1.496, allocations: 36.07 MB / 1.272 GB, free: 39.23 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009222/1.505, allocations: 3.002 MB / 1.275 GB, free: 38.96 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0162/1.522, allocations: 3.488 MB / 1.278 GB, free: 38.95 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009321/1.531, allocations: 3.284 MB / 1.282 GB, free: 38.73 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001994/1.533, allocations: 190.8 kB / 1.282 GB, free: 38.73 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009903/1.543, allocations: 2.732 MB / 1.284 GB, free: 38.73 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.003656/1.547, allocations: 1.654 MB / 1.286 GB, free: 38.5 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.009157/1.556, allocations: 2.755 MB / 1.289 GB, free: 37.55 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01795/1.574, allocations: 8.899 MB / 1.297 GB, free: 36.47 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.755e-06/1.574, allocations: 2.344 kB / 1.297 GB, free: 36.47 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.527e-06/1.574, allocations: 0 / 1.297 GB, free: 36.47 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0003828/1.574, allocations: 0 / 1.297 GB, free: 36.47 MB / 0.9981 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.01616/1.59, allocations: 5.409 MB / 1.303 GB, free: 33.54 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.359e-05/1.59, allocations: 11.06 kB / 1.303 GB, free: 33.54 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01219/1.603, allocations: 2.045 MB / 1.305 GB, free: 33.12 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0185/1.621, allocations: 7.414 MB / 1.312 GB, free: 31.95 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005098/1.622, allocations: 200.9 kB / 1.312 GB, free: 31.95 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001339/1.623, allocations: 250 kB / 1.312 GB, free: 31.95 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006947/1.63, allocations: 3.425 MB / 1.316 GB, free: 31.39 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.731e-05/1.63, allocations: 7.031 kB / 1.316 GB, free: 31.39 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002643/1.63, allocations: 85.47 kB / 1.316 GB, free: 31.39 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.946e-05/1.631, allocations: 53 kB / 1.316 GB, free: 31.39 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006561/1.637, allocations: 2.637 MB / 1.318 GB, free: 30.93 MB / 0.9981 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.02623/1.663, allocations: 15.03 MB / 1.333 GB, free: 22.15 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00665/1.67, allocations: 2.51 MB / 1.336 GB, free: 21.73 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002713/1.673, allocations: 1.101 MB / 1.337 GB, free: 21.54 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01299/1.686, allocations: 5.475 MB / 1.342 GB, free: 18.59 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.068e-05/1.686, allocations: 56.36 kB / 1.342 GB, free: 18.54 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004022/1.69, allocations: 250.3 kB / 1.342 GB, free: 18.39 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=119): time 1.084e-05/1.69, allocations: 3.094 kB / 1.342 GB, free: 18.39 MB / 0.9981 GB Notification: Performance of matching and sorting (n=119): time 0.01368/1.704, allocations: 4.368 MB / 1.347 GB, free: 16.98 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.35e-05/1.704, allocations: 67.5 kB / 1.347 GB, free: 16.92 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01436/1.718, allocations: 5.616 MB / 1.352 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.001088/1.719, allocations: 59.64 kB / 1.352 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.003604/1.723, allocations: 2.271 MB / 1.354 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001067/1.724, allocations: 442.9 kB / 1.355 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001327/1.725, allocations: 435.9 kB / 1.355 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.704e-05/1.725, allocations: 301.1 kB / 1.356 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005554/1.731, allocations: 2.927 MB / 1.358 GB, free: 12.17 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005839/1.737, allocations: 3.83 MB / 1.362 GB, free: 9.684 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008984/1.746, allocations: 6.254 MB / 1.368 GB, free: 3.32 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-05/1.746, allocations: 8 kB / 1.368 GB, free: 3.312 MB / 0.9981 GB Notification: Performance of matching and sorting (n=507) (initialization): time 0.01421/1.76, allocations: 7.895 MB / 1.376 GB, free: 11.48 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005542/1.761, allocations: 0.641 MB / 1.377 GB, free: 10.59 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.838e-05/1.761, allocations: 16 kB / 1.377 GB, free: 10.57 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002188/1.763, allocations: 0.9776 MB / 1.378 GB, free: 9.594 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003316/1.766, allocations: 0.6943 MB / 1.378 GB, free: 8.938 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002916/1.769, allocations: 2.966 MB / 1.381 GB, free: 5.879 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006451/1.776, allocations: 337.8 kB / 1.381 GB, free: 5.555 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009011/1.777, allocations: 223.9 kB / 1.382 GB, free: 5.336 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/1.777, allocations: 4 kB / 1.382 GB, free: 5.332 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01483/1.791, allocations: 6.512 MB / 1.388 GB, free: 14.91 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-05/1.792, allocations: 16 kB / 1.388 GB, free: 14.89 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003329/1.795, allocations: 1.077 MB / 1.389 GB, free: 13.81 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003062/1.798, allocations: 0.6537 MB / 1.39 GB, free: 13.19 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02095/1.819, allocations: 14.74 MB / 1.404 GB, free: 13.89 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005935/1.825, allocations: 331.7 kB / 1.404 GB, free: 13.57 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009583/1.826, allocations: 188 kB / 1.405 GB, free: 13.39 MB / 1.045 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.004355/1.83, allocations: 1.322 MB / 1.406 GB, free: 12.09 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001811/1.832, allocations: 497.3 kB / 1.406 GB, free: 11.6 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01092/1.843, allocations: 3.624 MB / 1.41 GB, free: 7.98 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.896e-05/1.843, allocations: 19.98 kB / 1.41 GB, free: 7.961 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.154e-05/1.843, allocations: 0 / 1.41 GB, free: 7.961 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.628e-05/1.843, allocations: 7.969 kB / 1.41 GB, free: 7.953 MB / 1.045 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.02043/1.864, allocations: 6.63 MB / 1.416 GB, free: 1.301 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.398e-05/1.864, allocations: 0 / 1.416 GB, free: 1.301 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001919/1.866, allocations: 325.2 kB / 1.417 GB, free: 0.9922 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001141/1.867, allocations: 453.9 kB / 1.417 GB, free: 0.5391 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000215/1.867, allocations: 59.89 kB / 1.417 GB, free: 492 kB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002543/1.87, allocations: 2.804 MB / 1.42 GB, free: 13.59 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/1.87, allocations: 2.812 kB / 1.42 GB, free: 13.59 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009238/1.879, allocations: 3.324 MB / 1.423 GB, free: 10.23 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003472/1.882, allocations: 0.8064 MB / 1.424 GB, free: 9.398 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001915/1.884, allocations: 28 kB / 1.424 GB, free: 9.371 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004346/1.889, allocations: 259.6 kB / 1.424 GB, free: 9.117 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000258/1.889, allocations: 100.3 kB / 1.424 GB, free: 9.02 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002539/1.889, allocations: 95.92 kB / 1.424 GB, free: 8.926 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.009798/1.899, allocations: 3.712 MB / 1.428 GB, free: 5.223 MB / 1.061 GB Notification: Performance of sort global known variables: time 5.81e-07/1.899, allocations: 3.938 kB / 1.428 GB, free: 5.219 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.01437/1.913, allocations: 2.429 MB / 1.43 GB, free: 2.789 MB / 1.061 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.003031/1.917, allocations: 0.8975 MB / 1.431 GB, free: 1.965 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.01834/1.935, allocations: 8.456 MB / 1.44 GB, free: 9.602 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 8.877e-06/1.935, allocations: 0 / 1.44 GB, free: 9.602 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.003411/1.938, allocations: 1.236 MB / 1.441 GB, free: 8.391 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.015/1.953, allocations: 2.4 MB / 1.443 GB, free: 6.02 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02019/1.974, allocations: 10.39 MB / 1.453 GB, free: 11.59 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003388/1.977, allocations: 2.965 MB / 1.456 GB, free: 8.602 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.007923/1.985, allocations: 1.393 MB / 1.458 GB, free: 7.215 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001413/1.986, allocations: 395.2 kB / 1.458 GB, free: 6.828 MB / 1.092 GB Notification: Performance of SimCode: time 1.322e-06/1.986, allocations: 0 / 1.458 GB, free: 6.828 MB / 1.092 GB Notification: Performance of Templates: time 0.2052/2.192, allocations: 109 MB / 1.564 GB, free: 11.54 MB / 1.201 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.sim & ./Buildings_3.0.0_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe 2>&1)