Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OneperfectTransfo.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.001274/0.001274, allocations: 104.3 kB / 19.74 MB, free: 1.766 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.001427/0.001427, allocations: 219.3 kB / 23.03 MB, free: 4.625 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.45/1.45, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.03665/0.03665, allocations: 6.135 MB / 319.4 MB, free: 12.76 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.OneperfectTransfo,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneperfectTransfo",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.OneperfectTransfo,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneperfectTransfo",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001609/0.001609, allocations: 47.94 kB / 444.4 MB, free: 5.113 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09848/0.1001, allocations: 55.02 MB / 499.4 MB, free: 13.99 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneperfectTransfo): time 0.002619/0.1027, allocations: 1.23 MB / 0.4889 GB, free: 12.77 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002052/0.1048, allocations: 1.396 MB / 0.4903 GB, free: 11.36 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.969e-05/0.1048, allocations: 0 / 0.4903 GB, free: 11.36 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004175/0.1052, allocations: 107.5 kB / 0.4904 GB, free: 11.25 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002881/0.1055, allocations: 79.47 kB / 0.4905 GB, free: 11.18 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001548/0.1071, allocations: 0.8033 MB / 0.4912 GB, free: 10.37 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00024/0.1073, allocations: 139.3 kB / 0.4914 GB, free: 10.23 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001358/0.1075, allocations: 48.88 kB / 0.4914 GB, free: 10.18 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.281e-05/0.1075, allocations: 55.8 kB / 0.4915 GB, free: 10.13 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001023/0.1076, allocations: 59.64 kB / 0.4915 GB, free: 10.07 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.269e-05/0.1077, allocations: 12 kB / 0.4915 GB, free: 10.06 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003938/0.1081, allocations: 207.8 kB / 0.4917 GB, free: 9.855 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.253e-05/0.1081, allocations: 31.91 kB / 0.4918 GB, free: 9.824 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.042e-05/0.1081, allocations: 51.73 kB / 0.4918 GB, free: 9.773 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004568/0.1086, allocations: 326.9 kB / 0.4921 GB, free: 9.453 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.1086, allocations: 4 kB / 0.4921 GB, free: 9.449 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1086, allocations: 0 / 0.4921 GB, free: 9.449 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.1086, allocations: 0 / 0.4921 GB, free: 9.449 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.001865/0.1105, allocations: 0.587 MB / 0.4927 GB, free: 8.828 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.1105, allocations: 12.03 kB / 0.4927 GB, free: 8.816 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.499e-05/0.1106, allocations: 46.73 kB / 0.4928 GB, free: 8.762 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.608e-05/0.1106, allocations: 16.84 kB / 0.4928 GB, free: 8.746 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002074/0.1108, allocations: 162.3 kB / 0.4929 GB, free: 8.562 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.1108, allocations: 8.375 kB / 0.4929 GB, free: 8.555 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.667e-05/0.1109, allocations: 12.38 kB / 0.493 GB, free: 8.543 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003455/0.1112, allocations: 239.2 kB / 0.4932 GB, free: 8.285 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.1112, allocations: 7.938 kB / 0.4932 GB, free: 8.277 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.522e-05/0.1113, allocations: 7.984 kB / 0.4932 GB, free: 8.27 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.1113, allocations: 7.984 kB / 0.4932 GB, free: 8.262 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000201/0.1115, allocations: 112 kB / 0.4933 GB, free: 8.152 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009304/0.1124, allocations: 467.4 kB / 0.4938 GB, free: 7.652 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008901/0.1133, allocations: 154.5 kB / 0.4939 GB, free: 7.492 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.97e-05/0.1134, allocations: 44.78 kB / 0.494 GB, free: 7.445 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001098/0.1135, allocations: 8 kB / 0.494 GB, free: 7.438 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.97e-05/0.1135, allocations: 30.56 kB / 0.494 GB, free: 7.398 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.763e-06/0.1135, allocations: 0 / 0.494 GB, free: 7.398 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.001255/0.1148, allocations: 274.7 kB / 0.4943 GB, free: 7.121 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.307e-05/0.1148, allocations: 81.05 kB / 0.4943 GB, free: 7.023 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001622/0.115, allocations: 141.9 kB / 0.4945 GB, free: 6.875 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.699e-05/0.115, allocations: 29.64 kB / 0.4945 GB, free: 6.84 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001218/0.1152, allocations: 132.2 kB / 0.4946 GB, free: 6.707 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.271e-05/0.1152, allocations: 35.69 kB / 0.4947 GB, free: 6.672 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.593e-05/0.1153, allocations: 37.7 kB / 0.4947 GB, free: 6.629 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001713/0.1155, allocations: 322.8 kB / 0.495 GB, free: 6.305 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.784e-05/0.1156, allocations: 47.98 kB / 0.495 GB, free: 6.258 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000148/0.1157, allocations: 96.25 kB / 0.4951 GB, free: 6.148 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002416/0.1159, allocations: 129.7 kB / 0.4953 GB, free: 6.016 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.1159, allocations: 0 / 0.4953 GB, free: 6.016 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006223/0.1166, allocations: 222 kB / 0.4955 GB, free: 5.793 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.506e-05/0.1166, allocations: 7.984 kB / 0.4955 GB, free: 5.785 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.1166, allocations: 0 / 0.4955 GB, free: 5.785 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005503/0.1171, allocations: 88.75 kB / 0.4956 GB, free: 5.695 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000134/0.1173, allocations: 23.98 kB / 0.4956 GB, free: 5.672 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001796/0.1191, allocations: 1.443 MB / 0.497 GB, free: 4.113 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001352/0.1192, allocations: 19.91 kB / 0.497 GB, free: 4.094 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.809e-05/0.1192, allocations: 8 kB / 0.497 GB, free: 4.086 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.0001377/0.1194, allocations: 121.8 kB / 0.4971 GB, free: 3.957 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.106e-05/0.1194, allocations: 16.05 kB / 0.4972 GB, free: 3.941 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006269/0.12, allocations: 211 kB / 0.4974 GB, free: 3.73 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.12, allocations: 0 / 0.4974 GB, free: 3.73 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.474e-06/0.12, allocations: 4 kB / 0.4974 GB, free: 3.727 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.12, allocations: 0 / 0.4974 GB, free: 3.727 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002719/0.1203, allocations: 196.5 kB / 0.4975 GB, free: 3.492 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.1203, allocations: 0 / 0.4975 GB, free: 3.492 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001265/0.1204, allocations: 19.98 kB / 0.4976 GB, free: 3.473 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004317/0.1209, allocations: 80.78 kB / 0.4976 GB, free: 3.391 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.51e-05/0.1209, allocations: 11.92 kB / 0.4977 GB, free: 3.379 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001669/0.1226, allocations: 1.424 MB / 0.499 GB, free: 1.832 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.1226, allocations: 0 / 0.499 GB, free: 1.832 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005505/0.1231, allocations: 280.1 kB / 0.4993 GB, free: 1.539 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.348e-05/0.1231, allocations: 16.05 kB / 0.4993 GB, free: 1.523 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.952e-05/0.1232, allocations: 4 kB / 0.4993 GB, free: 1.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001229/0.1233, allocations: 4 kB / 0.4993 GB, free: 1.516 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.566e-05/0.1233, allocations: 11.98 kB / 0.4993 GB, free: 1.504 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.101e-05/0.1233, allocations: 4 kB / 0.4993 GB, free: 1.5 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.193e-05/0.1234, allocations: 113 kB / 0.4995 GB, free: 1.391 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1234, allocations: 0 / 0.4995 GB, free: 1.391 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003294/0.1237, allocations: 47.89 kB / 0.4995 GB, free: 1.344 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.00104/0.1248, allocations: 0.8185 MB / 0.5003 GB, free: 0.4961 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008195/0.1256, allocations: 258.6 kB / 0.5005 GB, free: 236 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.1256, allocations: 0 / 0.5005 GB, free: 236 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005218/0.1261, allocations: 194.6 kB / 0.5007 GB, free: 28 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002401/0.1264, allocations: 8.062 kB / 0.5007 GB, free: 20 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002672/0.129, allocations: 1.872 MB / 0.5026 GB, free: 14.06 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.889e-05/0.1291, allocations: 101.4 kB / 0.5027 GB, free: 13.94 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.934e-05/0.1292, allocations: 16.66 kB / 0.5027 GB, free: 13.93 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.293e-05/0.1293, allocations: 39.42 kB / 0.5027 GB, free: 13.89 MB / 382.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1293, allocations: 0 / 0.5027 GB, free: 13.89 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03213/0.1614, allocations: 4.242 MB / 0.5069 GB, free: 9.781 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.78/11.94, allocations: 4.062 kB / 0.5069 GB, free: 9.777 MB / 382.1 MB " [Timeout remaining time 648] (rm -f PowerSysPro_PowerSysPro.Tests.OneperfectTransfo.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OneperfectTransfo.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OneperfectTransfo.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OneperfectTransfo.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Tests.OneperfectTransfo_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_OneperfectTransfo.fmu > PowerSysPro_PowerSysPro.Tests.OneperfectTransfo.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.860540200956166] Failed to read output from testmodel.py, exit status != 0: 12.054429321084172 12.255121032 12.143831468 Calling exit ...