Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestValves.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ThermoPower.Test.WaterComponents.TestValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestValves") translateModel(ThermoPower.Test.WaterComponents.TestValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001209/0.001209, allocations: 117.2 kB / 17.76 MB, free: 5.32 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.001218/0.001218, allocations: 188.5 kB / 18.69 MB, free: 4.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.234/1.234, allocations: 205.1 MB / 224.6 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2521/0.2521, allocations: 48.85 MB / 320.8 MB, free: 11.01 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.936e-05/1.936e-05, allocations: 2.281 kB / 451.2 MB, free: 8.605 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestValves): time 0.06208/0.0621, allocations: 71.02 MB / 0.5099 GB, free: 1.344 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01382/0.07592, allocations: 11.91 MB / 0.5216 GB, free: 5.391 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006315/0.07655, allocations: 19.88 kB / 0.5216 GB, free: 5.371 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001217/0.07777, allocations: 409.1 kB / 0.522 GB, free: 4.969 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009083/0.07867, allocations: 0.5239 MB / 0.5225 GB, free: 4.441 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1869/0.2656, allocations: 5.557 MB / 0.5279 GB, free: 10.76 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001812/0.2674, allocations: 1.522 MB / 0.5294 GB, free: 10.76 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006325/0.2681, allocations: 489.5 kB / 0.5299 GB, free: 10.73 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007051/0.2688, allocations: 0.5405 MB / 0.5304 GB, free: 10.73 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005383/0.2693, allocations: 0.5486 MB / 0.5309 GB, free: 10.73 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.865e-05/0.2694, allocations: 61.81 kB / 0.531 GB, free: 10.73 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008762/0.2782, allocations: 5.977 MB / 0.5368 GB, free: 10.72 MB / 414.1 MB Notification: Performance of combineBinaries: time 0.001171/0.2793, allocations: 1.425 MB / 0.5382 GB, free: 10.14 MB / 414.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003857/0.2797, allocations: 0.8649 MB / 0.5391 GB, free: 9.562 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00025/0.28, allocations: 151.8 kB / 0.5392 GB, free: 9.535 MB / 414.1 MB Notification: Performance of FrontEnd: time 0.0001538/0.2801, allocations: 23.09 kB / 0.5392 GB, free: 9.531 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 128 (108) * Number of variables: 128 (128) Notification: Performance of Bindings: time 0.002062/0.2822, allocations: 2.888 MB / 0.5421 GB, free: 8.043 MB / 414.1 MB Notification: Performance of FunctionAlias: time 0.0005966/0.2828, allocations: 0.5177 MB / 0.5426 GB, free: 7.922 MB / 414.1 MB Notification: Performance of Early Inline: time 0.001488/0.2843, allocations: 1.64 MB / 0.5442 GB, free: 7.809 MB / 414.1 MB Notification: Performance of simplify1: time 0.0002317/0.2845, allocations: 263.7 kB / 0.5444 GB, free: 7.715 MB / 414.1 MB Warning: NBAlias.setStartFixed: No variables are fixed and they have different start values. Use -d=dumprepl for more information. Notification: Performance of Alias: time 0.0025/0.287, allocations: 2.248 MB / 0.5466 GB, free: 6.887 MB / 414.1 MB Notification: Performance of simplify2: time 0.0001851/0.2872, allocations: 184.1 kB / 0.5468 GB, free: 6.812 MB / 414.1 MB Notification: Performance of Detect States: time 0.0002375/0.2874, allocations: 274.7 kB / 0.547 GB, free: 6.711 MB / 414.1 MB Notification: Performance of Events: time 0.0001872/0.2876, allocations: 151.8 kB / 0.5472 GB, free: 6.695 MB / 414.1 MB Notification: Performance of Partitioning: time 0.0005689/0.2882, allocations: 0.5701 MB / 0.5477 GB, free: 6.52 MB / 414.1 MB Notification: Performance of Causalize: time 0.001607/0.2898, allocations: 1.629 MB / 0.5493 GB, free: 6.102 MB / 414.1 MB Notification: Performance of After Index Reduction Inline: time 0.0007175/0.2905, allocations: 0.9843 MB / 0.5503 GB, free: 6.035 MB / 414.1 MB Notification: Performance of Inline: time 0.002057/0.2926, allocations: 2.416 MB / 0.5527 GB, free: 5.66 MB / 414.1 MB Notification: Performance of Partitioning: time 6.901e-05/0.2926, allocations: 51.5 kB / 0.5527 GB, free: 5.613 MB / 414.1 MB Notification: Performance of Cleanup: time 0.0003222/0.2929, allocations: 0.5095 MB / 0.5532 GB, free: 5.586 MB / 414.1 MB Notification: Performance of Causalize: time 0.004347/0.2973, allocations: 4.256 MB / 0.5574 GB, free: 4.566 MB / 414.1 MB Error: Internal error NBDifferentiate.differentiateBuiltinCall2Arg failed for: $OMC$PositiveMax Error: Internal error NBInitialization.main failed to apply modules!