Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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.0006814/0.0006814, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0007597/0.0007597, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8982/0.8982, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.7343/0.7343, allocations: 154.5 MB / 413.7 MB, free: 0.8555 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.ACLine,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 0.618 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.507e-05/1.699e-05, allocations: 2.969 kB / 0.618 GB, free: 13.74 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01119/0.01121, allocations: 13.07 MB / 0.6308 GB, free: 0.6211 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.008956/0.02017, allocations: 9.006 MB / 0.6396 GB, free: 7.59 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009445/0.02111, allocations: 83.25 kB / 0.6397 GB, free: 7.508 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.002067/0.02318, allocations: 1.668 MB / 0.6413 GB, free: 5.836 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.003213/0.02639, allocations: 1.624 MB / 0.6429 GB, free: 4.203 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001453/0.02784, allocations: 0.7708 MB / 0.6437 GB, free: 3.434 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.002658/0.0305, allocations: 2.605 MB / 0.6462 GB, free: 0.8164 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001351/0.03185, allocations: 1.176 MB / 0.6474 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001643/0.0335, allocations: 1.504 MB / 0.6488 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001365/0.03486, allocations: 1.001 MB / 0.6498 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0002176/0.03508, allocations: 164 kB / 0.65 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001056/0.03613, allocations: 0.7365 MB / 0.6507 GB, free: 12.19 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0005291/0.03666, allocations: 0.6542 MB / 0.6513 GB, free: 11.53 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0007558/0.03742, allocations: 0.643 MB / 0.6519 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.002226/0.03965, allocations: 2.808 MB / 0.6547 GB, free: 8.07 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.03965, allocations: 8 kB / 0.6547 GB, free: 8.062 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.553e-06/0.03965, allocations: 0 / 0.6547 GB, free: 8.062 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.717e-05/0.03971, allocations: 3.938 kB / 0.6547 GB, free: 8.059 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.002762/0.04247, allocations: 2.096 MB / 0.6567 GB, free: 5.922 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.04252, allocations: 13.47 kB / 0.6568 GB, free: 5.91 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001871/0.04271, allocations: 194.4 kB / 0.6569 GB, free: 5.711 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005418/0.04812, allocations: 2.098 MB / 0.659 GB, free: 3.609 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001449/0.04957, allocations: 1.219 MB / 0.6602 GB, free: 2.34 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.47e-05/0.04962, allocations: 86.73 kB / 0.6603 GB, free: 2.254 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001667/0.04978, allocations: 116.4 kB / 0.6604 GB, free: 2.141 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003188/0.05297, allocations: 3.089 MB / 0.6634 GB, free: 14.8 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.787e-05/0.053, allocations: 7.953 kB / 0.6634 GB, free: 14.8 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001126/0.05311, allocations: 51.98 kB / 0.6634 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000296/0.05341, allocations: 186.1 kB / 0.6636 GB, free: 14.56 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004065/0.05747, allocations: 2.791 MB / 0.6663 GB, free: 11.76 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007562/0.06503, allocations: 8.324 MB / 0.6745 GB, free: 3.266 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003407/0.06844, allocations: 2.227 MB / 0.6767 GB, free: 1.035 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.285/0.3534, allocations: 1.207 MB / 0.6778 GB, free: 96.89 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 7.922e-05/0.3535, allocations: 17.19 kB / 0.6778 GB, free: 96.89 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.301e-05/0.3535, allocations: 44.94 kB / 0.6779 GB, free: 96.85 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=89): time 2.705e-06/0.3535, allocations: 0 / 0.6779 GB, free: 96.85 MB / 0.6355 GB Notification: Performance of matching and sorting (n=131): time 0.02076/0.3743, allocations: 12.66 MB / 0.6903 GB, free: 94.69 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.355e-05/0.3743, allocations: 64.28 kB / 0.6903 GB, free: 94.62 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008926/0.3752, allocations: 1.133 MB / 0.6914 GB, free: 94.18 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.622e-05/0.3753, allocations: 47.77 kB / 0.6915 GB, free: 94.13 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002608/0.3755, allocations: 0.7273 MB / 0.6922 GB, free: 93.61 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002251/0.3758, allocations: 472.9 kB / 0.6926 GB, free: 93.3 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002975/0.3761, allocations: 260.7 kB / 0.6929 GB, free: 93.19 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.06e-05/0.3761, allocations: 359.4 kB / 0.6932 GB, free: 92.87 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001649/0.3778, allocations: 1.338 MB / 0.6945 GB, free: 92.49 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001699/0.3795, allocations: 1.605 MB / 0.6961 GB, free: 91.82 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003321/0.3828, allocations: 2.995 MB / 0.699 GB, free: 90.64 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.3828, allocations: 1.844 kB / 0.699 GB, free: 90.64 MB / 0.6355 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.005995/0.3888, allocations: 4.398 MB / 0.7033 GB, free: 89.18 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.651e-05/0.3888, allocations: 8.312 kB / 0.7033 GB, free: 89.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.671e-05/0.3888, allocations: 7.219 kB / 0.7033 GB, free: 89.18 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002822/0.3917, allocations: 1.424 MB / 0.7047 GB, free: 88.8 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009916/0.3927, allocations: 439.4 kB / 0.7051 GB, free: 88.78 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01338/0.406, allocations: 25.08 MB / 0.7296 GB, free: 68.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00148/0.4075, allocations: 312.7 kB / 0.7299 GB, free: 68.45 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001065/0.4076, allocations: 62.62 kB / 0.73 GB, free: 68.44 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006645/0.4083, allocations: 435 kB / 0.7304 GB, free: 68.17 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001861/0.4085, allocations: 168.3 kB / 0.7306 GB, free: 68.09 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007065/0.4155, allocations: 4.408 MB / 0.7349 GB, free: 66.62 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.225e-05/0.4155, allocations: 13.06 kB / 0.7349 GB, free: 66.62 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.777e-05/0.4156, allocations: 17.59 kB / 0.7349 GB, free: 66.61 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.666e-05/0.4156, allocations: 7.641 kB / 0.7349 GB, free: 66.61 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0093/0.4249, allocations: 6.294 MB / 0.7411 GB, free: 64.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.141e-06/0.4249, allocations: 3.5 kB / 0.7411 GB, free: 64.36 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009431/0.4258, allocations: 376.4 kB / 0.7414 GB, free: 64.35 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002495/0.4283, allocations: 1.303 MB / 0.7427 GB, free: 63.99 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.179e-05/0.4284, allocations: 41.16 kB / 0.7427 GB, free: 63.97 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01242/0.4408, allocations: 23.95 MB / 0.7661 GB, free: 43.84 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.4408, allocations: 4.031 kB / 0.7661 GB, free: 43.84 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005272/0.4461, allocations: 4.167 MB / 0.7702 GB, free: 41.42 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004817/0.4466, allocations: 391.8 kB / 0.7706 GB, free: 41.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001193/0.4467, allocations: 31.5 kB / 0.7706 GB, free: 41.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009284/0.4476, allocations: 310.6 kB / 0.7709 GB, free: 40.99 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003256/0.448, allocations: 128 kB / 0.771 GB, free: 40.91 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.669e-05/0.448, allocations: 49.58 kB / 0.7711 GB, free: 40.89 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0006222/0.4486, allocations: 0.749 MB / 0.7718 GB, free: 40.43 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.4486, allocations: 4 kB / 0.7718 GB, free: 40.43 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001391/0.45, allocations: 0.5703 MB / 0.7723 GB, free: 39.86 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005144/0.4552, allocations: 4.746 MB / 0.777 GB, free: 35.02 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.005088/0.4603, allocations: 4.963 MB / 0.7818 GB, free: 29.9 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.4603, allocations: 4 kB / 0.7818 GB, free: 29.89 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.002779/0.463, allocations: 3.411 MB / 0.7852 GB, free: 26.32 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00123/0.4643, allocations: 0.5557 MB / 0.7857 GB, free: 25.8 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02019/0.4845, allocations: 19.38 MB / 0.8046 GB, free: 6.02 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000578/0.485, allocations: 0.8912 MB / 0.8055 GB, free: 5.094 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0008244/0.4859, allocations: 425.6 kB / 0.8059 GB, free: 4.672 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004794/0.4863, allocations: 0.633 MB / 0.8065 GB, free: 4.039 MB / 0.6355 GB Notification: Performance of SimCode: time 7.31e-07/0.4864, allocations: 0 / 0.8065 GB, free: 4.039 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07419/0.5605, allocations: 56.42 MB / 0.8616 GB, free: 12.52 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.494/9.055, allocations: 6.562 kB / 0.8616 GB, free: 12.51 MB / 0.698 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_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.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.912893648259342] Failed to read output from testmodel.py, exit status != 0: 9.163964529521763 9.171792871 9.130359408 Calling exit ...