Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.0007029/0.0007029, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0007928/0.0007928, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9444/0.9444, allocations: 177.1 MB / 202.8 MB, free: 5.746 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-531:190: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-531:198: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.7339/0.7339, allocations: 154.6 MB / 413.7 MB, free: 0.8359 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: "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 0.618 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.434e-05/1.559e-05, allocations: 2.281 kB / 0.618 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01006/0.01008, allocations: 13.71 MB / 0.6314 GB, free: 15.96 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01026/0.02034, allocations: 9.826 MB / 0.641 GB, free: 6.109 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00103/0.02137, allocations: 75.31 kB / 0.6411 GB, free: 6.035 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.002183/0.02355, allocations: 1.699 MB / 0.6428 GB, free: 4.332 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.003776/0.02733, allocations: 1.894 MB / 0.6446 GB, free: 2.434 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001659/0.02899, allocations: 0.775 MB / 0.6454 GB, free: 1.66 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.00318/0.03217, allocations: 2.839 MB / 0.6481 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001353/0.03352, allocations: 1.188 MB / 0.6493 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001836/0.03536, allocations: 2.004 MB / 0.6513 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009881/0.03634, allocations: 0.9855 MB / 0.6522 GB, free: 10.58 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001695/0.03651, allocations: 160 kB / 0.6524 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000893/0.03741, allocations: 0.7365 MB / 0.6531 GB, free: 9.688 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0003644/0.03777, allocations: 0.6425 MB / 0.6537 GB, free: 9.043 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0004976/0.03827, allocations: 0.6468 MB / 0.6543 GB, free: 8.395 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001922/0.04019, allocations: 2.804 MB / 0.6571 GB, free: 5.582 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.0402, allocations: 4 kB / 0.6571 GB, free: 5.578 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.833e-06/0.0402, allocations: 0 / 0.6571 GB, free: 5.578 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.487e-05/0.04023, allocations: 0 / 0.6571 GB, free: 5.578 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.002465/0.0427, allocations: 2.135 MB / 0.6592 GB, free: 3.402 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.04274, allocations: 13.47 kB / 0.6592 GB, free: 3.391 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001743/0.04291, allocations: 194.4 kB / 0.6594 GB, free: 3.191 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00549/0.0484, allocations: 2.113 MB / 0.6614 GB, free: 1.074 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00164/0.05004, allocations: 1.232 MB / 0.6626 GB, free: 15.79 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.797e-05/0.05009, allocations: 94.67 kB / 0.6627 GB, free: 15.7 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001638/0.05025, allocations: 112.4 kB / 0.6628 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003544/0.0538, allocations: 3.084 MB / 0.6659 GB, free: 12.26 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.745e-05/0.05384, allocations: 19.88 kB / 0.6659 GB, free: 12.24 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001156/0.05395, allocations: 51.98 kB / 0.6659 GB, free: 12.19 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003193/0.05427, allocations: 190.1 kB / 0.6661 GB, free: 12 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004105/0.05838, allocations: 2.783 MB / 0.6688 GB, free: 9.211 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007705/0.06608, allocations: 8.33 MB / 0.677 GB, free: 0.7109 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2813/0.3474, allocations: 2.165 MB / 0.6791 GB, free: 96.84 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001608/0.349, allocations: 1.208 MB / 0.6802 GB, free: 96.61 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 5.232e-05/0.349, allocations: 11.16 kB / 0.6803 GB, free: 96.61 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.624e-05/0.3491, allocations: 45.22 kB / 0.6803 GB, free: 96.56 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=89): time 2.094e-06/0.3491, allocations: 0 / 0.6803 GB, free: 96.56 MB / 0.6355 GB Notification: Performance of matching and sorting (n=153): time 0.02814/0.3772, allocations: 16 MB / 0.6959 GB, free: 93.57 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.279e-05/0.3772, allocations: 68.47 kB / 0.696 GB, free: 93.51 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009652/0.3782, allocations: 1.192 MB / 0.6972 GB, free: 93.04 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.521e-05/0.3783, allocations: 53.91 kB / 0.6972 GB, free: 92.99 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002933/0.3786, allocations: 0.7531 MB / 0.6979 GB, free: 92.45 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002643/0.3788, allocations: 0.529 MB / 0.6985 GB, free: 92.1 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003061/0.3792, allocations: 288.6 kB / 0.6987 GB, free: 91.98 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.69e-05/0.3792, allocations: 305.1 kB / 0.699 GB, free: 91.68 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001735/0.3809, allocations: 1.503 MB / 0.7005 GB, free: 91.23 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002068/0.383, allocations: 1.785 MB / 0.7022 GB, free: 90.48 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0043/0.3873, allocations: 3.365 MB / 0.7055 GB, free: 89.12 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.3873, allocations: 2.156 kB / 0.7055 GB, free: 89.12 MB / 0.6355 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.008376/0.3957, allocations: 5.209 MB / 0.7106 GB, free: 87.38 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.3957, allocations: 11.78 kB / 0.7106 GB, free: 87.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-05/0.3957, allocations: 11.75 kB / 0.7106 GB, free: 87.38 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00367/0.3994, allocations: 1.88 MB / 0.7125 GB, free: 86.91 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001023/0.4004, allocations: 418.1 kB / 0.7129 GB, free: 86.89 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01644/0.4168, allocations: 23.04 MB / 0.7354 GB, free: 71.11 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001426/0.4183, allocations: 307.8 kB / 0.7357 GB, free: 71.09 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000107/0.4184, allocations: 70.61 kB / 0.7357 GB, free: 71.07 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006108/0.419, allocations: 466.1 kB / 0.7362 GB, free: 70.78 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001891/0.4192, allocations: 192 kB / 0.7364 GB, free: 70.68 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007269/0.4264, allocations: 5.248 MB / 0.7415 GB, free: 68.93 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/0.4264, allocations: 17.66 kB / 0.7415 GB, free: 68.93 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.606e-05/0.4265, allocations: 18.66 kB / 0.7415 GB, free: 68.93 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.265e-06/0.4265, allocations: 8.344 kB / 0.7415 GB, free: 68.93 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008646/0.4351, allocations: 6.979 MB / 0.7483 GB, free: 65.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.4351, allocations: 0 / 0.7483 GB, free: 65.25 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007406/0.4359, allocations: 351.4 kB / 0.7487 GB, free: 65.11 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002849/0.4387, allocations: 1.705 MB / 0.7503 GB, free: 64.23 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-05/0.4388, allocations: 47.25 kB / 0.7504 GB, free: 64.2 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01239/0.4512, allocations: 22.21 MB / 0.7721 GB, free: 41.42 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.4512, allocations: 7.984 kB / 0.7721 GB, free: 41.41 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005712/0.4569, allocations: 4.814 MB / 0.7768 GB, free: 36.52 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005334/0.4574, allocations: 422.6 kB / 0.7772 GB, free: 36.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001351/0.4576, allocations: 29.97 kB / 0.7772 GB, free: 36.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001006/0.4586, allocations: 323.9 kB / 0.7775 GB, free: 35.76 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002981/0.4589, allocations: 167.8 kB / 0.7777 GB, free: 35.6 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.408e-05/0.4589, allocations: 51.97 kB / 0.7777 GB, free: 35.55 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.000605/0.4595, allocations: 0.7899 MB / 0.7785 GB, free: 34.76 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4e-08/0.4595, allocations: 4 kB / 0.7785 GB, free: 34.76 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001619/0.4612, allocations: 0.66 MB / 0.7791 GB, free: 34.1 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005966/0.4671, allocations: 5.411 MB / 0.7844 GB, free: 28.6 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.005416/0.4725, allocations: 4.923 MB / 0.7892 GB, free: 23.59 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.4725, allocations: 0 / 0.7892 GB, free: 23.59 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.003159/0.4757, allocations: 3.261 MB / 0.7924 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001394/0.4771, allocations: 0.5643 MB / 0.793 GB, free: 19.71 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02382/0.5009, allocations: 21.82 MB / 0.8143 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008576/0.5018, allocations: 0.9882 MB / 0.8152 GB, free: 12.4 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0009302/0.5027, allocations: 385.2 kB / 0.8156 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006087/0.5033, allocations: 0.6565 MB / 0.8163 GB, free: 11.37 MB / 0.6511 GB Notification: Performance of SimCode: time 1.152e-06/0.5033, allocations: 0 / 0.8163 GB, free: 11.37 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07721/0.5805, allocations: 63.81 MB / 0.8786 GB, free: 12.49 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.734/9.315, allocations: 8.547 kB / 0.8786 GB, free: 12.48 MB / 0.7136 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.226661400869489] Failed to read output from testmodel.py, exit status != 0: 9.429830115288496 9.442854751 9.400816309 Calling exit ...