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.0008814/0.0008814, allocations: 76.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.001131/0.001131, allocations: 173.2 kB / 22.46 MB, free: 2.098 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.8637/0.8637, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.7022/0.7022, allocations: 154.6 MB / 413.7 MB, free: 0.8086 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 1.904e-06/1.904e-06, allocations: 0 / 0.6181 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.824e-05/2.015e-05, allocations: 6.281 kB / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.00768/0.0077, allocations: 5.877 MB / 0.6238 GB, free: 7.754 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.004931/0.01263, allocations: 3.117 MB / 0.6269 GB, free: 4.625 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003791/0.01301, allocations: 39.62 kB / 0.6269 GB, free: 4.586 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.002187/0.0152, allocations: 0.9278 MB / 0.6278 GB, free: 3.656 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.001039/0.01624, allocations: 0.497 MB / 0.6283 GB, free: 3.156 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.001147/0.01738, allocations: 0.5119 MB / 0.6288 GB, free: 2.648 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.001381/0.01876, allocations: 1.131 MB / 0.6299 GB, free: 1.512 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008402/0.01961, allocations: 0.51 MB / 0.6304 GB, free: 0.9961 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000918/0.02052, allocations: 0.6116 MB / 0.631 GB, free: 392 kB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006855/0.02121, allocations: 426.8 kB / 0.6314 GB, free: 15.96 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 9.716e-05/0.02131, allocations: 60 kB / 0.6315 GB, free: 15.91 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006989/0.022, allocations: 450.7 kB / 0.6319 GB, free: 15.46 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.000284/0.02229, allocations: 311.1 kB / 0.6322 GB, free: 15.16 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002973/0.02259, allocations: 275.3 kB / 0.6325 GB, free: 14.89 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0008847/0.02347, allocations: 1.207 MB / 0.6337 GB, free: 13.68 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.02347, allocations: 0 / 0.6337 GB, free: 13.68 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.222e-06/0.02348, allocations: 4 kB / 0.6337 GB, free: 13.68 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.03e-05/0.02349, allocations: 0 / 0.6337 GB, free: 13.68 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.001065/0.02455, allocations: 0.9969 MB / 0.6346 GB, free: 12.65 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.02459, allocations: 8.031 kB / 0.6346 GB, free: 12.64 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.849e-05/0.02468, allocations: 118.7 kB / 0.6347 GB, free: 12.52 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007684/0.02545, allocations: 232.2 kB / 0.635 GB, free: 12.29 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005999/0.02605, allocations: 0.5236 MB / 0.6355 GB, free: 11.74 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.783e-05/0.02608, allocations: 45.62 kB / 0.6355 GB, free: 11.7 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.259e-05/0.02615, allocations: 68.31 kB / 0.6356 GB, free: 11.63 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009245/0.02707, allocations: 1.134 MB / 0.6367 GB, free: 10.36 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.101e-05/0.02709, allocations: 8.125 kB / 0.6367 GB, free: 10.36 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.886e-05/0.02713, allocations: 28.12 kB / 0.6367 GB, free: 10.33 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.895e-05/0.02719, allocations: 77.27 kB / 0.6368 GB, free: 10.25 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006817/0.02787, allocations: 0.684 MB / 0.6375 GB, free: 9.566 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002777/0.03065, allocations: 4.498 MB / 0.6419 GB, free: 4.898 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004977/0.03115, allocations: 418.1 kB / 0.6423 GB, free: 4.48 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004783/0.03163, allocations: 380.6 kB / 0.6426 GB, free: 4.102 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.486e-05/0.03165, allocations: 8 kB / 0.6426 GB, free: 4.094 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.954e-05/0.03167, allocations: 34.56 kB / 0.6427 GB, free: 4.051 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=41): time 1.493e-06/0.03167, allocations: 0 / 0.6427 GB, free: 4.051 MB / 0.6042 GB Notification: Performance of matching and sorting (n=42): time 0.002354/0.03403, allocations: 1.738 MB / 0.6444 GB, free: 2.293 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.848e-05/0.03406, allocations: 59.34 kB / 0.6444 GB, free: 2.223 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003228/0.03438, allocations: 470.8 kB / 0.6449 GB, free: 1.75 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.611e-05/0.03441, allocations: 33.7 kB / 0.6449 GB, free: 1.711 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001893/0.03459, allocations: 396.1 kB / 0.6453 GB, free: 1.32 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.177e-05/0.03468, allocations: 162.6 kB / 0.6454 GB, free: 1.16 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001119/0.03479, allocations: 110.2 kB / 0.6455 GB, free: 1.047 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.03491, allocations: 362.7 kB / 0.6459 GB, free: 0.6836 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000246/0.03516, allocations: 245.2 kB / 0.6461 GB, free: 452 kB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004433/0.0356, allocations: 457 kB / 0.6466 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006525/0.03625, allocations: 0.7572 MB / 0.6473 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.03626, allocations: 4 kB / 0.6473 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.00115/0.03741, allocations: 1.051 MB / 0.6483 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.03742, allocations: 8 kB / 0.6483 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.303e-05/0.03744, allocations: 11.94 kB / 0.6483 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005675/0.038, allocations: 323.2 kB / 0.6487 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001735/0.03818, allocations: 95.88 kB / 0.6487 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004446/0.04262, allocations: 7.052 MB / 0.6556 GB, free: 6.023 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001904/0.04281, allocations: 35.95 kB / 0.6557 GB, free: 5.988 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.444e-05/0.04284, allocations: 24 kB / 0.6557 GB, free: 5.965 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.0002002/0.04304, allocations: 242.6 kB / 0.6559 GB, free: 5.719 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.461e-05/0.04309, allocations: 63.56 kB / 0.656 GB, free: 5.656 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001103/0.0442, allocations: 0.9045 MB / 0.6569 GB, free: 4.727 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.0442, allocations: 4 kB / 0.6569 GB, free: 4.723 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.0442, allocations: 4 kB / 0.6569 GB, free: 4.719 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.04421, allocations: 7.922 kB / 0.6569 GB, free: 4.711 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001544/0.04575, allocations: 1.602 MB / 0.6584 GB, free: 3.027 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.04575, allocations: 0 / 0.6584 GB, free: 3.027 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.369e-05/0.04584, allocations: 44.03 kB / 0.6585 GB, free: 2.984 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004781/0.04632, allocations: 319.2 kB / 0.6588 GB, free: 2.66 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.882e-05/0.04634, allocations: 8 kB / 0.6588 GB, free: 2.652 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004043/0.05038, allocations: 7.061 MB / 0.6657 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.05038, allocations: 0 / 0.6657 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009462/0.05133, allocations: 0.9851 MB / 0.6667 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001265/0.05145, allocations: 103.5 kB / 0.6668 GB, free: 10 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.277e-05/0.05149, allocations: 11.98 kB / 0.6668 GB, free: 9.992 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001326/0.05162, allocations: 19.98 kB / 0.6668 GB, free: 9.973 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.923e-05/0.0517, allocations: 44.14 kB / 0.6668 GB, free: 9.93 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.727e-05/0.05171, allocations: 16 kB / 0.6668 GB, free: 9.914 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002042/0.05192, allocations: 310.9 kB / 0.6671 GB, free: 9.613 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.05192, allocations: 3.938 kB / 0.6671 GB, free: 9.609 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004723/0.05239, allocations: 196 kB / 0.6673 GB, free: 9.418 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.001103/0.05349, allocations: 1.545 MB / 0.6688 GB, free: 7.816 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001025/0.05452, allocations: 1.148 MB / 0.67 GB, free: 6.617 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.05452, allocations: 4 kB / 0.67 GB, free: 6.613 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0005936/0.05511, allocations: 0.8347 MB / 0.6708 GB, free: 5.727 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005512/0.05567, allocations: 210.3 kB / 0.671 GB, free: 5.535 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2294/0.2851, allocations: 5.897 MB / 0.6767 GB, free: 94.33 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002863/0.2854, allocations: 394.4 kB / 0.6771 GB, free: 94.25 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002901/0.2857, allocations: 97.86 kB / 0.6772 GB, free: 94.24 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001729/0.2859, allocations: 231.2 kB / 0.6774 GB, free: 94.23 MB / 0.6355 GB Notification: Performance of SimCode: time 1.654e-06/0.2859, allocations: 0 / 0.6774 GB, free: 94.23 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03401/0.3199, allocations: 17.16 MB / 0.6942 GB, free: 92.34 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.373/7.692, allocations: 5.797 kB / 0.6942 GB, free: 92.33 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.30327252112329] Failed to read output from testmodel.py, exit status != 0: 7.7814096342772245 7.792170641 7.766106071 Calling exit ...