Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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.0009304/0.0009304, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.001045/0.001045, allocations: 211.6 kB / 22.25 MB, free: 3.586 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.9733/0.9733, allocations: 230.6 MB / 256 MB, free: 9.43 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.7695/0.7695, allocations: 203.8 MB / 0.5042 GB, free: 10.41 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.ACLine_L,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",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.0009506/0.0009506, allocations: 70.64 kB / 0.7182 GB, free: 4.004 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4765/0.4774, allocations: 102 MB / 0.8178 GB, free: 1.027 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.005694/0.4831, allocations: 5.988 MB / 0.8236 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00447/0.4876, allocations: 3.151 MB / 0.8267 GB, free: 11.22 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006702/0.4883, allocations: 45.03 kB / 0.8268 GB, free: 11.19 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001538/0.4898, allocations: 0.9306 MB / 0.8277 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001284/0.4911, allocations: 496.3 kB / 0.8281 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001493/0.4926, allocations: 0.4948 MB / 0.8286 GB, free: 10.13 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.00133/0.4939, allocations: 1.1 MB / 0.8297 GB, free: 9.633 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007981/0.4947, allocations: 0.5062 MB / 0.8302 GB, free: 9.395 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009626/0.4957, allocations: 459.4 kB / 0.8306 GB, free: 9.203 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008152/0.4965, allocations: 474.3 kB / 0.8311 GB, free: 9.027 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.000132/0.4966, allocations: 62.48 kB / 0.8311 GB, free: 9.023 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008939/0.4975, allocations: 438.1 kB / 0.8316 GB, free: 8.887 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0003021/0.4978, allocations: 290.5 kB / 0.8318 GB, free: 8.77 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0003234/0.4982, allocations: 334.1 kB / 0.8322 GB, free: 8.598 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001454/0.4996, allocations: 1.194 MB / 0.8333 GB, free: 8.184 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.4996, allocations: 4 kB / 0.8333 GB, free: 8.18 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.003e-06/0.4996, allocations: 1.188 kB / 0.8333 GB, free: 8.18 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.13e-05/0.4996, allocations: 0 / 0.8333 GB, free: 8.18 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001583/0.5012, allocations: 1.012 MB / 0.8343 GB, free: 7.473 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.5013, allocations: 10.09 kB / 0.8343 GB, free: 7.473 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001206/0.5014, allocations: 117.1 kB / 0.8344 GB, free: 7.391 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001178/0.5026, allocations: 223.5 kB / 0.8347 GB, free: 7.336 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007732/0.5033, allocations: 0.5208 MB / 0.8352 GB, free: 7.016 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.734e-05/0.5034, allocations: 46.61 kB / 0.8352 GB, free: 6.992 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.583e-05/0.5035, allocations: 65.75 kB / 0.8353 GB, free: 6.969 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00136/0.5048, allocations: 1.135 MB / 0.8364 GB, free: 6.25 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.02e-05/0.5048, allocations: 16.12 kB / 0.8364 GB, free: 6.238 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.036e-05/0.5049, allocations: 36.81 kB / 0.8364 GB, free: 6.211 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.667e-05/0.505, allocations: 68.69 kB / 0.8365 GB, free: 6.203 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008644/0.5058, allocations: 0.6898 MB / 0.8372 GB, free: 5.957 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003623/0.5095, allocations: 4.52 MB / 0.8416 GB, free: 2.102 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005772/0.51, allocations: 409.2 kB / 0.842 GB, free: 1.883 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005155/0.5106, allocations: 388.5 kB / 0.8423 GB, free: 1.707 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.14e-05/0.5106, allocations: 9.062 kB / 0.8424 GB, free: 1.703 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.523e-05/0.5106, allocations: 36.22 kB / 0.8424 GB, free: 1.66 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=41): time 2.224e-06/0.5106, allocations: 0 / 0.8424 GB, free: 1.66 MB / 0.6198 GB Notification: Performance of matching and sorting (n=42): time 0.002704/0.5133, allocations: 1.702 MB / 0.8441 GB, free: 0.7266 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.372e-05/0.5134, allocations: 60.23 kB / 0.8441 GB, free: 0.6602 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004361/0.5138, allocations: 484.2 kB / 0.8446 GB, free: 368 kB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.913e-05/0.5138, allocations: 30.83 kB / 0.8446 GB, free: 332 kB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002062/0.514, allocations: 398.8 kB / 0.845 GB, free: 15.97 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 9.867e-05/0.5141, allocations: 159.2 kB / 0.8451 GB, free: 15.83 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001322/0.5143, allocations: 113.8 kB / 0.8452 GB, free: 15.76 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.5144, allocations: 362.8 kB / 0.8456 GB, free: 15.41 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002488/0.5146, allocations: 242.2 kB / 0.8458 GB, free: 15.29 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003535/0.515, allocations: 456.4 kB / 0.8463 GB, free: 14.9 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006939/0.5157, allocations: 0.7492 MB / 0.847 GB, free: 14.34 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.5157, allocations: 3.125 kB / 0.847 GB, free: 14.34 MB / 0.6355 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001256/0.5169, allocations: 1.033 MB / 0.848 GB, free: 13.77 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.648e-05/0.517, allocations: 11.47 kB / 0.848 GB, free: 13.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/0.517, allocations: 7.812 kB / 0.848 GB, free: 13.77 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006214/0.5176, allocations: 316.9 kB / 0.8483 GB, free: 13.61 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000206/0.5178, allocations: 91.44 kB / 0.8484 GB, free: 13.59 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004809/0.5226, allocations: 7.026 MB / 0.8553 GB, free: 7.301 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004/0.523, allocations: 30.7 kB / 0.8553 GB, free: 7.285 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.209e-05/0.523, allocations: 29.91 kB / 0.8553 GB, free: 7.277 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 (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000354/0.5234, allocations: 245.9 kB / 0.8556 GB, free: 7.082 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.084e-05/0.5235, allocations: 65.34 kB / 0.8556 GB, free: 7.047 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00106/0.5245, allocations: 0.8824 MB / 0.8565 GB, free: 6.504 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-06/0.5245, allocations: 8.156 kB / 0.8565 GB, free: 6.5 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.5245, allocations: 4.375 kB / 0.8565 GB, free: 6.5 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.5245, allocations: 0 / 0.8565 GB, free: 6.5 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001784/0.5263, allocations: 1.579 MB / 0.858 GB, free: 5.461 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.5263, allocations: 1.219 kB / 0.858 GB, free: 5.461 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001065/0.5264, allocations: 49.44 kB / 0.8581 GB, free: 5.441 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000522/0.527, allocations: 307.6 kB / 0.8584 GB, free: 5.277 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.321e-05/0.527, allocations: 7.844 kB / 0.8584 GB, free: 5.273 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004803/0.5318, allocations: 7.019 MB / 0.8652 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.5318, allocations: 1.438 kB / 0.8652 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001263/0.533, allocations: 0.9801 MB / 0.8662 GB, free: 14.35 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000228/0.5333, allocations: 100.6 kB / 0.8663 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.183e-05/0.5333, allocations: 15.97 kB / 0.8663 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001578/0.5335, allocations: 25.69 kB / 0.8663 GB, free: 14.26 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001258/0.5336, allocations: 46.73 kB / 0.8664 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.6e-05/0.5336, allocations: 13.31 kB / 0.8664 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003133/0.5339, allocations: 311.5 kB / 0.8667 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of sort global known variables: time 8e-08/0.5339, allocations: 1.188 kB / 0.8667 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008074/0.5347, allocations: 193.7 kB / 0.8669 GB, free: 14.02 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001278/0.536, allocations: 1.537 MB / 0.8684 GB, free: 12.83 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001505/0.5375, allocations: 1.15 MB / 0.8695 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.5375, allocations: 0 / 0.8695 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0007255/0.5383, allocations: 0.8287 MB / 0.8703 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007312/0.539, allocations: 210.8 kB / 0.8705 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006915/0.5459, allocations: 5.875 MB / 0.8762 GB, free: 7.18 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003601/0.5463, allocations: 399.2 kB / 0.8766 GB, free: 6.941 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002917/0.5466, allocations: 99.48 kB / 0.8767 GB, free: 6.895 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002089/0.5468, allocations: 227.7 kB / 0.8769 GB, free: 6.699 MB / 0.6511 GB Notification: Performance of SimCode: time 1.923e-06/0.5468, allocations: 0 / 0.8769 GB, free: 6.699 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03498/0.5817, allocations: 16.95 MB / 0.8935 GB, free: 6.242 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.214/7.795, allocations: 10.09 kB / 0.8935 GB, free: 6.234 MB / 0.6667 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_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_ACLine_L.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.751035487744957] Failed to read output from testmodel.py, exit status != 0: 7.882992128375918 7.892732785 7.391014899 Calling exit ...