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.0008228/0.0008228, 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.0008575/0.0008575, allocations: 165.9 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.8706/0.8706, allocations: 177.1 MB / 202.8 MB, free: 5.754 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.7209/0.7209, allocations: 154.6 MB / 413.8 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_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 2.925e-06/2.925e-06, allocations: 3.984 kB / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.003e-05/2.295e-05, allocations: 5.234 kB / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.005498/0.005521, allocations: 6.441 MB / 0.6244 GB, free: 7.188 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.003482/0.009004, allocations: 3.028 MB / 0.6274 GB, free: 4.148 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004096/0.009413, allocations: 39.62 kB / 0.6274 GB, free: 4.109 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.001406/0.01082, allocations: 0.949 MB / 0.6283 GB, free: 3.156 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0009056/0.01172, allocations: 0.5357 MB / 0.6288 GB, free: 2.617 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009889/0.01271, allocations: 457.4 kB / 0.6293 GB, free: 2.172 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.001251/0.01396, allocations: 1.267 MB / 0.6305 GB, free: 0.8984 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006945/0.01466, allocations: 0.5334 MB / 0.631 GB, free: 368 kB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007082/0.01537, allocations: 0.6701 MB / 0.6317 GB, free: 15.69 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005063/0.01587, allocations: 474.7 kB / 0.6321 GB, free: 15.22 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 7.493e-05/0.01595, allocations: 68 kB / 0.6322 GB, free: 15.16 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005056/0.01645, allocations: 347.1 kB / 0.6325 GB, free: 14.82 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0003883/0.01684, allocations: 339 kB / 0.6329 GB, free: 14.48 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0003834/0.01723, allocations: 311.3 kB / 0.6332 GB, free: 14.18 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.00121/0.01844, allocations: 1.25 MB / 0.6344 GB, free: 12.93 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.01844, allocations: 0 / 0.6344 GB, free: 12.93 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.543e-06/0.01844, allocations: 0 / 0.6344 GB, free: 12.93 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.732e-05/0.01847, allocations: 0 / 0.6344 GB, free: 12.93 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001517/0.01999, allocations: 1.108 MB / 0.6355 GB, free: 11.79 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.02003, allocations: 8.031 kB / 0.6355 GB, free: 11.78 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001043/0.02013, allocations: 118.7 kB / 0.6356 GB, free: 11.65 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008296/0.02096, allocations: 244.1 kB / 0.6358 GB, free: 11.41 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006955/0.02166, allocations: 0.5429 MB / 0.6364 GB, free: 10.84 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.313e-05/0.02169, allocations: 53.67 kB / 0.6364 GB, free: 10.79 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.507e-05/0.02176, allocations: 64.36 kB / 0.6365 GB, free: 10.73 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001082/0.02285, allocations: 1.332 MB / 0.6378 GB, free: 9.227 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.991e-05/0.02287, allocations: 8.125 kB / 0.6378 GB, free: 9.219 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.673e-05/0.02291, allocations: 36.11 kB / 0.6378 GB, free: 9.184 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.354e-05/0.02301, allocations: 85.25 kB / 0.6379 GB, free: 9.098 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007882/0.02379, allocations: 0.7465 MB / 0.6386 GB, free: 8.348 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003239/0.02703, allocations: 4.628 MB / 0.6431 GB, free: 3.555 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000659/0.02769, allocations: 0.5088 MB / 0.6436 GB, free: 3.035 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002651/0.02796, allocations: 282.2 kB / 0.6439 GB, free: 2.758 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.654e-05/0.02798, allocations: 4.5 kB / 0.6439 GB, free: 2.754 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.946e-05/0.02801, allocations: 43.06 kB / 0.6439 GB, free: 2.703 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=47): time 2.074e-06/0.02802, allocations: 4 kB / 0.644 GB, free: 2.699 MB / 0.6042 GB Notification: Performance of matching and sorting (n=48): time 0.002176/0.03019, allocations: 1.681 MB / 0.6456 GB, free: 1.004 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.294e-05/0.03023, allocations: 63.84 kB / 0.6457 GB, free: 0.9258 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004539/0.03068, allocations: 0.5741 MB / 0.6462 GB, free: 352 kB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.858e-05/0.03071, allocations: 37.7 kB / 0.6463 GB, free: 308 kB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001898/0.0309, allocations: 428.2 kB / 0.6467 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.731e-05/0.03099, allocations: 182.4 kB / 0.6468 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001242/0.03112, allocations: 126.6 kB / 0.647 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.03122, allocations: 374.8 kB / 0.6473 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002667/0.03149, allocations: 273.8 kB / 0.6476 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003484/0.03184, allocations: 496.9 kB / 0.648 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006659/0.0325, allocations: 0.8122 MB / 0.6488 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.03251, allocations: 0 / 0.6488 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001099/0.03361, allocations: 1.078 MB / 0.6499 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.03362, allocations: 11.94 kB / 0.6499 GB, free: 12.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.03363, allocations: 8 kB / 0.6499 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004902/0.03412, allocations: 279.8 kB / 0.6502 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002484/0.03437, allocations: 131.8 kB / 0.6503 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003815/0.03819, allocations: 6.666 MB / 0.6568 GB, free: 4.781 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002938/0.03848, allocations: 52.02 kB / 0.6569 GB, free: 4.73 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.907e-05/0.03851, allocations: 28 kB / 0.6569 GB, free: 4.703 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 (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.000229/0.03874, allocations: 246.6 kB / 0.6571 GB, free: 4.453 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.498e-05/0.0388, allocations: 79.47 kB / 0.6572 GB, free: 4.375 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009639/0.03977, allocations: 0.8824 MB / 0.6581 GB, free: 3.461 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.03977, allocations: 4 kB / 0.6581 GB, free: 3.457 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.03978, allocations: 7.938 kB / 0.6581 GB, free: 3.449 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.03978, allocations: 0 / 0.6581 GB, free: 3.449 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001555/0.04134, allocations: 1.612 MB / 0.6596 GB, free: 1.758 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.644e-06/0.04134, allocations: 8.125 kB / 0.6597 GB, free: 1.75 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001267/0.04146, allocations: 55.95 kB / 0.6597 GB, free: 1.695 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004124/0.04188, allocations: 271.1 kB / 0.66 GB, free: 1.418 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.405e-05/0.0419, allocations: 11.94 kB / 0.66 GB, free: 1.406 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003652/0.04555, allocations: 6.676 MB / 0.6665 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.04556, allocations: 0 / 0.6665 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001022/0.04658, allocations: 0.9776 MB / 0.6675 GB, free: 9.254 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001787/0.04676, allocations: 119.5 kB / 0.6676 GB, free: 9.137 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.137e-05/0.0468, allocations: 15.94 kB / 0.6676 GB, free: 9.121 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001994/0.047, allocations: 31.95 kB / 0.6676 GB, free: 9.09 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001437/0.04714, allocations: 47.8 kB / 0.6677 GB, free: 9.043 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.888e-05/0.04716, allocations: 16 kB / 0.6677 GB, free: 9.027 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002854/0.04744, allocations: 387.1 kB / 0.668 GB, free: 8.656 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8e-08/0.04744, allocations: 0 / 0.668 GB, free: 8.656 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005812/0.04803, allocations: 228 kB / 0.6683 GB, free: 8.434 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 (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.00111/0.04914, allocations: 1.538 MB / 0.6698 GB, free: 6.84 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001263/0.0504, allocations: 1.225 MB / 0.671 GB, free: 5.562 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.0504, allocations: 0 / 0.671 GB, free: 5.562 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0006369/0.05104, allocations: 0.8658 MB / 0.6718 GB, free: 4.645 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005996/0.05164, allocations: 219.5 kB / 0.672 GB, free: 4.441 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2281/0.2798, allocations: 6.393 MB / 0.6783 GB, free: 93.86 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002377/0.28, allocations: 416.7 kB / 0.6787 GB, free: 93.77 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002787/0.2803, allocations: 121 kB / 0.6788 GB, free: 93.76 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001815/0.2805, allocations: 253.5 kB / 0.679 GB, free: 93.76 MB / 0.6355 GB Notification: Performance of SimCode: time 1.062e-06/0.2805, allocations: 2.719 kB / 0.679 GB, free: 93.76 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03224/0.3127, allocations: 19.43 MB / 0.698 GB, free: 91.6 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.61/7.923, allocations: 7.359 kB / 0.698 GB, free: 91.59 MB / 0.6355 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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_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_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.652517741546035] Failed to read output from testmodel.py, exit status != 0: 8.015329658985138 8.026632903 8.005824635 Calling exit ...