Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OneTransfo.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.0014/0.0014, allocations: 108.3 kB / 19.74 MB, free: 1.906 MB / 14.72 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.00173/0.00173, allocations: 221.5 kB / 23.03 MB, free: 4.984 MB / 14.72 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 1.492/1.492, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo): time 0.03856/0.03856, allocations: 6.139 MB / 319.4 MB, free: 12.73 MB / 254.1 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/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(PowerSysPro.Tests.OneTransfo,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneTransfo",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.OneTransfo,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneTransfo",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001486, allocations: 43.94 kB / 444.4 MB, free: 5.082 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0998/0.1013, allocations: 55.03 MB / 499.4 MB, free: 13.95 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneTransfo): time 0.002538/0.1038, allocations: 1.228 MB / 0.4889 GB, free: 12.73 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001943/0.1058, allocations: 1.392 MB / 0.4903 GB, free: 11.32 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.624e-05/0.1058, allocations: 4 kB / 0.4903 GB, free: 11.32 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003209/0.1062, allocations: 99.48 kB / 0.4904 GB, free: 11.22 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002489/0.1064, allocations: 91.47 kB / 0.4905 GB, free: 11.13 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001534/0.1079, allocations: 0.7974 MB / 0.4913 GB, free: 10.33 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002345/0.1082, allocations: 131.4 kB / 0.4914 GB, free: 10.2 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001411/0.1083, allocations: 42.14 kB / 0.4914 GB, free: 10.16 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.364e-05/0.1084, allocations: 63.72 kB / 0.4915 GB, free: 10.09 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000103/0.1085, allocations: 55.7 kB / 0.4915 GB, free: 10.04 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.681e-05/0.1085, allocations: 16 kB / 0.4915 GB, free: 10.02 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003703/0.1089, allocations: 207.8 kB / 0.4917 GB, free: 9.82 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.874e-05/0.1089, allocations: 23.92 kB / 0.4918 GB, free: 9.797 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.819e-05/0.109, allocations: 67.66 kB / 0.4918 GB, free: 9.73 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004903/0.1095, allocations: 315 kB / 0.4921 GB, free: 9.422 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.1095, allocations: 0 / 0.4921 GB, free: 9.422 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1095, allocations: 0 / 0.4921 GB, free: 9.422 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.321e-06/0.1095, allocations: 0 / 0.4921 GB, free: 9.422 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.001908/0.1114, allocations: 0.5986 MB / 0.4927 GB, free: 8.789 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.1114, allocations: 8.031 kB / 0.4927 GB, free: 8.781 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.513e-05/0.1115, allocations: 46.73 kB / 0.4928 GB, free: 8.727 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.476e-05/0.1115, allocations: 16.84 kB / 0.4928 GB, free: 8.711 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002259/0.1118, allocations: 158.3 kB / 0.4929 GB, free: 8.531 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.1118, allocations: 12.38 kB / 0.4929 GB, free: 8.52 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.973e-05/0.1118, allocations: 12.38 kB / 0.493 GB, free: 8.508 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003635/0.1122, allocations: 235.2 kB / 0.4932 GB, free: 8.254 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.1122, allocations: 7.938 kB / 0.4932 GB, free: 8.246 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.066e-05/0.1122, allocations: 11.98 kB / 0.4932 GB, free: 8.234 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.1122, allocations: 4 kB / 0.4932 GB, free: 8.23 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002046/0.1124, allocations: 112 kB / 0.4933 GB, free: 8.121 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009176/0.1133, allocations: 471.3 kB / 0.4938 GB, free: 7.617 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008604/0.1142, allocations: 154.6 kB / 0.4939 GB, free: 7.457 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.348e-05/0.1143, allocations: 44.78 kB / 0.494 GB, free: 7.41 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.692e-05/0.1144, allocations: 4 kB / 0.494 GB, free: 7.406 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.084e-05/0.1144, allocations: 34.56 kB / 0.494 GB, free: 7.363 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.242e-06/0.1144, allocations: 0 / 0.494 GB, free: 7.363 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.001219/0.1156, allocations: 278.3 kB / 0.4943 GB, free: 7.082 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.516e-05/0.1157, allocations: 77.11 kB / 0.4943 GB, free: 6.988 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001346/0.1158, allocations: 140.6 kB / 0.4945 GB, free: 6.844 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.834e-05/0.1159, allocations: 29.7 kB / 0.4945 GB, free: 6.809 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.201e-05/0.1159, allocations: 132.2 kB / 0.4946 GB, free: 6.676 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.543e-05/0.116, allocations: 43.67 kB / 0.4947 GB, free: 6.633 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.375e-05/0.116, allocations: 33.7 kB / 0.4947 GB, free: 6.594 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.1162, allocations: 322.8 kB / 0.495 GB, free: 6.27 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001002/0.1163, allocations: 47.97 kB / 0.495 GB, free: 6.223 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001291/0.1164, allocations: 96.27 kB / 0.4951 GB, free: 6.113 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002198/0.1166, allocations: 127.8 kB / 0.4953 GB, free: 5.984 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.1166, allocations: 0 / 0.4953 GB, free: 5.984 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006083/0.1172, allocations: 226.5 kB / 0.4955 GB, free: 5.754 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.1173, allocations: 7.938 kB / 0.4955 GB, free: 5.746 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.1173, allocations: 0 / 0.4955 GB, free: 5.746 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005157/0.1178, allocations: 84.78 kB / 0.4956 GB, free: 5.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001277/0.1179, allocations: 23.98 kB / 0.4956 GB, free: 5.637 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00173/0.1196, allocations: 1.443 MB / 0.497 GB, free: 4.078 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001334/0.1198, allocations: 28.06 kB / 0.497 GB, free: 4.051 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/0.1198, allocations: 0 / 0.497 GB, free: 4.051 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001118/0.1199, allocations: 121.8 kB / 0.4971 GB, free: 3.922 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.992e-05/0.1199, allocations: 11.89 kB / 0.4971 GB, free: 3.91 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00059/0.1205, allocations: 211.1 kB / 0.4973 GB, free: 3.699 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.1205, allocations: 0 / 0.4973 GB, free: 3.699 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.1205, allocations: 0 / 0.4973 GB, free: 3.699 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.1205, allocations: 4 kB / 0.4974 GB, free: 3.695 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002391/0.1208, allocations: 196.5 kB / 0.4975 GB, free: 3.461 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1208, allocations: 0 / 0.4975 GB, free: 3.461 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.875e-05/0.1209, allocations: 15.98 kB / 0.4976 GB, free: 3.445 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004548/0.1213, allocations: 88.7 kB / 0.4976 GB, free: 3.355 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/0.1213, allocations: 8 kB / 0.4976 GB, free: 3.348 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001656/0.123, allocations: 1.424 MB / 0.499 GB, free: 1.801 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/0.123, allocations: 3.938 kB / 0.499 GB, free: 1.797 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005563/0.1236, allocations: 280.2 kB / 0.4993 GB, free: 1.504 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.302e-05/0.1236, allocations: 11.89 kB / 0.4993 GB, free: 1.492 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.719e-05/0.1236, allocations: 0 / 0.4993 GB, free: 1.492 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001288/0.1237, allocations: 8.375 kB / 0.4993 GB, free: 1.484 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.264e-05/0.1238, allocations: 7.984 kB / 0.4993 GB, free: 1.477 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.275e-05/0.1238, allocations: 7.984 kB / 0.4993 GB, free: 1.469 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.481e-05/0.1239, allocations: 107.2 kB / 0.4994 GB, free: 1.363 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1239, allocations: 3.938 kB / 0.4994 GB, free: 1.359 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003219/0.1242, allocations: 47.89 kB / 0.4995 GB, free: 1.312 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009513/0.1251, allocations: 0.8263 MB / 0.5003 GB, free: 468 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007787/0.1259, allocations: 252.8 kB / 0.5005 GB, free: 204 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.1259, allocations: 0 / 0.5005 GB, free: 204 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005459/0.1265, allocations: 198.7 kB / 0.5007 GB, free: 15.99 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003439/0.1268, allocations: 10.81 kB / 0.5007 GB, free: 15.98 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002733/0.1295, allocations: 1.875 MB / 0.5026 GB, free: 14.02 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001004/0.1296, allocations: 101.4 kB / 0.5027 GB, free: 13.91 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.166e-05/0.1297, allocations: 8.672 kB / 0.5027 GB, free: 13.9 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.841e-05/0.1298, allocations: 47.42 kB / 0.5027 GB, free: 13.85 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1298, allocations: 0 / 0.5027 GB, free: 13.85 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03254/0.1623, allocations: 4.23 MB / 0.5069 GB, free: 9.754 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.73/11.89, allocations: 11.84 kB / 0.5069 GB, free: 9.742 MB / 382.1 MB " [Timeout remaining time 648] (rm -f PowerSysPro_PowerSysPro.Tests.OneTransfo.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OneTransfo.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OneTransfo.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OneTransfo.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Tests.OneTransfo_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 PowerSysPro_PowerSysPro_Tests_OneTransfo.fmu > PowerSysPro_PowerSysPro.Tests.OneTransfo.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.831487637013197] Failed to read output from testmodel.py, exit status != 0: 12.008847321849316 12.246952254 12.134812786 Calling exit ...