Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.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.0008779/0.0008779, 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.001073/0.001073, allocations: 209.2 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.965/0.965, allocations: 230.6 MB / 256 MB, free: 9.625 MB / 202.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.8328/0.8328, allocations: 203.5 MB / 0.5039 GB, free: 10.68 MB / 410.7 MB " [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.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="IDEAS_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="IDEAS_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",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.0009535/0.0009535, allocations: 66.38 kB / 0.7178 GB, free: 4.398 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.478/0.479, allocations: 102 MB / 0.8174 GB, free: 1.238 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.01967/0.4986, allocations: 22.23 MB / 0.8391 GB, free: 3.289 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01169/0.5103, allocations: 6.458 MB / 0.8454 GB, free: 14.89 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001986/0.5123, allocations: 126.6 kB / 0.8455 GB, free: 14.83 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002244/0.5145, allocations: 1.507 MB / 0.847 GB, free: 13.65 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.004595/0.5191, allocations: 1.943 MB / 0.8489 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.003598/0.5227, allocations: 1.478 MB / 0.8503 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.007553/0.5303, allocations: 6.898 MB / 0.8571 GB, free: 7.051 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004032/0.5343, allocations: 3.723 MB / 0.8607 GB, free: 4.668 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003364/0.5377, allocations: 2.934 MB / 0.8636 GB, free: 2.992 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003722/0.5414, allocations: 3.558 MB / 0.8671 GB, free: 0.9141 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0009997/0.5424, allocations: 0.5273 MB / 0.8676 GB, free: 0.9141 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002156/0.5446, allocations: 1.114 MB / 0.8687 GB, free: 0.5859 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.001849/0.5464, allocations: 2.527 MB / 0.8711 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.002393/0.5488, allocations: 2.062 MB / 0.8731 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.005593/0.5544, allocations: 8.58 MB / 0.8815 GB, free: 4.199 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.5544, allocations: 4 kB / 0.8815 GB, free: 4.195 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.663e-06/0.5544, allocations: 0 / 0.8815 GB, free: 4.195 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.596e-05/0.5545, allocations: 4 kB / 0.8815 GB, free: 4.191 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.005072/0.5596, allocations: 4.472 MB / 0.8859 GB, free: 15.66 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.5596, allocations: 8.031 kB / 0.8859 GB, free: 15.66 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005027/0.5601, allocations: 0.5714 MB / 0.8865 GB, free: 15.07 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004598/0.5647, allocations: 1.707 MB / 0.8881 GB, free: 13.36 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002985/0.5677, allocations: 2.672 MB / 0.8907 GB, free: 10.64 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001156/0.5678, allocations: 275.7 kB / 0.891 GB, free: 10.38 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003565/0.5682, allocations: 360.3 kB / 0.8913 GB, free: 10.02 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00712/0.5753, allocations: 7.716 MB / 0.8989 GB, free: 1.984 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.325e-05/0.5753, allocations: 15.88 kB / 0.8989 GB, free: 1.969 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002712/0.5756, allocations: 155.9 kB / 0.899 GB, free: 1.816 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005985/0.5762, allocations: 491.3 kB / 0.8995 GB, free: 1.336 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005465/0.5817, allocations: 5.689 MB / 0.9051 GB, free: 11.64 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01737/0.599, allocations: 20.55 MB / 0.9251 GB, free: 6.613 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001842/0.6009, allocations: 2.019 MB / 0.9271 GB, free: 4.582 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002146/0.603, allocations: 2.104 MB / 0.9292 GB, free: 2.473 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.622e-05/0.6031, allocations: 13.31 kB / 0.9292 GB, free: 2.461 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.032e-05/0.6032, allocations: 47.88 kB / 0.9292 GB, free: 2.402 MB / 0.698 GB Notification: Performance of pre-optimization done (n=146): time 2.645e-06/0.6032, allocations: 0 / 0.9292 GB, free: 2.402 MB / 0.698 GB Notification: Performance of matching and sorting (n=251): time 0.154/0.7571, allocations: 76.71 MB / 1.004 GB, free: 5.566 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.895e-05/0.7572, allocations: 85.34 kB / 1.004 GB, free: 5.469 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001724/0.7589, allocations: 1.709 MB / 1.006 GB, free: 3.715 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0001692/0.7591, allocations: 65.7 kB / 1.006 GB, free: 3.645 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008394/0.7599, allocations: 1.796 MB / 1.008 GB, free: 1.832 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006039/0.7605, allocations: 0.8907 MB / 1.009 GB, free: 0.9336 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00102/0.7615, allocations: 485.4 kB / 1.009 GB, free: 464 kB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 9.566e-05/0.7616, allocations: 301.1 kB / 1.009 GB, free: 160 kB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003629/0.7653, allocations: 2.73 MB / 1.012 GB, free: 13.42 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003009/0.7683, allocations: 3.332 MB / 1.015 GB, free: 9.848 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005528/0.7738, allocations: 6.397 MB / 1.021 GB, free: 3.211 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.097e-06/0.7738, allocations: 8 kB / 1.021 GB, free: 3.203 MB / 0.7917 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.01931/0.7931, allocations: 14.41 MB / 1.036 GB, free: 4.746 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.242e-05/0.7931, allocations: 12 kB / 1.036 GB, free: 4.734 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.422e-05/0.7932, allocations: 19.94 kB / 1.036 GB, free: 4.715 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0165/0.8097, allocations: 9.211 MB / 1.045 GB, free: 11.48 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007202/0.8104, allocations: 295.5 kB / 1.045 GB, free: 11.19 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04955/0.8599, allocations: 51.02 MB / 1.095 GB, free: 7.434 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001888/0.8618, allocations: 223.7 kB / 1.095 GB, free: 7.215 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001705/0.862, allocations: 99.98 kB / 1.095 GB, free: 7.117 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002053/0.8641, allocations: 1.578 MB / 1.097 GB, free: 5.527 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004664/0.8645, allocations: 266.5 kB / 1.097 GB, free: 5.266 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01855/0.8831, allocations: 14.47 MB / 1.111 GB, free: 6.738 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.199e-05/0.8831, allocations: 24 kB / 1.111 GB, free: 6.715 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.858e-05/0.8831, allocations: 48 kB / 1.111 GB, free: 6.668 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.413e-05/0.8832, allocations: 11.95 kB / 1.111 GB, free: 6.656 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02446/0.9076, allocations: 19.52 MB / 1.13 GB, free: 2.941 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.167e-06/0.9076, allocations: 4 kB / 1.13 GB, free: 2.938 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003848/0.908, allocations: 167.7 kB / 1.13 GB, free: 2.773 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01602/0.924, allocations: 8.965 MB / 1.139 GB, free: 9.781 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001768/0.9242, allocations: 55.98 kB / 1.139 GB, free: 9.727 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4252/1.349, allocations: 50.6 MB / 1.188 GB, free: 271.2 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.562e-06/1.349, allocations: 11.69 kB / 1.188 GB, free: 271.2 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01792/1.367, allocations: 14.1 MB / 1.202 GB, free: 266.1 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001373/1.369, allocations: 0.7775 MB / 1.203 GB, free: 265.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002236/1.369, allocations: 55.42 kB / 1.203 GB, free: 265.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001036/1.37, allocations: 202.6 kB / 1.203 GB, free: 265.5 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001163/1.371, allocations: 258.4 kB / 1.203 GB, free: 265.3 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001273/1.371, allocations: 62.66 kB / 1.204 GB, free: 265.3 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.000938/1.372, allocations: 1.123 MB / 1.205 GB, free: 264.7 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.81e-07/1.372, allocations: 0 / 1.205 GB, free: 264.7 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.003285/1.375, allocations: 1.62 MB / 1.206 GB, free: 264.6 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01614/1.392, allocations: 14.71 MB / 1.221 GB, free: 252.2 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.01181/1.403, allocations: 10.21 MB / 1.231 GB, free: 242 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 7.264e-06/1.403, allocations: 0 / 1.231 GB, free: 242 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.01117/1.415, allocations: 7.004 MB / 1.237 GB, free: 235 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002488/1.417, allocations: 0.5552 MB / 1.238 GB, free: 234.4 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0507/1.468, allocations: 50.51 MB / 1.287 GB, free: 182.9 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002023/1.47, allocations: 2.685 MB / 1.29 GB, free: 180.2 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0007753/1.471, allocations: 387.3 kB / 1.29 GB, free: 179.8 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007677/1.471, allocations: 1.464 MB / 1.292 GB, free: 178.3 MB / 0.9167 GB Notification: Performance of SimCode: time 2.174e-06/1.471, allocations: 0 / 1.292 GB, free: 178.3 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1164/1.588, allocations: 129.3 MB / 1.418 GB, free: 49.6 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.035/10.62, allocations: 1.406 kB / 1.418 GB, free: 49.6 MB / 0.9167 GB " [Timeout remaining time 649] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_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_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.fmu > IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.824089938774705] Failed to read output from testmodel.py, exit status != 0: 10.745061331894249 10.757958749 10.200350942 Calling exit ...