Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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.001317/0.001317, 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.001705/0.001705, allocations: 212.1 kB / 22.25 MB, free: 3.574 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.9699/0.9699, allocations: 230.6 MB / 256 MB, free: 9.582 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.779/0.779, allocations: 203.8 MB / 0.5042 GB, free: 10.43 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_R,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",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.00125/0.00125, allocations: 62.72 kB / 0.7182 GB, free: 4.043 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4963/0.4976, allocations: 102 MB / 0.8178 GB, free: 1.051 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.006497/0.5041, allocations: 6.553 MB / 0.8242 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004476/0.5085, allocations: 3.07 MB / 0.8272 GB, free: 10.9 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006765/0.5092, allocations: 40.75 kB / 0.8272 GB, free: 10.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001641/0.5109, allocations: 0.9473 MB / 0.8282 GB, free: 10.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001152/0.512, allocations: 0.5227 MB / 0.8287 GB, free: 10.03 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001104/0.5131, allocations: 453.2 kB / 0.8291 GB, free: 9.809 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001455/0.5146, allocations: 1.235 MB / 0.8303 GB, free: 9.238 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009268/0.5155, allocations: 0.5247 MB / 0.8308 GB, free: 8.996 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001097/0.5166, allocations: 491.9 kB / 0.8313 GB, free: 8.797 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008031/0.5174, allocations: 0.5167 MB / 0.8318 GB, free: 8.605 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001153/0.5175, allocations: 66.22 kB / 0.8319 GB, free: 8.605 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007139/0.5182, allocations: 346.2 kB / 0.8322 GB, free: 8.504 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002958/0.5185, allocations: 319.9 kB / 0.8325 GB, free: 8.367 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0004537/0.519, allocations: 374.8 kB / 0.8328 GB, free: 8.18 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001646/0.5206, allocations: 1.243 MB / 0.8341 GB, free: 7.742 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.5206, allocations: 1.406 kB / 0.8341 GB, free: 7.742 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.675e-06/0.5206, allocations: 0 / 0.8341 GB, free: 7.742 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.092e-05/0.5207, allocations: 3.938 kB / 0.8341 GB, free: 7.738 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001884/0.5226, allocations: 1.11 MB / 0.8351 GB, free: 7.016 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.5226, allocations: 10 kB / 0.8352 GB, free: 7.016 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001393/0.5227, allocations: 123.1 kB / 0.8353 GB, free: 6.93 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001039/0.5238, allocations: 244 kB / 0.8355 GB, free: 6.871 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007946/0.5246, allocations: 0.534 MB / 0.836 GB, free: 6.539 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.585e-05/0.5246, allocations: 51.41 kB / 0.8361 GB, free: 6.512 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.627e-05/0.5247, allocations: 66.16 kB / 0.8361 GB, free: 6.488 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001325/0.526, allocations: 1.338 MB / 0.8374 GB, free: 5.562 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.664e-05/0.526, allocations: 6.188 kB / 0.8375 GB, free: 5.559 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.691e-05/0.5261, allocations: 31.03 kB / 0.8375 GB, free: 5.539 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001585/0.5263, allocations: 87.86 kB / 0.8376 GB, free: 5.527 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009509/0.5272, allocations: 0.7497 MB / 0.8383 GB, free: 5.195 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003899/0.5311, allocations: 4.637 MB / 0.8428 GB, free: 1.211 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007427/0.5319, allocations: 0.5144 MB / 0.8433 GB, free: 0.9414 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003154/0.5322, allocations: 286.4 kB / 0.8436 GB, free: 0.7969 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.777e-05/0.5322, allocations: 5.406 kB / 0.8436 GB, free: 0.7969 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.988e-05/0.5322, allocations: 39.28 kB / 0.8436 GB, free: 0.7539 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=47): time 1.673e-06/0.5322, allocations: 4 kB / 0.8437 GB, free: 0.75 MB / 0.6198 GB Notification: Performance of matching and sorting (n=48): time 0.002729/0.535, allocations: 1.687 MB / 0.8453 GB, free: 15.82 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.97e-05/0.535, allocations: 57 kB / 0.8454 GB, free: 15.75 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005579/0.5355, allocations: 0.5726 MB / 0.8459 GB, free: 15.4 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.023e-05/0.5356, allocations: 37.05 kB / 0.8459 GB, free: 15.36 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002033/0.5358, allocations: 429.1 kB / 0.8464 GB, free: 14.99 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001128/0.5359, allocations: 185.2 kB / 0.8465 GB, free: 14.83 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001378/0.536, allocations: 123 kB / 0.8466 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.5362, allocations: 378.1 kB / 0.847 GB, free: 14.39 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002974/0.5365, allocations: 275.5 kB / 0.8473 GB, free: 14.25 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003884/0.5368, allocations: 495.4 kB / 0.8477 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007481/0.5376, allocations: 0.8107 MB / 0.8485 GB, free: 13.25 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.5376, allocations: 3.781 kB / 0.8485 GB, free: 13.25 MB / 0.6355 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001266/0.5389, allocations: 1.087 MB / 0.8496 GB, free: 12.65 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/0.5389, allocations: 7.812 kB / 0.8496 GB, free: 12.65 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/0.5389, allocations: 7.438 kB / 0.8496 GB, free: 12.65 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005838/0.5395, allocations: 273.7 kB / 0.8499 GB, free: 12.51 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003097/0.5398, allocations: 133.2 kB / 0.85 GB, free: 12.47 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004601/0.5444, allocations: 6.676 MB / 0.8565 GB, free: 6.391 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006176/0.545, allocations: 50.27 kB / 0.8566 GB, free: 6.359 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.903e-05/0.545, allocations: 27 kB / 0.8566 GB, free: 6.355 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 (67): * Single equations (assignments): 63 * 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 {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004627/0.5455, allocations: 252.1 kB / 0.8568 GB, free: 6.156 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.174e-05/0.5456, allocations: 76.5 kB / 0.8569 GB, free: 6.117 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001046/0.5466, allocations: 0.8834 MB / 0.8578 GB, free: 5.562 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.5466, allocations: 4.656 kB / 0.8578 GB, free: 5.562 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.236e-06/0.5467, allocations: 4.25 kB / 0.8578 GB, free: 5.562 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.74e-06/0.5467, allocations: 3.984 kB / 0.8578 GB, free: 5.559 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001851/0.5485, allocations: 1.611 MB / 0.8594 GB, free: 4.504 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.5485, allocations: 5.281 kB / 0.8594 GB, free: 4.5 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001635/0.5487, allocations: 60.02 kB / 0.8594 GB, free: 4.484 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004614/0.5491, allocations: 265.6 kB / 0.8597 GB, free: 4.34 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.075e-05/0.5492, allocations: 12.38 kB / 0.8597 GB, free: 4.332 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004628/0.5538, allocations: 6.673 MB / 0.8662 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.5538, allocations: 1.875 kB / 0.8662 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001494/0.5553, allocations: 0.9832 MB / 0.8672 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003274/0.5556, allocations: 120.2 kB / 0.8673 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.457e-05/0.5557, allocations: 11.78 kB / 0.8673 GB, free: 13.53 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003282/0.556, allocations: 33.55 kB / 0.8673 GB, free: 13.51 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000117/0.5561, allocations: 42.83 kB / 0.8674 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.249e-05/0.5562, allocations: 19.84 kB / 0.8674 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0004582/0.5566, allocations: 389.1 kB / 0.8678 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2e-07/0.5566, allocations: 3.938 kB / 0.8678 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007197/0.5574, allocations: 220.4 kB / 0.868 GB, free: 13.23 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 (31): * Single equations (assignments): 27 * 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 {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001569/0.5589, allocations: 1.533 MB / 0.8695 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001439/0.5604, allocations: 1.231 MB / 0.8707 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.5604, allocations: 5.031 kB / 0.8707 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0009275/0.5613, allocations: 0.8637 MB / 0.8715 GB, free: 10.52 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007227/0.562, allocations: 227.2 kB / 0.8717 GB, free: 10.4 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006973/0.569, allocations: 6.401 MB / 0.878 GB, free: 5.746 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003431/0.5693, allocations: 420.8 kB / 0.8784 GB, free: 5.309 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003537/0.5697, allocations: 130 kB / 0.8785 GB, free: 5.18 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002164/0.5699, allocations: 251.4 kB / 0.8787 GB, free: 4.934 MB / 0.6511 GB Notification: Performance of SimCode: time 1.563e-06/0.5699, allocations: 0 / 0.8787 GB, free: 4.934 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03856/0.6085, allocations: 19.34 MB / 0.8976 GB, free: 2.02 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.27/7.879, allocations: 7.375 kB / 0.8976 GB, free: 2.016 MB / 0.6667 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_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_R.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.849733898881823] Failed to read output from testmodel.py, exit status != 0: 7.9710350297391415 7.980539178 7.458074199 Calling exit ...