Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.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.0008284/0.0008284, 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.0009892/0.0009892, 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.9298/0.9298, 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.7524/0.7524, 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.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="IDEAS_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="IDEAS_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 0.6181 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.378e-05/2.558e-05, allocations: 5.234 kB / 0.6181 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01235/0.01238, allocations: 15.14 MB / 0.6329 GB, free: 14.47 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.006079/0.01846, allocations: 4.742 MB / 0.6375 GB, free: 9.711 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001155/0.01961, allocations: 87.31 kB / 0.6376 GB, free: 9.625 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.00165/0.02126, allocations: 1.048 MB / 0.6386 GB, free: 8.574 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001706/0.02297, allocations: 0.8001 MB / 0.6394 GB, free: 7.77 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002009/0.02498, allocations: 0.9348 MB / 0.6403 GB, free: 6.832 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.003379/0.02836, allocations: 3.672 MB / 0.6439 GB, free: 3.148 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002846/0.0312, allocations: 2.442 MB / 0.6463 GB, free: 0.6367 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002863/0.03407, allocations: 2.277 MB / 0.6485 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002033/0.0361, allocations: 1.687 MB / 0.6502 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0005437/0.03664, allocations: 340 kB / 0.6505 GB, free: 12.33 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001078/0.03772, allocations: 0.7604 MB / 0.6512 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0009231/0.03864, allocations: 1.423 MB / 0.6526 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.001409/0.04005, allocations: 1.014 MB / 0.6536 GB, free: 9.129 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.004154/0.04421, allocations: 5.24 MB / 0.6587 GB, free: 3.875 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.04421, allocations: 0 / 0.6587 GB, free: 3.875 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.024e-06/0.04421, allocations: 0 / 0.6587 GB, free: 3.875 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001372/0.04435, allocations: 0 / 0.6587 GB, free: 3.875 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: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.004736/0.04909, allocations: 2.611 MB / 0.6613 GB, free: 1.219 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.287e-05/0.04914, allocations: 12.03 kB / 0.6613 GB, free: 1.207 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003485/0.04949, allocations: 374.5 kB / 0.6616 GB, free: 0.832 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002219/0.05171, allocations: 0.8577 MB / 0.6625 GB, free: 15.97 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001887/0.05359, allocations: 1.527 MB / 0.664 GB, free: 14.41 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.133e-05/0.05369, allocations: 185.1 kB / 0.6642 GB, free: 14.23 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002584/0.05394, allocations: 232.4 kB / 0.6644 GB, free: 14 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004711/0.05866, allocations: 4.254 MB / 0.6685 GB, free: 9.586 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.298e-05/0.0587, allocations: 12.08 kB / 0.6685 GB, free: 9.574 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001743/0.05887, allocations: 100.1 kB / 0.6686 GB, free: 9.477 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001325/0.05901, allocations: 172.5 kB / 0.6688 GB, free: 9.305 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003974/0.06298, allocations: 3.624 MB / 0.6723 GB, free: 5.664 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.304/0.367, allocations: 11.02 MB / 0.6831 GB, free: 89.04 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001857/0.3689, allocations: 1.468 MB / 0.6845 GB, free: 88.91 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005902/0.3694, allocations: 0.5397 MB / 0.6851 GB, free: 88.72 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001134/0.3696, allocations: 22.45 kB / 0.6851 GB, free: 88.71 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.065e-05/0.3696, allocations: 42.59 kB / 0.6851 GB, free: 88.67 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=72): time 5.711e-06/0.3696, allocations: 0 / 0.6851 GB, free: 88.67 MB / 0.6355 GB Notification: Performance of matching and sorting (n=76): time 0.00367/0.3733, allocations: 3.213 MB / 0.6883 GB, free: 87.27 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.683e-05/0.3733, allocations: 115.9 kB / 0.6884 GB, free: 87.14 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008643/0.3742, allocations: 1.055 MB / 0.6894 GB, free: 86.69 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.151e-05/0.3742, allocations: 36.3 kB / 0.6894 GB, free: 86.65 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003934/0.3746, allocations: 1.138 MB / 0.6905 GB, free: 85.77 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001253/0.3747, allocations: 288.6 kB / 0.6908 GB, free: 85.56 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00026/0.375, allocations: 278.7 kB / 0.6911 GB, free: 85.42 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.3751, allocations: 411.7 kB / 0.6915 GB, free: 85.07 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005465/0.3756, allocations: 0.617 MB / 0.6921 GB, free: 84.87 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006677/0.3763, allocations: 1.189 MB / 0.6932 GB, free: 83.94 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00127/0.3776, allocations: 1.865 MB / 0.6951 GB, free: 82.7 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.436e-06/0.3776, allocations: 5.906 kB / 0.6951 GB, free: 82.7 MB / 0.6355 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.001795/0.3794, allocations: 2.02 MB / 0.697 GB, free: 81.93 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.618e-05/0.3794, allocations: 13.91 kB / 0.6971 GB, free: 81.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.771e-05/0.3794, allocations: 19.41 kB / 0.6971 GB, free: 81.93 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002692/0.3797, allocations: 159.7 kB / 0.6972 GB, free: 81.87 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006178/0.3803, allocations: 350.1 kB / 0.6976 GB, free: 81.83 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.284e-05/0.3803, allocations: 38.78 kB / 0.6976 GB, free: 81.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005846/0.3809, allocations: 124.9 kB / 0.6977 GB, free: 81.8 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.907e-05/0.381, allocations: 65.81 kB / 0.6978 GB, free: 81.79 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (169): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001045/0.382, allocations: 0.9819 MB / 0.6987 GB, free: 81.33 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001301/0.3822, allocations: 115.3 kB / 0.6988 GB, free: 81.27 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001184/0.3833, allocations: 1.245 MB / 0.7001 GB, free: 80.76 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.203e-06/0.3833, allocations: 7.688 kB / 0.7001 GB, free: 80.76 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.3833, allocations: 2.719 kB / 0.7001 GB, free: 80.76 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.792e-06/0.3834, allocations: 3.375 kB / 0.7001 GB, free: 80.76 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003428/0.3868, allocations: 3.434 MB / 0.7034 GB, free: 79.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/0.3868, allocations: 7.547 kB / 0.7034 GB, free: 79.36 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003094/0.3871, allocations: 155.5 kB / 0.7036 GB, free: 79.35 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001937/0.3873, allocations: 145.9 kB / 0.7037 GB, free: 79.28 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.91e-05/0.3873, allocations: 13.56 kB / 0.7037 GB, free: 79.27 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.232e-06/0.3873, allocations: 5.625 kB / 0.7037 GB, free: 79.27 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/0.3873, allocations: 11.12 kB / 0.7038 GB, free: 79.27 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00106/0.3884, allocations: 1.457 MB / 0.7052 GB, free: 78.48 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002905/0.3887, allocations: 204.4 kB / 0.7054 GB, free: 78.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.361e-05/0.3888, allocations: 23.77 kB / 0.7054 GB, free: 78.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002991/0.3891, allocations: 67.98 kB / 0.7055 GB, free: 78.34 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.264e-05/0.3891, allocations: 62.33 kB / 0.7055 GB, free: 78.34 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.412e-05/0.3892, allocations: 20.5 kB / 0.7055 GB, free: 78.33 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0005271/0.3897, allocations: 0.694 MB / 0.7062 GB, free: 78.05 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1e-07/0.3897, allocations: 0 / 0.7062 GB, free: 78.05 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001063/0.3908, allocations: 389.1 kB / 0.7066 GB, free: 78.02 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001236/0.392, allocations: 2.039 MB / 0.7086 GB, free: 76.68 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001839/0.3938, allocations: 1.36 MB / 0.7099 GB, free: 76.21 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.818e-06/0.3938, allocations: 0.5 kB / 0.7099 GB, free: 76.21 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0005431/0.3944, allocations: 0.5323 MB / 0.7104 GB, free: 76.02 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009224/0.3953, allocations: 281.6 kB / 0.7107 GB, free: 75.94 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01369/0.409, allocations: 12.89 MB / 0.7233 GB, free: 69.14 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001317/0.4103, allocations: 1.334 MB / 0.7246 GB, free: 68.74 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.000807/0.4111, allocations: 448.1 kB / 0.725 GB, free: 68.71 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005413/0.4117, allocations: 0.7149 MB / 0.7257 GB, free: 68.12 MB / 0.6355 GB Notification: Performance of SimCode: time 1.242e-06/0.4117, allocations: 0 / 0.7257 GB, free: 68.12 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.059/0.4707, allocations: 29.22 MB / 0.7543 GB, free: 58.02 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.467/7.937, allocations: 3.984 kB / 0.7543 GB, free: 58.01 MB / 0.6355 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_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_Loads_Examples_Impedances.fmu > IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.827592208050191] Failed to read output from testmodel.py, exit status != 0: 8.034589970484376 8.045336065 7.999217273 Calling exit ...