Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.0009186/0.0009186, allocations: 109.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.001038/0.001038, allocations: 216 kB / 22.25 MB, free: 3.73 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.9764/0.9764, allocations: 230.6 MB / 256 MB, free: 9.602 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.7795/0.7795, allocations: 203.5 MB / 0.5039 GB, free: 10.71 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.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="IDEAS_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="IDEAS_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",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.0009969/0.0009969, allocations: 79.08 kB / 0.7178 GB, free: 4.406 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5201/0.5211, allocations: 102 MB / 0.8174 GB, free: 1.086 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01233/0.5334, allocations: 13.91 MB / 0.831 GB, free: 8.266 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01277/0.5462, allocations: 9.963 MB / 0.8407 GB, free: 1.871 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001685/0.5479, allocations: 81.72 kB / 0.8408 GB, free: 1.824 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.002829/0.5507, allocations: 1.695 MB / 0.8424 GB, free: 0.8672 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.00506/0.5558, allocations: 1.851 MB / 0.8442 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001879/0.5577, allocations: 0.7565 MB / 0.845 GB, free: 15 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.004069/0.5617, allocations: 2.778 MB / 0.8477 GB, free: 13.41 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001606/0.5633, allocations: 1.181 MB / 0.8489 GB, free: 12.6 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002461/0.5658, allocations: 1.64 MB / 0.8505 GB, free: 11.76 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001818/0.5676, allocations: 1.08 MB / 0.8515 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0003765/0.568, allocations: 160.8 kB / 0.8517 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001407/0.5694, allocations: 0.7321 MB / 0.8524 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0004833/0.5699, allocations: 0.6131 MB / 0.853 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.00106/0.5709, allocations: 0.7742 MB / 0.8537 GB, free: 9.895 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.003156/0.5741, allocations: 2.79 MB / 0.8565 GB, free: 7.957 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.5741, allocations: 5.156 kB / 0.8565 GB, free: 7.953 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.023e-06/0.5741, allocations: 0 / 0.8565 GB, free: 7.953 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.682e-05/0.5742, allocations: 0 / 0.8565 GB, free: 7.953 MB / 0.6355 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.003886/0.5781, allocations: 2.152 MB / 0.8586 GB, free: 6.41 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.5781, allocations: 10.38 kB / 0.8586 GB, free: 6.41 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002011/0.5783, allocations: 197.9 kB / 0.8588 GB, free: 6.254 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006662/0.585, allocations: 2.121 MB / 0.8608 GB, free: 5.25 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002307/0.5873, allocations: 1.227 MB / 0.862 GB, free: 4.367 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.915e-05/0.5873, allocations: 93.61 kB / 0.8621 GB, free: 4.32 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002345/0.5876, allocations: 119 kB / 0.8622 GB, free: 4.277 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004049/0.5916, allocations: 3.077 MB / 0.8652 GB, free: 2.062 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.75e-05/0.5917, allocations: 11.77 kB / 0.8653 GB, free: 2.055 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001285/0.5918, allocations: 53.77 kB / 0.8653 GB, free: 2.016 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004186/0.5922, allocations: 190.3 kB / 0.8655 GB, free: 1.949 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004926/0.5971, allocations: 2.786 MB / 0.8682 GB, free: 0.5391 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01006/0.6072, allocations: 8.346 MB / 0.8764 GB, free: 8.91 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003761/0.611, allocations: 2.171 MB / 0.8785 GB, free: 6.73 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001736/0.6127, allocations: 1.202 MB / 0.8796 GB, free: 5.527 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 5.577e-05/0.6127, allocations: 13 kB / 0.8797 GB, free: 5.512 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.329e-05/0.6128, allocations: 51.56 kB / 0.8797 GB, free: 5.453 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=89): time 3.186e-06/0.6128, allocations: 0 / 0.8797 GB, free: 5.453 MB / 0.6511 GB Notification: Performance of matching and sorting (n=153): time 0.03268/0.6455, allocations: 15.99 MB / 0.8953 GB, free: 5.414 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.891e-05/0.6455, allocations: 68.72 kB / 0.8954 GB, free: 5.332 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001304/0.6468, allocations: 1.195 MB / 0.8966 GB, free: 4.125 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.000157/0.647, allocations: 45.7 kB / 0.8966 GB, free: 4.074 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004271/0.6474, allocations: 0.7607 MB / 0.8973 GB, free: 3.309 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004329/0.6478, allocations: 0.5383 MB / 0.8979 GB, free: 2.766 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005391/0.6484, allocations: 291.4 kB / 0.8982 GB, free: 2.473 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 7.467e-05/0.6485, allocations: 305.1 kB / 0.8984 GB, free: 2.172 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002148/0.6506, allocations: 1.51 MB / 0.8999 GB, free: 0.6602 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002282/0.6529, allocations: 1.784 MB / 0.9017 GB, free: 14.78 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004491/0.6574, allocations: 3.369 MB / 0.9049 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.324e-06/0.6574, allocations: 4 kB / 0.905 GB, free: 11.31 MB / 0.6823 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.00801/0.6654, allocations: 5.203 MB / 0.91 GB, free: 6.066 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.332e-05/0.6654, allocations: 11.98 kB / 0.91 GB, free: 6.055 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.492e-05/0.6654, allocations: 8 kB / 0.9101 GB, free: 6.047 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003734/0.6692, allocations: 1.878 MB / 0.9119 GB, free: 4.148 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001308/0.6705, allocations: 423.2 kB / 0.9123 GB, free: 3.734 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01906/0.6895, allocations: 23.04 MB / 0.9348 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002066/0.6916, allocations: 307.6 kB / 0.9351 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001448/0.6918, allocations: 75.89 kB / 0.9352 GB, free: 11.41 MB / 0.7136 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 (82): * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008897/0.6926, allocations: 461.5 kB / 0.9356 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002662/0.6929, allocations: 182.9 kB / 0.9358 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00822/0.7011, allocations: 5.253 MB / 0.9409 GB, free: 5.469 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.524e-05/0.7011, allocations: 16 kB / 0.9409 GB, free: 5.453 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.639e-05/0.7012, allocations: 20 kB / 0.9409 GB, free: 5.434 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.339e-05/0.7012, allocations: 7.969 kB / 0.9409 GB, free: 5.426 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0102/0.7114, allocations: 6.974 MB / 0.9478 GB, free: 14.33 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.685e-06/0.7114, allocations: 4 kB / 0.9478 GB, free: 14.33 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008971/0.7123, allocations: 351.4 kB / 0.9481 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003418/0.7157, allocations: 1.706 MB / 0.9498 GB, free: 12.26 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001324/0.7159, allocations: 47.89 kB / 0.9498 GB, free: 12.21 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01838/0.7342, allocations: 22.24 MB / 0.9715 GB, free: 5.07 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.7342, allocations: 4 kB / 0.9715 GB, free: 5.066 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007506/0.7417, allocations: 4.833 MB / 0.9762 GB, free: 152 kB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009142/0.7427, allocations: 422.8 kB / 0.9766 GB, free: 15.73 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001432/0.7428, allocations: 32 kB / 0.9767 GB, free: 15.7 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001166/0.744, allocations: 315.5 kB / 0.977 GB, free: 15.39 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004285/0.7444, allocations: 156.7 kB / 0.9771 GB, free: 15.24 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.53e-05/0.7445, allocations: 59.95 kB / 0.9772 GB, free: 15.18 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0007883/0.7453, allocations: 0.7938 MB / 0.978 GB, free: 14.39 MB / 0.7605 GB Notification: Performance of sort global known variables: time 7e-08/0.7453, allocations: 0 / 0.978 GB, free: 14.39 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.001606/0.7469, allocations: 0.6562 MB / 0.9786 GB, free: 13.73 MB / 0.7605 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007223/0.7541, allocations: 5.405 MB / 0.9839 GB, free: 8.23 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.006681/0.7608, allocations: 4.917 MB / 0.9887 GB, free: 3.211 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 5.972e-06/0.7608, allocations: 0 / 0.9887 GB, free: 3.211 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.004172/0.765, allocations: 3.28 MB / 0.9919 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001767/0.7667, allocations: 0.5576 MB / 0.9924 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02961/0.7963, allocations: 21.79 MB / 1.014 GB, free: 9.012 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009025/0.7972, allocations: 0.9843 MB / 1.015 GB, free: 7.984 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.001075/0.7983, allocations: 382.4 kB / 1.015 GB, free: 7.605 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006078/0.7989, allocations: 0.6515 MB / 1.016 GB, free: 6.953 MB / 0.7917 GB Notification: Performance of SimCode: time 1.262e-06/0.7989, allocations: 0 / 1.016 GB, free: 6.953 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08726/0.8862, allocations: 63.81 MB / 1.078 GB, free: 7.895 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.145/9.031, allocations: 3.953 kB / 1.078 GB, free: 7.891 MB / 0.8542 GB " [Timeout remaining time 651] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.fmu > IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.017064176034182] Failed to read output from testmodel.py, exit status != 0: 9.138939689844847 9.152626539 8.575677101 Calling exit ...