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.0006673/0.0006673, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.0007626/0.0007626, allocations: 217.7 kB / 22.26 MB, free: 3.703 MB / 13.93 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.9641/0.9641, allocations: 230.6 MB / 256 MB, free: 9.801 MB / 202.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.8168/0.8168, allocations: 203.8 MB / 0.5042 GB, free: 10.7 MB / 410.7 MB " [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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009098/0.0009098, allocations: 67.3 kB / 0.7182 GB, free: 4.324 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5572/0.5581, allocations: 102 MB / 0.8179 GB, free: 1.254 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01516/0.5733, allocations: 15.33 MB / 0.8328 GB, free: 6.922 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01359/0.5869, allocations: 10.76 MB / 0.8433 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001193/0.5881, allocations: 77.06 kB / 0.8434 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.00255/0.5906, allocations: 1.765 MB / 0.8451 GB, free: 14.58 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.004188/0.5948, allocations: 1.861 MB / 0.847 GB, free: 13.25 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001628/0.5964, allocations: 0.7651 MB / 0.8477 GB, free: 12.63 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.002694/0.5991, allocations: 2.772 MB / 0.8504 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001199/0.6003, allocations: 1.198 MB / 0.8516 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00137/0.6017, allocations: 1.562 MB / 0.8531 GB, free: 9.414 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00116/0.6029, allocations: 1.233 MB / 0.8543 GB, free: 8.648 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0002068/0.6031, allocations: 160.4 kB / 0.8545 GB, free: 8.648 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001233/0.6043, allocations: 0.8068 MB / 0.8552 GB, free: 8.297 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0004219/0.6047, allocations: 0.6179 MB / 0.8559 GB, free: 7.863 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0006831/0.6054, allocations: 0.9531 MB / 0.8568 GB, free: 7.215 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.00224/0.6077, allocations: 2.778 MB / 0.8595 GB, free: 5.27 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.6077, allocations: 0 / 0.8595 GB, free: 5.27 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.154e-06/0.6077, allocations: 0 / 0.8595 GB, free: 5.27 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.057e-05/0.6077, allocations: 1.438 kB / 0.8595 GB, free: 5.27 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.002684/0.6104, allocations: 2.159 MB / 0.8616 GB, free: 3.719 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.213e-05/0.6104, allocations: 10.22 kB / 0.8616 GB, free: 3.719 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001992/0.6106, allocations: 194 kB / 0.8618 GB, free: 3.566 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005767/0.6164, allocations: 2.113 MB / 0.8639 GB, free: 2.57 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00174/0.6181, allocations: 1.234 MB / 0.8651 GB, free: 1.68 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.41e-05/0.6182, allocations: 84.22 kB / 0.8651 GB, free: 1.641 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001829/0.6184, allocations: 119 kB / 0.8653 GB, free: 1.598 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003696/0.6221, allocations: 2.673 MB / 0.8679 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.178e-05/0.6221, allocations: 11.86 kB / 0.8679 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001235/0.6222, allocations: 49.98 kB / 0.8679 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003484/0.6226, allocations: 195 kB / 0.8681 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004398/0.627, allocations: 2.79 MB / 0.8708 GB, free: 14.35 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009164/0.6361, allocations: 10.37 MB / 0.881 GB, free: 4.426 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003345/0.6395, allocations: 2.175 MB / 0.8831 GB, free: 2.242 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001661/0.6411, allocations: 1.206 MB / 0.8843 GB, free: 1.035 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 5.697e-05/0.6412, allocations: 13 kB / 0.8843 GB, free: 1.02 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.863e-05/0.6412, allocations: 43.5 kB / 0.8843 GB, free: 0.9688 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=89): time 2.374e-06/0.6412, allocations: 0 / 0.8843 GB, free: 0.9688 MB / 0.6511 GB Notification: Performance of matching and sorting (n=153): time 0.03032/0.6715, allocations: 16.01 MB / 0.9 GB, free: 0.9141 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.6716, allocations: 64.72 kB / 0.9 GB, free: 0.8359 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001222/0.6728, allocations: 1.172 MB / 0.9012 GB, free: 15.65 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 9.653e-05/0.6729, allocations: 49.7 kB / 0.9012 GB, free: 15.6 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003612/0.6733, allocations: 0.7607 MB / 0.902 GB, free: 14.83 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003388/0.6736, allocations: 0.546 MB / 0.9025 GB, free: 14.28 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003467/0.6739, allocations: 287.5 kB / 0.9028 GB, free: 13.99 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.743e-05/0.674, allocations: 305.1 kB / 0.9031 GB, free: 13.69 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001965/0.676, allocations: 1.514 MB / 0.9045 GB, free: 12.18 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002097/0.6781, allocations: 1.776 MB / 0.9063 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004254/0.6823, allocations: 3.369 MB / 0.9096 GB, free: 6.836 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.6823, allocations: 4 kB / 0.9096 GB, free: 6.832 MB / 0.6823 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.007504/0.6898, allocations: 5.211 MB / 0.9147 GB, free: 1.582 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.6899, allocations: 8.875 kB / 0.9147 GB, free: 1.574 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.829e-06/0.6899, allocations: 4 kB / 0.9147 GB, free: 1.57 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003493/0.6934, allocations: 1.886 MB / 0.9165 GB, free: 15.66 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009531/0.6943, allocations: 407.3 kB / 0.9169 GB, free: 15.26 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01846/0.7128, allocations: 23.34 MB / 0.9397 GB, free: 7.012 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001737/0.7145, allocations: 303.5 kB / 0.94 GB, free: 6.715 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001038/0.7146, allocations: 79.95 kB / 0.9401 GB, free: 6.637 MB / 0.7136 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.0007206/0.7153, allocations: 449.5 kB / 0.9405 GB, free: 6.188 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001896/0.7155, allocations: 182.9 kB / 0.9407 GB, free: 6.008 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007581/0.7231, allocations: 5.249 MB / 0.9458 GB, free: 0.707 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.809e-06/0.7231, allocations: 20 kB / 0.9458 GB, free: 0.6875 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.549e-05/0.7231, allocations: 16 kB / 0.9458 GB, free: 0.6719 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.678e-06/0.7231, allocations: 11.97 kB / 0.9458 GB, free: 0.6602 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009643/0.7328, allocations: 7.32 MB / 0.953 GB, free: 9.223 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.593e-06/0.7328, allocations: 4 kB / 0.953 GB, free: 9.219 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007952/0.7336, allocations: 347.4 kB / 0.9533 GB, free: 8.879 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003071/0.7367, allocations: 1.71 MB / 0.955 GB, free: 7.148 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.64e-05/0.7367, allocations: 51.91 kB / 0.955 GB, free: 7.098 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01702/0.7538, allocations: 22.5 MB / 0.977 GB, free: 15.69 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.7538, allocations: 7.984 kB / 0.977 GB, free: 15.68 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007118/0.7609, allocations: 4.833 MB / 0.9817 GB, free: 10.76 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008538/0.7617, allocations: 426.6 kB / 0.9821 GB, free: 10.34 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001482/0.7619, allocations: 24 kB / 0.9822 GB, free: 10.32 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001079/0.763, allocations: 319.5 kB / 0.9825 GB, free: 10.01 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005156/0.7635, allocations: 160.9 kB / 0.9826 GB, free: 9.848 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.01e-05/0.7636, allocations: 55.97 kB / 0.9827 GB, free: 9.793 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0009002/0.7645, allocations: 0.7937 MB / 0.9835 GB, free: 9 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7645, allocations: 0 / 0.9835 GB, free: 9 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.00176/0.7662, allocations: 0.6562 MB / 0.9841 GB, free: 8.344 MB / 0.7605 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.007105/0.7733, allocations: 5.415 MB / 0.9894 GB, free: 2.84 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.00668/0.78, allocations: 4.925 MB / 0.9942 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.78, allocations: 0 / 0.9942 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.003698/0.7837, allocations: 3.28 MB / 0.9974 GB, free: 10.42 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001539/0.7853, allocations: 0.5547 MB / 0.9979 GB, free: 9.891 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02791/0.8132, allocations: 21.79 MB / 1.019 GB, free: 3.605 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001275/0.8144, allocations: 1.572 MB / 1.021 GB, free: 1.992 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.00117/0.8156, allocations: 382.4 kB / 1.021 GB, free: 1.613 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006747/0.8163, allocations: 0.6593 MB / 1.022 GB, free: 0.9531 MB / 0.7917 GB Notification: Performance of SimCode: time 1.903e-06/0.8163, allocations: 0 / 1.022 GB, free: 0.9531 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1012/0.9175, allocations: 60.74 MB / 1.081 GB, free: 4.773 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.436/10.35, allocations: 7.375 kB / 1.081 GB, free: 4.77 MB / 0.8542 GB " [Timeout remaining time 650] (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: 13.492921703960747] Failed to read output from testmodel.py, exit status != 0: 10.461472535971552 10.473967674 9.864341664 Calling exit ...