Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestGasValveOpPoint.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.GasComponents.TestGasValveOpPoint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasValveOpPoint") translateModel(ThermoPower.Test.GasComponents.TestGasValveOpPoint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasValveOpPoint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001671/0.001671, allocations: 114.7 kB / 17.75 MB, free: 5.277 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.00128/0.00128, allocations: 187 kB / 18.68 MB, free: 4.355 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.688/1.688, allocations: 205.1 MB / 224.6 MB, free: 12.19 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4118/0.4118, allocations: 48.85 MB / 320.8 MB, free: 10.99 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.913e-05/2.913e-05, allocations: 2.281 kB / 451.1 MB, free: 8.617 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasValveOpPoint): time 0.6659/0.6659, allocations: 210.9 MB / 0.6465 GB, free: 1 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.007016/0.673, allocations: 2.998 MB / 0.6494 GB, free: 14 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001187/0.6742, allocations: 19.88 kB / 0.6494 GB, free: 13.98 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002026/0.6763, allocations: 0.6446 MB / 0.6501 GB, free: 13.33 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00217/0.6786, allocations: 0.8895 MB / 0.6509 GB, free: 12.43 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004882/0.6834, allocations: 1.578 MB / 0.6525 GB, free: 10.86 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.004134/0.6876, allocations: 2.891 MB / 0.6553 GB, free: 7.961 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001262/0.6889, allocations: 0.8899 MB / 0.6562 GB, free: 7.059 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001893/0.6908, allocations: 1.084 MB / 0.6572 GB, free: 5.973 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009552/0.6917, allocations: 0.8522 MB / 0.658 GB, free: 5.117 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000205/0.692, allocations: 132 kB / 0.6582 GB, free: 4.988 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002616/0.6946, allocations: 1.056 MB / 0.6592 GB, free: 3.93 MB / 478.1 MB Notification: Performance of combineBinaries: time 0.001907/0.6965, allocations: 2.314 MB / 0.6615 GB, free: 1.594 MB / 478.1 MB Notification: Performance of replaceArrayConstructors: time 0.001003/0.6975, allocations: 1.386 MB / 0.6628 GB, free: 196 kB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003742/0.6979, allocations: 239.4 kB / 0.663 GB, free: 15.95 MB / 494.1 MB Notification: Performance of FrontEnd: time 0.0002295/0.6981, allocations: 35.78 kB / 0.6631 GB, free: 15.92 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 340 (220) * Number of variables: 340 (220) Notification: Performance of Bindings: time 0.006199/0.7043, allocations: 6.416 MB / 0.6693 GB, free: 9.316 MB / 494.1 MB Notification: Performance of FunctionAlias: time 0.0004626/0.7048, allocations: 391.2 kB / 0.6697 GB, free: 8.934 MB / 494.1 MB Notification: Performance of Early Inline: time 0.003424/0.7083, allocations: 3.536 MB / 0.6732 GB, free: 5.352 MB / 494.1 MB Notification: Performance of simplify1: time 0.0002976/0.7086, allocations: 287.6 kB / 0.6734 GB, free: 5.07 MB / 494.1 MB Notification: Performance of Alias: time 0.005181/0.7138, allocations: 4.402 MB / 0.6777 GB, free: 392 kB / 494.1 MB Notification: Performance of simplify2: time 0.0002765/0.714, allocations: 251.6 kB / 0.678 GB, free: 140 kB / 494.1 MB Notification: Performance of Detect States: time 0.0007908/0.7148, allocations: 0.7256 MB / 0.6787 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of Events: time 0.0009597/0.7158, allocations: 0.7634 MB / 0.6794 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of Partitioning: time 0.001373/0.7172, allocations: 1.311 MB / 0.6807 GB, free: 13.08 MB / 0.4981 GB Error: Internal error NBSlice.resolveDependency (single dependency) failed because list of scalar variables(4) {Valve1.gas.X[1], Valve1.gas.X[2], Valve1.gas.X[3], Valve1.gas.X[4]}, does not fit the equation size 1. Error: Internal error NBSlice.resolveDependency failed for: Valve1.gas.X. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [SCAL] (1) Valve1.gas.R = {259.8369938872708, 461.5233290850878, 208.1323720837088, 296.8033869505308} * Valve1.gas.X ($RES_SIM_185)