Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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.00117/0.00117, allocations: 101.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.0009206/0.0009206, allocations: 213.2 kB / 22.24 MB, free: 3.59 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.9655/0.9655, 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 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.8084/0.8084, allocations: 203.5 MB / 0.5039 GB, free: 10.7 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_RLC_N,fileNamePrefix="IDEAS_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="IDEAS_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_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.000985/0.000985, allocations: 70.81 kB / 0.7178 GB, free: 4.379 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5389/0.5399, allocations: 102 MB / 0.8174 GB, free: 1.223 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.008634/0.5485, allocations: 9.628 MB / 0.8268 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004945/0.5534, allocations: 3.151 MB / 0.8299 GB, free: 9.043 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007242/0.5542, allocations: 45.72 kB / 0.8299 GB, free: 9.023 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001286/0.5554, allocations: 0.6121 MB / 0.8305 GB, free: 8.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001776/0.5572, allocations: 0.7763 MB / 0.8313 GB, free: 8.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001768/0.559, allocations: 0.7421 MB / 0.832 GB, free: 7.863 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.00459/0.5636, allocations: 2.998 MB / 0.8349 GB, free: 6.605 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002054/0.5656, allocations: 1.409 MB / 0.8363 GB, free: 5.895 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002671/0.5683, allocations: 1.294 MB / 0.8376 GB, free: 5.352 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002515/0.5708, allocations: 1.63 MB / 0.8392 GB, free: 4.738 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0003747/0.5712, allocations: 235.7 kB / 0.8394 GB, free: 4.738 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009728/0.5722, allocations: 485.1 kB / 0.8398 GB, free: 4.602 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0008841/0.573, allocations: 1.098 MB / 0.8409 GB, free: 3.914 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.001052/0.5741, allocations: 0.9138 MB / 0.8418 GB, free: 3.348 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.003427/0.5775, allocations: 3.715 MB / 0.8454 GB, free: 0.7461 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.5775, allocations: 3.938 kB / 0.8454 GB, free: 0.7422 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.154e-06/0.5775, allocations: 4 kB / 0.8454 GB, free: 0.7383 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001109/0.5776, allocations: 3.938 kB / 0.8454 GB, free: 0.7344 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: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.004787/0.5824, allocations: 2.107 MB / 0.8475 GB, free: 15.27 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.5825, allocations: 9.625 kB / 0.8475 GB, free: 15.27 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003605/0.5828, allocations: 257.7 kB / 0.8478 GB, free: 15.08 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007268/0.5901, allocations: 1.325 MB / 0.8491 GB, free: 14.43 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003586/0.5937, allocations: 1.273 MB / 0.8503 GB, free: 13.64 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001143/0.5938, allocations: 111.2 kB / 0.8504 GB, free: 13.59 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005684/0.5944, allocations: 145.8 kB / 0.8505 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005363/0.5997, allocations: 3.514 MB / 0.854 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.402e-05/0.5998, allocations: 2.938 kB / 0.854 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001679/0.5999, allocations: 65.64 kB / 0.854 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002079/0.6001, allocations: 205.2 kB / 0.8542 GB, free: 11.31 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004149/0.6043, allocations: 3.122 MB / 0.8573 GB, free: 9.758 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01347/0.6178, allocations: 10.08 MB / 0.8671 GB, free: 2.633 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001805/0.6196, allocations: 1.611 MB / 0.8687 GB, free: 1.016 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001339/0.6209, allocations: 1.327 MB / 0.87 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 7.66e-05/0.621, allocations: 21 kB / 0.87 GB, free: 15.67 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.234e-05/0.621, allocations: 43.5 kB / 0.8701 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=104): time 3.456e-06/0.621, allocations: 0 / 0.8701 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of matching and sorting (n=183): time 0.07413/0.6952, allocations: 36.17 MB / 0.9054 GB, free: 11.39 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.955e-05/0.6952, allocations: 69.41 kB / 0.9055 GB, free: 11.31 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001169/0.6964, allocations: 1.077 MB / 0.9065 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002017/0.6966, allocations: 53.7 kB / 0.9066 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004124/0.697, allocations: 0.8132 MB / 0.9073 GB, free: 9.32 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005002/0.6975, allocations: 0.6546 MB / 0.908 GB, free: 8.66 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004752/0.698, allocations: 363.5 kB / 0.9083 GB, free: 8.301 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.437e-05/0.698, allocations: 301.1 kB / 0.9086 GB, free: 8.004 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002083/0.7001, allocations: 1.928 MB / 0.9105 GB, free: 6.074 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002138/0.7023, allocations: 2.289 MB / 0.9127 GB, free: 3.66 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004119/0.7064, allocations: 4.393 MB / 0.917 GB, free: 15.14 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.969e-06/0.7064, allocations: 4 kB / 0.917 GB, free: 15.14 MB / 0.698 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01197/0.7184, allocations: 8.877 MB / 0.9257 GB, free: 6.234 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.813e-05/0.7184, allocations: 8.656 kB / 0.9257 GB, free: 6.227 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.977e-05/0.7184, allocations: 12 kB / 0.9257 GB, free: 6.215 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009786/0.7282, allocations: 4.968 MB / 0.9306 GB, free: 1.227 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006707/0.7289, allocations: 195.6 kB / 0.9308 GB, free: 1.035 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03889/0.7678, allocations: 38 MB / 0.9679 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001514/0.7693, allocations: 95.89 kB / 0.968 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001974/0.7695, allocations: 72 kB / 0.968 GB, free: 10.39 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * 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 {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001264/0.7707, allocations: 0.8064 MB / 0.9688 GB, free: 9.578 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002705/0.771, allocations: 151.1 kB / 0.969 GB, free: 9.43 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01246/0.7835, allocations: 8.737 MB / 0.9775 GB, free: 0.6523 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.153e-05/0.7835, allocations: 16 kB / 0.9775 GB, free: 0.6367 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001132/0.7836, allocations: 28 kB / 0.9775 GB, free: 0.6094 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-05/0.7836, allocations: 7.969 kB / 0.9775 GB, free: 0.6016 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01774/0.8014, allocations: 12.67 MB / 0.9899 GB, free: 3.812 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.077e-05/0.8014, allocations: 4 kB / 0.9899 GB, free: 3.809 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000295/0.8017, allocations: 123.8 kB / 0.99 GB, free: 3.688 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009031/0.8107, allocations: 4.818 MB / 0.9947 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002113/0.8109, allocations: 40 kB / 0.9948 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03428/0.8452, allocations: 35.92 MB / 1.03 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.282e-06/0.8452, allocations: 15.81 kB / 1.03 GB, free: 10.4 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01191/0.8571, allocations: 8.441 MB / 1.038 GB, free: 1.867 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001176/0.8583, allocations: 0.5847 MB / 1.039 GB, free: 1.281 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00018/0.8585, allocations: 32 kB / 1.039 GB, free: 1.25 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007678/0.8592, allocations: 91.89 kB / 1.039 GB, free: 1.16 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007307/0.86, allocations: 173.5 kB / 1.039 GB, free: 0.9922 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.67e-05/0.8601, allocations: 51.94 kB / 1.039 GB, free: 0.9414 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0007825/0.8608, allocations: 0.7343 MB / 1.04 GB, free: 200 kB / 0.8073 GB Notification: Performance of sort global known variables: time 1.81e-07/0.8608, allocations: 0 / 1.04 GB, free: 200 kB / 0.8073 GB Notification: Performance of remove unused functions: time 0.002658/0.8635, allocations: 1.008 MB / 1.041 GB, free: 15.18 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (66): * Single equations (assignments): 62 * 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 {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (15,23,74.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01235/0.8759, allocations: 9.043 MB / 1.05 GB, free: 6.051 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.007132/0.883, allocations: 5.74 MB / 1.055 GB, free: 256 kB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 7.194e-06/0.883, allocations: 0 / 1.055 GB, free: 256 kB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.005109/0.8881, allocations: 3.782 MB / 1.059 GB, free: 12.42 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001214/0.8893, allocations: 243.2 kB / 1.059 GB, free: 12.2 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03983/0.9291, allocations: 30.82 MB / 1.089 GB, free: 12.84 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001269/0.9304, allocations: 1.275 MB / 1.09 GB, free: 11.53 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0006634/0.9311, allocations: 359.4 kB / 1.091 GB, free: 11.17 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005356/0.9316, allocations: 0.6086 MB / 1.091 GB, free: 10.56 MB / 0.8698 GB Notification: Performance of SimCode: time 1.523e-06/0.9316, allocations: 0 / 1.091 GB, free: 10.56 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4629/1.394, allocations: 80.64 MB / 1.17 GB, free: 292 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.995/9.389, allocations: 5.922 kB / 1.17 GB, free: 292 MB / 0.9167 GB " [Timeout remaining time 651] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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_RLC_N.fmu > IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.47848259890452] Failed to read output from testmodel.py, exit status != 0: 9.491430943831801 9.500848127 8.921419608 Calling exit ...