Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.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.0006766/0.0006766, allocations: 80.25 kB / 20.05 MB, free: 4.469 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.0007721/0.0007721, allocations: 177.9 kB / 23.36 MB, free: 1.16 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.8752/0.8752, allocations: 177.2 MB / 203.7 MB, free: 5.695 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.712/0.712, allocations: 154.5 MB / 414.7 MB, free: 0.8086 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.Performance.PressureDrop.SeriesParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.335e-05/1.335e-05, allocations: 6.312 kB / 0.6196 GB, free: 13.05 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised): time 0.4812/0.4812, allocations: 147.9 MB / 0.764 GB, free: 8.086 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.004545/0.4858, allocations: 3.776 MB / 0.7677 GB, free: 5.57 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003/0.4861, allocations: 25.78 kB / 0.7677 GB, free: 5.555 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0007365/0.4868, allocations: 239.1 kB / 0.7679 GB, free: 5.414 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.00156/0.4884, allocations: 0.7067 MB / 0.7686 GB, free: 5.035 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001088/0.4894, allocations: 0.5259 MB / 0.7691 GB, free: 4.781 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001678/0.4911, allocations: 1.63 MB / 0.7707 GB, free: 4.105 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004966/0.4961, allocations: 5.437 MB / 0.7761 GB, free: 1.59 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003486/0.4996, allocations: 1.971 MB / 0.778 GB, free: 0.6836 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001167/0.5007, allocations: 1.367 MB / 0.7793 GB, free: 212 kB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0002253/0.501, allocations: 165.2 kB / 0.7795 GB, free: 212 kB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001112/0.5021, allocations: 0.7433 MB / 0.7802 GB, free: 8 kB / 0.6355 GB Notification: Performance of combineBinaries: time 0.001385/0.5035, allocations: 1.894 MB / 0.782 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of replaceArrayConstructors: time 0.0003215/0.5038, allocations: 0.56 MB / 0.7826 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0001368/0.5039, allocations: 42.84 kB / 0.7826 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of FrontEnd: time 5.347e-05/0.504, allocations: 20.7 kB / 0.7827 GB, free: 14.75 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 135 (97) * Number of variables: 135 (43) Notification: Performance of [SIM] Bindings: time 0.003967/0.5079, allocations: 5.085 MB / 0.7876 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of [SIM] FunctionAlias: time 0.001559/0.5095, allocations: 2.12 MB / 0.7897 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of [SIM] Early Inline: time 0.00454/0.514, allocations: 6.831 MB / 0.7964 GB, free: 7.285 MB / 0.6511 GB Notification: Performance of [SIM] Simplify 1: time 0.001287/0.5153, allocations: 1.604 MB / 0.7979 GB, free: 6.289 MB / 0.6511 GB Notification: Performance of [SIM] Alias: time 0.002649/0.518, allocations: 3.426 MB / 0.8013 GB, free: 3.645 MB / 0.6511 GB Notification: Performance of [SIM] Simplify 2: time 0.001418/0.5194, allocations: 1.614 MB / 0.8028 GB, free: 2.617 MB / 0.6511 GB Notification: Performance of [SIM] Remove Stream: time 0.001522/0.5209, allocations: 2.321 MB / 0.8051 GB, free: 1.012 MB / 0.6511 GB Notification: Performance of [SIM] Detect States: time 0.001253/0.5222, allocations: 1.959 MB / 0.807 GB, free: 15.66 MB / 0.6667 GB Notification: Performance of [SIM] Events: time 0.0002429/0.5224, allocations: 342.3 kB / 0.8074 GB, free: 15.46 MB / 0.6667 GB Notification: Performance of [SIM] Partitioning: time 0.001559/0.524, allocations: 2.47 MB / 0.8098 GB, free: 13.97 MB / 0.6667 GB Notification: Performance of [SIM] Causalize: time 0.005253/0.5292, allocations: 5.881 MB / 0.8155 GB, free: 10.2 MB / 0.6667 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.003208/0.5324, allocations: 5.546 MB / 0.8209 GB, free: 4.648 MB / 0.6667 GB Notification: Performance of [INI] Simplify: time 0.00209/0.5345, allocations: 2.438 MB / 0.8233 GB, free: 2.148 MB / 0.6667 GB Notification: Performance of [INI] Inline: time 0.005502/0.54, allocations: 9.638 MB / 0.8327 GB, free: 8.496 MB / 0.6823 GB Notification: Performance of [INI] Partitioning: time 5.64e-05/0.5401, allocations: 40.03 kB / 0.8328 GB, free: 8.445 MB / 0.6823 GB Notification: Performance of [INI] Cleanup: time 0.001902/0.542, allocations: 2.591 MB / 0.8353 GB, free: 5.844 MB / 0.6823 GB Notification: Performance of [INI] Causalize: time 0.01409/0.5561, allocations: 17.27 MB / 0.8521 GB, free: 4.43 MB / 0.698 GB Notification: Performance of [INI] Tearing: time 0.0002385/0.5563, allocations: 267.9 kB / 0.8524 GB, free: 4.168 MB / 0.698 GB Notification: Performance of [SIM] Initialization: time 3.277e-06/0.5563, allocations: 4 kB / 0.8524 GB, free: 4.164 MB / 0.698 GB Notification: Performance of [SIM] DAE-Mode: time 0.0005099/0.5568, allocations: 466.4 kB / 0.8529 GB, free: 3.68 MB / 0.698 GB Notification: Performance of [SIM] Remove Dummies: time 5.671e-06/0.5568, allocations: 0.6562 kB / 0.8529 GB, free: 3.68 MB / 0.698 GB Notification: Performance of [SIM] Tearing: time 8.716e-05/0.5569, allocations: 162.8 kB / 0.853 GB, free: 3.523 MB / 0.698 GB Notification: Performance of [SIM] Categorize: time 1.825e-05/0.5569, allocations: 7.938 kB / 0.853 GB, free: 3.516 MB / 0.698 GB Notification: Performance of [SIM] Solve: time 0.004964/0.5619, allocations: 5.914 MB / 0.8588 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of [SIM] Jacobian: time 0.004721/0.5666, allocations: 5.961 MB / 0.8646 GB, free: 7.461 MB / 0.7136 GB Notification: Performance of [SIM] Minimize Homotopy System: time 6.833e-06/0.5666, allocations: 4 kB / 0.8646 GB, free: 7.457 MB / 0.7136 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 3 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 1 * 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: ............................. 0 (0) {} * Number of discrete states: .................... 2 (2) {pulse_m_flow.T_start, pulse_m_flow.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: ........... 76 (scalar:72, array:4, record:0) * Number of multi strong components: ............ 2 (algorithm:0, when:2, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 1, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 95 (scalar:87, array:8, record:0) * Number of multi strong components: ............ 1 (algorithm:1, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 16 (resizable: 16, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 1, nonlinear:0) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 96 (scalar:88, array:8, record:0) * Number of multi strong components: ............ 1 (algorithm:1, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 17 (resizable: 17, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 1, nonlinear:0) Notification: Performance of backend: time 7.354e-05/0.5667, allocations: 68.34 kB / 0.8647 GB, free: 7.398 MB / 0.7136 GB Error: Internal error NSimStrongComponent.Block.createEquation failed with status Solve.EXPLICIT for [FOR-] (10) ($RES_SIM_41) [----] for $i1 in 1:10 loop [----] [SCAL] (1) $RES_SIM_41[$i1] = -(resParallel[$i1].port_a.m_flow + resParallel[$i1].port_b.m_flow) ($RES_SIM_42) [----] end for; " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 3.2089427765458822] Failed to read output from testmodel.py, exit status != 0: 0.5756269479170442 0.584379497 0.07872978900000001 Calling exit ...