Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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.0008624/0.0008624, 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.0008038/0.0008038, allocations: 170.3 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.889/0.889, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.7175/0.7175, allocations: 154.6 MB / 413.8 MB, free: 0.7891 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_R,fileNamePrefix="IDEAS_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="IDEAS_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.6181 GB, free: 12.56 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.801e-05/1.957e-05, allocations: 2.281 kB / 0.6181 GB, free: 12.55 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.00639/0.006409, allocations: 6.464 MB / 0.6244 GB, free: 6.066 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.003761/0.01017, allocations: 3.016 MB / 0.6274 GB, free: 3.039 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005006/0.01067, allocations: 39.62 kB / 0.6274 GB, free: 3 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.001415/0.01209, allocations: 0.9601 MB / 0.6283 GB, free: 2.039 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.0009607/0.01305, allocations: 0.5318 MB / 0.6288 GB, free: 1.504 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008756/0.01392, allocations: 458.7 kB / 0.6293 GB, free: 1.055 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.001638/0.01556, allocations: 1.263 MB / 0.6305 GB, free: 15.79 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008122/0.01637, allocations: 0.5256 MB / 0.631 GB, free: 15.25 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008732/0.01725, allocations: 0.6663 MB / 0.6317 GB, free: 14.59 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000665/0.01791, allocations: 482.7 kB / 0.6321 GB, free: 14.11 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 9.282e-05/0.018, allocations: 68 kB / 0.6322 GB, free: 14.05 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006587/0.01866, allocations: 351.1 kB / 0.6325 GB, free: 13.7 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002427/0.01891, allocations: 331 kB / 0.6329 GB, free: 13.38 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0002611/0.01917, allocations: 315.2 kB / 0.6332 GB, free: 13.07 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.001146/0.02031, allocations: 1.25 MB / 0.6344 GB, free: 11.82 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.02032, allocations: 0 / 0.6344 GB, free: 11.82 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.222e-06/0.02032, allocations: 0 / 0.6344 GB, free: 11.82 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 2.23e-05/0.02034, allocations: 0 / 0.6344 GB, free: 11.82 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001579/0.02192, allocations: 1.108 MB / 0.6355 GB, free: 10.67 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.02196, allocations: 8.031 kB / 0.6355 GB, free: 10.66 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001117/0.02208, allocations: 122.7 kB / 0.6356 GB, free: 10.54 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009019/0.02298, allocations: 244.1 kB / 0.6358 GB, free: 10.3 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006799/0.02366, allocations: 0.543 MB / 0.6364 GB, free: 9.73 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.418e-05/0.02369, allocations: 53.67 kB / 0.6364 GB, free: 9.676 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.187e-05/0.02376, allocations: 56.38 kB / 0.6365 GB, free: 9.621 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001395/0.02516, allocations: 1.34 MB / 0.6378 GB, free: 8.113 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.127e-05/0.02518, allocations: 8.125 kB / 0.6378 GB, free: 8.105 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.484e-05/0.02523, allocations: 32.11 kB / 0.6378 GB, free: 8.074 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001065/0.02533, allocations: 93.19 kB / 0.6379 GB, free: 7.984 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008132/0.02615, allocations: 0.7503 MB / 0.6386 GB, free: 7.23 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00324/0.02939, allocations: 4.62 MB / 0.6431 GB, free: 2.449 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009301/0.03032, allocations: 0.5088 MB / 0.6436 GB, free: 1.926 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002764/0.03059, allocations: 282.2 kB / 0.6439 GB, free: 1.648 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.756e-05/0.03062, allocations: 4.5 kB / 0.6439 GB, free: 1.645 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.332e-05/0.03064, allocations: 39.06 kB / 0.6439 GB, free: 1.598 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=47): time 1.994e-06/0.03064, allocations: 0 / 0.6439 GB, free: 1.598 MB / 0.5573 GB Notification: Performance of matching and sorting (n=48): time 0.2952/0.3258, allocations: 1.686 MB / 0.6456 GB, free: 38.95 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.571e-05/0.3259, allocations: 58.12 kB / 0.6456 GB, free: 38.88 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007403/0.3266, allocations: 0.5743 MB / 0.6462 GB, free: 38.76 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 8.401e-05/0.3267, allocations: 38.14 kB / 0.6462 GB, free: 38.73 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001843/0.3269, allocations: 424.5 kB / 0.6466 GB, free: 38.59 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 9.778e-05/0.327, allocations: 180.4 kB / 0.6468 GB, free: 38.48 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001338/0.3271, allocations: 122.5 kB / 0.6469 GB, free: 38.41 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 8.278e-05/0.3272, allocations: 380.1 kB / 0.6473 GB, free: 38.07 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003342/0.3275, allocations: 274.8 kB / 0.6476 GB, free: 37.98 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003908/0.3279, allocations: 499.2 kB / 0.648 GB, free: 37.62 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007202/0.3286, allocations: 0.8072 MB / 0.6488 GB, free: 37.12 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.3286, allocations: 1.875 kB / 0.6488 GB, free: 37.12 MB / 0.5573 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001276/0.3299, allocations: 1.077 MB / 0.6499 GB, free: 36.67 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.3299, allocations: 9.25 kB / 0.6499 GB, free: 36.67 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.474e-05/0.3299, allocations: 12.05 kB / 0.6499 GB, free: 36.67 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005532/0.3305, allocations: 277.4 kB / 0.6502 GB, free: 36.59 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003086/0.3308, allocations: 125 kB / 0.6503 GB, free: 36.57 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003609/0.3344, allocations: 6.682 MB / 0.6568 GB, free: 30.91 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003021/0.3347, allocations: 39.78 kB / 0.6568 GB, free: 30.89 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.651e-05/0.3348, allocations: 28.05 kB / 0.6569 GB, free: 30.89 MB / 0.5573 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 (67): * Single equations (assignments): 63 * 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 {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002425/0.335, allocations: 253.9 kB / 0.6571 GB, free: 30.71 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.827e-05/0.3351, allocations: 74.83 kB / 0.6572 GB, free: 30.68 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001075/0.3361, allocations: 0.8893 MB / 0.6581 GB, free: 30.28 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.533e-06/0.3362, allocations: 6.469 kB / 0.6581 GB, free: 30.28 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.3362, allocations: 4.969 kB / 0.6581 GB, free: 30.28 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.742e-06/0.3362, allocations: 7.797 kB / 0.6581 GB, free: 30.28 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001911/0.3381, allocations: 1.612 MB / 0.6596 GB, free: 29.49 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.3381, allocations: 1.625 kB / 0.6596 GB, free: 29.49 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001648/0.3382, allocations: 59.77 kB / 0.6597 GB, free: 29.48 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004881/0.3387, allocations: 278.3 kB / 0.66 GB, free: 29.4 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.5e-05/0.3388, allocations: 7.656 kB / 0.66 GB, free: 29.39 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00343/0.3422, allocations: 6.664 MB / 0.6665 GB, free: 23.73 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.3422, allocations: 6.875 kB / 0.6665 GB, free: 23.73 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001038/0.3432, allocations: 0.9791 MB / 0.6674 GB, free: 23.21 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001939/0.3434, allocations: 119.3 kB / 0.6676 GB, free: 23.15 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.262e-05/0.3435, allocations: 9.516 kB / 0.6676 GB, free: 23.15 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001993/0.3437, allocations: 33.45 kB / 0.6676 GB, free: 23.14 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.629e-05/0.3438, allocations: 45.23 kB / 0.6676 GB, free: 23.13 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.516e-05/0.3438, allocations: 16.12 kB / 0.6677 GB, free: 23.12 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0003755/0.3442, allocations: 393 kB / 0.668 GB, free: 22.95 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.9e-07/0.3442, allocations: 0 / 0.668 GB, free: 22.95 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0006278/0.3448, allocations: 225.4 kB / 0.6683 GB, free: 22.93 MB / 0.5573 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 (31): * Single equations (assignments): 27 * 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 {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001207/0.346, allocations: 1.531 MB / 0.6697 GB, free: 21.88 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001235/0.3472, allocations: 1.226 MB / 0.6709 GB, free: 21.16 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3472, allocations: 0 / 0.6709 GB, free: 21.16 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0006422/0.3479, allocations: 0.8688 MB / 0.6718 GB, free: 20.56 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006385/0.3485, allocations: 231.2 kB / 0.672 GB, free: 20.48 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005665/0.3542, allocations: 6.395 MB / 0.6783 GB, free: 16.87 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003817/0.3546, allocations: 414.4 kB / 0.6787 GB, free: 16.74 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0002594/0.3548, allocations: 125.6 kB / 0.6788 GB, free: 16.71 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002023/0.355, allocations: 257 kB / 0.679 GB, free: 16.52 MB / 0.5573 GB Notification: Performance of SimCode: time 1.403e-06/0.355, allocations: 0 / 0.679 GB, free: 16.52 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03805/0.3931, allocations: 19.42 MB / 0.698 GB, free: 6.852 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.195/7.588, allocations: 11.5 kB / 0.698 GB, free: 6.848 MB / 0.5573 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.fmu > IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.202983723953366] Failed to read output from testmodel.py, exit status != 0: 7.681850979104638 7.691813042 7.669539858 Calling exit ...