Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.OnePhase.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.0009445/0.0009445, 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.001027/0.001027, 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.9326/0.9326, allocations: 177.1 MB / 202.8 MB, free: 5.719 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.7623/0.7623, allocations: 154.5 MB / 413.7 MB, free: 0.8242 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.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.618 GB, free: 13.72 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.22e-05/2.383e-05, allocations: 5.734 kB / 0.618 GB, free: 13.72 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.005906/0.00593, allocations: 6.386 MB / 0.6243 GB, free: 7.312 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.003781/0.009711, allocations: 3.001 MB / 0.6272 GB, free: 4.301 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000436/0.01015, allocations: 39.62 kB / 0.6273 GB, free: 4.262 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.001341/0.01149, allocations: 0.9523 MB / 0.6282 GB, free: 3.309 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0009452/0.01243, allocations: 0.5357 MB / 0.6287 GB, free: 2.77 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009668/0.0134, allocations: 426.9 kB / 0.6291 GB, free: 2.352 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.001113/0.01451, allocations: 1.259 MB / 0.6303 GB, free: 1.086 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006077/0.01512, allocations: 0.5256 MB / 0.6309 GB, free: 0.5508 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006454/0.01577, allocations: 0.6702 MB / 0.6315 GB, free: 15.88 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004821/0.01625, allocations: 474.7 kB / 0.632 GB, free: 15.41 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.575e-05/0.01631, allocations: 64 kB / 0.632 GB, free: 15.35 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004839/0.0168, allocations: 351.1 kB / 0.6324 GB, free: 15.01 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001975/0.01699, allocations: 327 kB / 0.6327 GB, free: 14.69 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002094/0.0172, allocations: 319.2 kB / 0.633 GB, free: 14.38 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0008918/0.0181, allocations: 1.246 MB / 0.6342 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.0181, allocations: 0 / 0.6342 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.623e-06/0.0181, allocations: 4 kB / 0.6342 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.085e-05/0.01811, allocations: 0 / 0.6342 GB, free: 13.12 MB / 0.6042 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.001256/0.01937, allocations: 1.104 MB / 0.6353 GB, free: 11.98 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.01941, allocations: 9.469 kB / 0.6353 GB, free: 11.98 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.851e-05/0.01951, allocations: 118.7 kB / 0.6354 GB, free: 11.85 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008417/0.02035, allocations: 244.1 kB / 0.6356 GB, free: 11.61 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008021/0.02115, allocations: 0.5223 MB / 0.6361 GB, free: 11.07 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.024e-05/0.02118, allocations: 41.69 kB / 0.6362 GB, free: 11.03 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.011e-05/0.02126, allocations: 80.25 kB / 0.6363 GB, free: 10.95 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001059/0.02232, allocations: 1.332 MB / 0.6376 GB, free: 9.449 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.187e-05/0.02235, allocations: 8.125 kB / 0.6376 GB, free: 9.441 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.776e-05/0.02239, allocations: 36.11 kB / 0.6376 GB, free: 9.406 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001033/0.0225, allocations: 85.25 kB / 0.6377 GB, free: 9.324 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007728/0.02327, allocations: 0.7465 MB / 0.6384 GB, free: 8.574 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003542/0.02681, allocations: 4.616 MB / 0.6429 GB, free: 3.785 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006837/0.02749, allocations: 0.5097 MB / 0.6434 GB, free: 3.266 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002815/0.02778, allocations: 286.1 kB / 0.6437 GB, free: 2.984 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.751e-05/0.0278, allocations: 8.5 kB / 0.6437 GB, free: 2.977 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.674e-05/0.02783, allocations: 46.98 kB / 0.6437 GB, free: 2.922 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=47): time 3.838e-06/0.02783, allocations: 0 / 0.6437 GB, free: 2.922 MB / 0.6042 GB Notification: Performance of matching and sorting (n=48): time 0.00234/0.03017, allocations: 1.681 MB / 0.6454 GB, free: 1.223 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.284e-05/0.03021, allocations: 55.91 kB / 0.6454 GB, free: 1.152 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004933/0.0307, allocations: 0.5663 MB / 0.646 GB, free: 0.5742 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.039e-05/0.03073, allocations: 37.7 kB / 0.646 GB, free: 0.5312 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001965/0.03093, allocations: 424 kB / 0.6464 GB, free: 112 kB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001041/0.03103, allocations: 178.6 kB / 0.6466 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001339/0.03116, allocations: 130.5 kB / 0.6467 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.000111/0.03128, allocations: 382.7 kB / 0.6471 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002798/0.03156, allocations: 273.8 kB / 0.6474 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003756/0.03193, allocations: 493 kB / 0.6478 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006885/0.03262, allocations: 0.8085 MB / 0.6486 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.03262, allocations: 4 kB / 0.6486 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001169/0.03379, allocations: 1.07 MB / 0.6497 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/0.03381, allocations: 15.94 kB / 0.6497 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/0.03383, allocations: 4 kB / 0.6497 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007394/0.03457, allocations: 287.7 kB / 0.65 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002641/0.03483, allocations: 119.8 kB / 0.6501 GB, free: 12.15 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004118/0.03895, allocations: 6.681 MB / 0.6566 GB, free: 5.004 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003635/0.03931, allocations: 35.97 kB / 0.6566 GB, free: 4.969 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001848/0.0395, allocations: 32.12 kB / 0.6567 GB, free: 4.938 MB / 0.6198 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.0002788/0.03978, allocations: 254.5 kB / 0.6569 GB, free: 4.68 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.979e-05/0.03985, allocations: 83.47 kB / 0.657 GB, free: 4.598 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009571/0.0408, allocations: 0.8706 MB / 0.6578 GB, free: 3.707 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.119e-06/0.04081, allocations: 12 kB / 0.6578 GB, free: 3.695 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.04081, allocations: 7.922 kB / 0.6578 GB, free: 3.688 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.04082, allocations: 4 kB / 0.6579 GB, free: 3.684 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001645/0.04246, allocations: 1.595 MB / 0.6594 GB, free: 2.008 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.04247, allocations: 192 / 0.6594 GB, free: 2.008 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001403/0.04261, allocations: 67.88 kB / 0.6595 GB, free: 1.941 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004356/0.04304, allocations: 275.1 kB / 0.6597 GB, free: 1.66 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.42e-05/0.04307, allocations: 11.94 kB / 0.6597 GB, free: 1.648 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004067/0.04713, allocations: 6.67 MB / 0.6663 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.04714, allocations: 3.938 kB / 0.6663 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001049/0.04818, allocations: 0.9818 MB / 0.6672 GB, free: 9.484 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002263/0.04841, allocations: 119.5 kB / 0.6673 GB, free: 9.367 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.444e-05/0.04846, allocations: 12.06 kB / 0.6673 GB, free: 9.355 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002077/0.04866, allocations: 27.97 kB / 0.6674 GB, free: 9.328 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/0.04877, allocations: 51.8 kB / 0.6674 GB, free: 9.277 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.204e-05/0.04879, allocations: 12 kB / 0.6674 GB, free: 9.266 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003301/0.04912, allocations: 383.1 kB / 0.6678 GB, free: 8.895 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.04912, allocations: 4 kB / 0.6678 GB, free: 8.891 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006894/0.04981, allocations: 224 kB / 0.668 GB, free: 8.672 MB / 0.6355 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.001298/0.05111, allocations: 1.53 MB / 0.6695 GB, free: 7.09 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001577/0.05268, allocations: 1.225 MB / 0.6707 GB, free: 5.812 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.05269, allocations: 4 kB / 0.6707 GB, free: 5.809 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0007387/0.05343, allocations: 0.8656 MB / 0.6716 GB, free: 4.895 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007002/0.05413, allocations: 223.9 kB / 0.6718 GB, free: 4.688 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.246/0.3001, allocations: 6.345 MB / 0.678 GB, free: 94.58 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002608/0.3004, allocations: 415.5 kB / 0.6784 GB, free: 94.49 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003198/0.3007, allocations: 124.7 kB / 0.6785 GB, free: 94.48 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001987/0.3009, allocations: 251.4 kB / 0.6787 GB, free: 94.48 MB / 0.6355 GB Notification: Performance of SimCode: time 1.192e-06/0.3009, allocations: 1.969 kB / 0.6787 GB, free: 94.48 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04026/0.3411, allocations: 19.31 MB / 0.6976 GB, free: 92.35 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.499/7.84, allocations: 15.31 kB / 0.6976 GB, free: 92.34 MB / 0.6355 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Electrical.AC.OnePhase.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_OnePhase_Lines_Examples_ACLine_R.fmu > IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.75996115617454] Failed to read output from testmodel.py, exit status != 0: 7.929880626499653 7.941852078 7.92167217 Calling exit ...