Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000856/0.000856, allocations: 84.23 kB / 20.06 MB, free: 4.465 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008784/0.0008784, allocations: 173.9 kB / 23.35 MB, free: 1.164 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9378/0.9378, allocations: 177.1 MB / 203.7 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7283/0.7283, allocations: 154.6 MB / 414.7 MB, free: 0.7891 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal") translateModel(IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.856e-05/2.856e-05, allocations: 5.375 kB / 0.6195 GB, free: 13.14 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal): time 0.4181/0.4181, allocations: 76.6 MB / 0.6943 GB, free: 52.23 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.02363/0.4417, allocations: 19.97 MB / 0.7138 GB, free: 49.59 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004641/0.4464, allocations: 155.8 kB / 0.714 GB, free: 49.53 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.006728/0.4531, allocations: 2.029 MB / 0.7159 GB, free: 48.6 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.01051/0.4636, allocations: 3.228 MB / 0.7191 GB, free: 46.69 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.007346/0.471, allocations: 2.764 MB / 0.7218 GB, free: 45.27 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.01713/0.4881, allocations: 14.6 MB / 0.736 GB, free: 39.45 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01009/0.4982, allocations: 6.836 MB / 0.7427 GB, free: 35.81 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02026/0.5184, allocations: 6.498 MB / 0.7491 GB, free: 32.99 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008071/0.5265, allocations: 3.444 MB / 0.7524 GB, free: 31.71 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.002235/0.5288, allocations: 440 kB / 0.7528 GB, free: 31.71 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009495/0.5383, allocations: 4.489 MB / 0.7572 GB, free: 30.86 MB / 0.6355 GB Notification: Performance of combineBinaries: time 0.009949/0.5482, allocations: 6.655 MB / 0.7637 GB, free: 27.09 MB / 0.6355 GB Notification: Performance of replaceArrayConstructors: time 0.003915/0.5521, allocations: 3.292 MB / 0.7669 GB, free: 25.06 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.002137/0.5543, allocations: 264.3 kB / 0.7672 GB, free: 25.06 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.0008267/0.5551, allocations: 76.25 kB / 0.7673 GB, free: 25.04 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 955 (553) * Number of variables: 955 (302) Notification: Performance of [SIM] Bindings: time 0.01966/0.5747, allocations: 19.38 MB / 0.7862 GB, free: 12.99 MB / 0.6355 GB Notification: Performance of [SIM] FunctionAlias: time 0.006764/0.5815, allocations: 4.876 MB / 0.791 GB, free: 8.176 MB / 0.6355 GB Notification: Performance of [SIM] Early Inline: time 0.01886/0.6004, allocations: 18.7 MB / 0.8092 GB, free: 5.512 MB / 0.6511 GB Notification: Performance of [SIM] Simplify 1: time 0.006375/0.6067, allocations: 3.194 MB / 0.8123 GB, free: 2.281 MB / 0.6511 GB Warning: NBAlias.setStartFixed: Alias set with conflicting unfixed start values detected. Use -d=dumprepl for more information. Notification: Performance of [SIM] Alias: time 0.01695/0.6237, allocations: 12.75 MB / 0.8248 GB, free: 4.801 MB / 0.6667 GB Notification: Performance of [SIM] Simplify 2: time 0.00392/0.6276, allocations: 3.051 MB / 0.8278 GB, free: 1.727 MB / 0.6667 GB Notification: Performance of [SIM] Remove Stream: time 0.00445/0.632, allocations: 3.178 MB / 0.8309 GB, free: 14.47 MB / 0.6823 GB Notification: Performance of [SIM] Detect States: time 0.007042/0.6391, allocations: 4.495 MB / 0.8353 GB, free: 9.875 MB / 0.6823 GB Notification: Performance of [SIM] Events: time 0.001078/0.6402, allocations: 0.5886 MB / 0.8358 GB, free: 9.281 MB / 0.6823 GB Notification: Performance of [SIM] Partitioning: time 0.008827/0.649, allocations: 5.795 MB / 0.8415 GB, free: 3.324 MB / 0.6823 GB Notification: Performance of [SIM] Causalize: time 0.04193/0.6909, allocations: 27.27 MB / 0.8681 GB, free: 7.766 MB / 0.7136 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.01328/0.7042, allocations: 12.43 MB / 0.8803 GB, free: 11.32 MB / 0.7292 GB Notification: Performance of [INI] Simplify: time 0.01434/0.7185, allocations: 6.857 MB / 0.887 GB, free: 4.32 MB / 0.7292 GB Notification: Performance of [INI] Inline: time 0.03396/0.7525, allocations: 22.9 MB / 0.9093 GB, free: 13.35 MB / 0.7605 GB Notification: Performance of [INI] Partitioning: time 0.001198/0.7537, allocations: 181.5 kB / 0.9095 GB, free: 13.14 MB / 0.7605 GB Notification: Performance of [INI] Cleanup: time 0.01165/0.7654, allocations: 6.36 MB / 0.9157 GB, free: 6.746 MB / 0.7605 GB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [SCAL] (1) pump.per.peak_internal.eta = if pump.per.etaHydMet == IDEAS.Fluid.Movers.BaseClasses.Types.HydraulicEfficiencyMethod.EulerNumber then (IDEAS.Fluid.Movers.BaseClasses.Euler.getPeak(IDEAS.Fluid.Movers.BaseClasses.Characteristics.flowParameters({0.0, 0.0}, {0.0, 0.0}), pump.per.power)).eta else pump.per.efficiency.eta[1] ($RES_SIM_1026); [SCAL] (1) pump.per.peak_internal.dp = if pump.per.etaHydMet == IDEAS.Fluid.Movers.BaseClasses.Types.HydraulicEfficiencyMethod.EulerNumber then (IDEAS.Fluid.Movers.BaseClasses.Euler.getPeak(IDEAS.Fluid.Movers.BaseClasses.Characteristics.flowParameters({0.0, 0.0}, {0.0, 0.0}), pump.per.power)).dp else pump.per.dpMax / 2.0 ($RES_SIM_1025); [SCAL] (1) pump.per.peak_internal.V_flow = if pump.per.etaHydMet == IDEAS.Fluid.Movers.BaseClasses.Types.HydraulicEfficiencyMethod.EulerNumber then (IDEAS.Fluid.Movers.BaseClasses.Euler.getPeak(IDEAS.Fluid.Movers.BaseClasses.Characteristics.flowParameters({0.0, 0.0}, {0.0, 0.0}), pump.per.power)).V_flow else pump.per.V_flow_max / 2.0 ($RES_SIM_1024); Notification: Performance of [INI] Causalize: time 0.6002/1.366, allocations: 106.5 MB / 1.02 GB, free: 189.5 MB / 0.8386 GB Notification: Performance of [INI] Tearing: time 0.00649/1.372, allocations: 6.503 MB / 1.026 GB, free: 187.3 MB / 0.8386 GB Notification: Performance of [SIM] Initialization: time 3.276e-06/1.372, allocations: 0 / 1.026 GB, free: 187.3 MB / 0.8386 GB Notification: Performance of [SIM] DAE-Mode: time 0.002011/1.374, allocations: 0.9717 MB / 1.027 GB, free: 187 MB / 0.8386 GB Notification: Performance of [SIM] Remove Dummies: time 1.657e-05/1.374, allocations: 7.125 kB / 1.027 GB, free: 187 MB / 0.8386 GB Notification: Performance of [SIM] Tearing: time 0.005412/1.379, allocations: 6.14 MB / 1.033 GB, free: 184.1 MB / 0.8386 GB Notification: Performance of [SIM] Categorize: time 5.338e-05/1.38, allocations: 14.06 kB / 1.033 GB, free: 184.1 MB / 0.8386 GB Notification: Performance of [SIM] Solve: time 0.02073/1.4, allocations: 7.605 MB / 1.04 GB, free: 183.6 MB / 0.8386 GB Notification: Performance of [SIM] Jacobian: time 0.0425/1.443, allocations: 35.9 MB / 1.076 GB, free: 173.2 MB / 0.8386 GB Notification: Performance of [SIM] Minimize Homotopy System: time 3.015e-05/1.443, allocations: 0 / 1.076 GB, free: 173.2 MB / 0.8386 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 7 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 0 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 1 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 13 (4) {pump.vol.U, hea.outCon.T, val.y_filtered, senTem.T} * Number of discrete states: .................... 2 (2) {pulse.T_start, pulse.count} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 3 (3) {$SEV_2, $SEV_1, $SEV_0} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 298 (scalar:298, array:0, record:0) * Number of multi strong components: ............ 2 (algorithm:0, when:2, if:0, tuple:0) * Number of for-loop strong components: ......... 53 (resizable: 51, generic: 2, entwined:0) * Number of algebraic-loop strong components: ... 3 (linear: 3, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 449 (scalar:429, array:20, record:0) * Number of multi strong components: ............ 1 (algorithm:1, when:0, if:0, tuple:5) * Number of for-loop strong components: ......... 105 (resizable: 103, generic: 2, entwined:0) * Number of algebraic-loop strong components: ... 6 (linear: 6, nonlinear:0) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 452 (scalar:432, array:20, record:0) * Number of multi strong components: ............ 1 (algorithm:1, when:0, if:0, tuple:5) * Number of for-loop strong components: ......... 106 (resizable: 104, generic: 2, entwined:0) * Number of algebraic-loop strong components: ... 6 (linear: 6, nonlinear:0) Notification: Performance of backend: time 0.0002782/1.443, allocations: 223 kB / 1.076 GB, free: 173 MB / 0.8386 GB Error: Internal error NSimStrongComponent.Block.createEquation failed with status Solve.EXPLICIT for [FOR-] (10) ($RES_BND_626) [----] for $i1 in 1:10 loop [----] [SCAL] (1) $RES_BND_626[$i1] = res[$i1].port_a.m_flow - res[$i1].m_flow ($RES_BND_627) [----] end for; " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 4.26486558187753] Failed to read output from testmodel.py, exit status != 0: 1.4712521871551871 1.480493746 0.923196233 Calling exit ...