Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0007487/0.0007487, 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.0008564/0.0008564, 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.8742/0.8742, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7127/0.7127, allocations: 154.6 MB / 413.7 MB, free: 0.8047 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_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_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.524e-06/2.524e-06, allocations: 0 / 0.6181 GB, free: 13.62 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.481e-05/2.733e-05, allocations: 5.234 kB / 0.6181 GB, free: 13.62 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.007953/0.00798, allocations: 5.885 MB / 0.6239 GB, free: 7.707 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.004325/0.01231, allocations: 3.106 MB / 0.6269 GB, free: 4.59 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003996/0.0127, allocations: 39.62 kB / 0.6269 GB, free: 4.551 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.001279/0.01398, allocations: 0.9374 MB / 0.6278 GB, free: 3.609 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0008906/0.01487, allocations: 0.4931 MB / 0.6283 GB, free: 3.113 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008576/0.01573, allocations: 0.513 MB / 0.6288 GB, free: 2.602 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.001002/0.01673, allocations: 1.127 MB / 0.6299 GB, free: 1.469 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000669/0.0174, allocations: 0.51 MB / 0.6304 GB, free: 0.9531 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006645/0.01807, allocations: 0.6077 MB / 0.631 GB, free: 352 kB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004275/0.01849, allocations: 426.8 kB / 0.6314 GB, free: 15.93 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.051e-05/0.01856, allocations: 64 kB / 0.6315 GB, free: 15.86 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005755/0.01913, allocations: 450.8 kB / 0.6319 GB, free: 15.42 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001962/0.01933, allocations: 307.1 kB / 0.6322 GB, free: 15.12 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001912/0.01952, allocations: 275.3 kB / 0.6325 GB, free: 14.85 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000921/0.02044, allocations: 1.203 MB / 0.6336 GB, free: 13.64 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.291e-06/0.02045, allocations: 4 kB / 0.6337 GB, free: 13.64 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.255e-06/0.02045, allocations: 0 / 0.6337 GB, free: 13.64 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.167e-05/0.02046, allocations: 0 / 0.6337 GB, free: 13.64 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001187/0.02165, allocations: 0.9986 MB / 0.6346 GB, free: 12.61 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.02169, allocations: 12.03 kB / 0.6346 GB, free: 12.6 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.637e-05/0.02179, allocations: 118.7 kB / 0.6348 GB, free: 12.47 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000849/0.02264, allocations: 228.2 kB / 0.635 GB, free: 12.25 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006356/0.02327, allocations: 0.5236 MB / 0.6355 GB, free: 11.7 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.888e-05/0.0233, allocations: 45.69 kB / 0.6355 GB, free: 11.66 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.33e-05/0.02338, allocations: 72.3 kB / 0.6356 GB, free: 11.59 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009902/0.02437, allocations: 1.119 MB / 0.6367 GB, free: 10.34 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.542e-05/0.02439, allocations: 12.11 kB / 0.6367 GB, free: 10.32 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.856e-05/0.02444, allocations: 40.09 kB / 0.6367 GB, free: 10.29 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.518e-05/0.0245, allocations: 69.22 kB / 0.6368 GB, free: 10.22 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007355/0.02524, allocations: 0.6879 MB / 0.6375 GB, free: 9.527 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003107/0.02835, allocations: 4.502 MB / 0.6419 GB, free: 4.855 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005333/0.02888, allocations: 414.1 kB / 0.6423 GB, free: 4.441 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005288/0.02941, allocations: 384.6 kB / 0.6426 GB, free: 4.059 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.761e-05/0.02944, allocations: 4 kB / 0.6426 GB, free: 4.055 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.089e-05/0.02946, allocations: 38.56 kB / 0.6427 GB, free: 4.008 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=41): time 2.845e-06/0.02946, allocations: 3.938 kB / 0.6427 GB, free: 4.004 MB / 0.6042 GB Notification: Performance of matching and sorting (n=42): time 0.002531/0.03199, allocations: 1.738 MB / 0.6444 GB, free: 2.246 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.374e-05/0.03202, allocations: 59.34 kB / 0.6444 GB, free: 2.176 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003462/0.03237, allocations: 474.7 kB / 0.6449 GB, free: 1.699 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.462e-05/0.0324, allocations: 29.7 kB / 0.6449 GB, free: 1.664 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002068/0.0326, allocations: 396.1 kB / 0.6453 GB, free: 1.273 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.428e-05/0.03269, allocations: 154.7 kB / 0.6454 GB, free: 1.121 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001129/0.0328, allocations: 110.2 kB / 0.6455 GB, free: 1.008 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.779e-05/0.0329, allocations: 362.8 kB / 0.6459 GB, free: 0.6445 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003073/0.0332, allocations: 249.1 kB / 0.6461 GB, free: 408 kB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003262/0.03353, allocations: 465 kB / 0.6466 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006577/0.03419, allocations: 0.7495 MB / 0.6473 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.03419, allocations: 0 / 0.6473 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.00121/0.0354, allocations: 1.046 MB / 0.6483 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.247e-05/0.03542, allocations: 8 kB / 0.6483 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.282e-05/0.03544, allocations: 12.78 kB / 0.6483 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006307/0.03607, allocations: 327.1 kB / 0.6487 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00019/0.03626, allocations: 95.83 kB / 0.6487 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004681/0.04094, allocations: 7.056 MB / 0.6556 GB, free: 5.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003201/0.04126, allocations: 36.02 kB / 0.6557 GB, free: 5.945 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.781e-05/0.04129, allocations: 24 kB / 0.6557 GB, free: 5.922 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 (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.0002795/0.04157, allocations: 246.6 kB / 0.6559 GB, free: 5.672 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.848e-05/0.04162, allocations: 63.56 kB / 0.656 GB, free: 5.609 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001027/0.04265, allocations: 0.908 MB / 0.6569 GB, free: 4.676 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.04266, allocations: 4 kB / 0.6569 GB, free: 4.672 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.04266, allocations: 4 kB / 0.6569 GB, free: 4.668 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.04267, allocations: 0 / 0.6569 GB, free: 4.668 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001644/0.04431, allocations: 1.599 MB / 0.6584 GB, free: 2.988 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.04431, allocations: 0 / 0.6584 GB, free: 2.988 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.316e-05/0.04441, allocations: 43.97 kB / 0.6585 GB, free: 2.945 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005007/0.04491, allocations: 311.3 kB / 0.6588 GB, free: 2.629 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.997e-05/0.04493, allocations: 12 kB / 0.6588 GB, free: 2.617 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00419/0.04912, allocations: 7.07 MB / 0.6657 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.04912, allocations: 4 kB / 0.6657 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001069/0.05019, allocations: 0.9851 MB / 0.6667 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001548/0.05034, allocations: 99.52 kB / 0.6668 GB, free: 9.957 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.584e-05/0.05038, allocations: 12 kB / 0.6668 GB, free: 9.945 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000145/0.05052, allocations: 23.97 kB / 0.6668 GB, free: 9.922 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.447e-05/0.05062, allocations: 43.92 kB / 0.6668 GB, free: 9.879 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.598e-05/0.05063, allocations: 8 kB / 0.6668 GB, free: 9.871 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002317/0.05087, allocations: 318.9 kB / 0.6671 GB, free: 9.562 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8e-08/0.05087, allocations: 0 / 0.6671 GB, free: 9.562 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005423/0.05141, allocations: 199.9 kB / 0.6673 GB, free: 9.367 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 (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.001147/0.05256, allocations: 1.537 MB / 0.6688 GB, free: 7.773 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001142/0.0537, allocations: 1.148 MB / 0.67 GB, free: 6.574 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.0537, allocations: 0 / 0.67 GB, free: 6.574 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0006225/0.05432, allocations: 0.8347 MB / 0.6708 GB, free: 5.688 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006069/0.05493, allocations: 215 kB / 0.671 GB, free: 5.496 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.228/0.283, allocations: 5.895 MB / 0.6767 GB, free: 94.23 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002832/0.2832, allocations: 395.4 kB / 0.6771 GB, free: 94.14 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002922/0.2835, allocations: 96.72 kB / 0.6772 GB, free: 94.13 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001703/0.2837, allocations: 227.7 kB / 0.6774 GB, free: 94.13 MB / 0.6355 GB Notification: Performance of SimCode: time 1.573e-06/0.2837, allocations: 6.938 kB / 0.6774 GB, free: 94.13 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0372/0.3209, allocations: 17.16 MB / 0.6942 GB, free: 92.23 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.503/7.823, allocations: 0.5 kB / 0.6942 GB, free: 92.23 MB / 0.6355 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.fmu > IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.520845843479037] Failed to read output from testmodel.py, exit status != 0: 7.915608014911413 7.923059248 7.900772279 Calling exit ...