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.001285/0.001285, allocations: 120.9 kB / 17.88 MB, free: 5.027 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.00148/0.00148, allocations: 209.6 kB / 20.84 MB, free: 2.082 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.465/1.465, allocations: 230.6 MB / 254.2 MB, free: 15.08 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.03767/0.03767, allocations: 6.134 MB / 316.4 MB, free: 1.137 MB / 238.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.OneperfectTransfo,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneperfectTransfo",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001491, allocations: 47.22 kB / 439.9 MB, free: 40.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08785/0.08934, allocations: 54.98 MB / 494.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneperfectTransfo): time 0.002158/0.0915, allocations: 1.31 MB / 496.2 MB, free: 9.176 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001408/0.0929, allocations: 1.458 MB / 497.7 MB, free: 7.703 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.588e-05/0.093, allocations: 4 kB / 497.7 MB, free: 7.699 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003151/0.09331, allocations: 115.4 kB / 497.8 MB, free: 7.586 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002565/0.09357, allocations: 83.53 kB / 497.9 MB, free: 7.504 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00116/0.09473, allocations: 0.8636 MB / 498.7 MB, free: 6.637 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002034/0.09493, allocations: 135.4 kB / 498.9 MB, free: 6.504 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.09504, allocations: 46.19 kB / 498.9 MB, free: 6.453 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.995e-05/0.0951, allocations: 63.78 kB / 499 MB, free: 6.391 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.139e-05/0.09519, allocations: 71.69 kB / 499 MB, free: 6.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.034e-05/0.09521, allocations: 12 kB / 499.1 MB, free: 6.309 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003276/0.09553, allocations: 219.8 kB / 499.3 MB, free: 6.094 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.457e-05/0.09556, allocations: 31.86 kB / 499.3 MB, free: 6.062 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.863e-05/0.09561, allocations: 67.67 kB / 499.4 MB, free: 5.996 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003703/0.09598, allocations: 323 kB / 499.7 MB, free: 5.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.09598, allocations: 3.938 kB / 499.7 MB, free: 5.676 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.09598, allocations: 0 / 499.7 MB, free: 5.676 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.061e-06/0.09599, allocations: 0 / 499.7 MB, free: 5.676 MB / 350.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.001715/0.0977, allocations: 0.6662 MB / 0.4886 GB, free: 4.957 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.09774, allocations: 12.03 kB / 0.4886 GB, free: 4.945 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.401e-05/0.09775, allocations: 4.188 kB / 0.4886 GB, free: 4.941 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.266e-05/0.09779, allocations: 42.73 kB / 0.4887 GB, free: 4.891 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.433e-05/0.09784, allocations: 20.84 kB / 0.4887 GB, free: 4.871 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001629/0.098, allocations: 218.1 kB / 0.4889 GB, free: 4.621 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.668e-06/0.09801, allocations: 16.38 kB / 0.4889 GB, free: 4.605 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.565e-05/0.09804, allocations: 12.38 kB / 0.4889 GB, free: 4.594 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002519/0.09829, allocations: 183.6 kB / 0.4891 GB, free: 4.402 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.0983, allocations: 0 / 0.4891 GB, free: 4.402 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.964e-05/0.09832, allocations: 4 kB / 0.4891 GB, free: 4.398 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.09833, allocations: 4 kB / 0.4891 GB, free: 4.395 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001674/0.0985, allocations: 119.9 kB / 0.4892 GB, free: 4.277 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007558/0.09925, allocations: 0.5392 MB / 0.4898 GB, free: 3.688 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008064/0.1001, allocations: 158.5 kB / 0.4899 GB, free: 3.523 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.281e-05/0.1001, allocations: 40.86 kB / 0.49 GB, free: 3.48 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001142/0.1002, allocations: 89.03 kB / 0.49 GB, free: 3.375 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.847e-05/0.1003, allocations: 34.56 kB / 0.4901 GB, free: 3.332 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.402e-06/0.1003, allocations: 0 / 0.4901 GB, free: 3.332 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001165/0.1014, allocations: 343.6 kB / 0.4904 GB, free: 2.969 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.519e-05/0.1015, allocations: 81.11 kB / 0.4905 GB, free: 2.871 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.136e-05/0.1016, allocations: 136.6 kB / 0.4906 GB, free: 2.73 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.74e-05/0.1016, allocations: 33.7 kB / 0.4906 GB, free: 2.691 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.089e-05/0.1016, allocations: 132.2 kB / 0.4908 GB, free: 2.559 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.616e-05/0.1017, allocations: 27.75 kB / 0.4908 GB, free: 2.531 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.202e-05/0.1017, allocations: 33.7 kB / 0.4908 GB, free: 2.492 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.805e-05/0.1018, allocations: 326.8 kB / 0.4911 GB, free: 2.164 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.173e-05/0.1019, allocations: 51.92 kB / 0.4912 GB, free: 2.113 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.278e-05/0.1019, allocations: 77.5 kB / 0.4913 GB, free: 2.031 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001803/0.1021, allocations: 125.7 kB / 0.4914 GB, free: 1.902 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.1021, allocations: 0 / 0.4914 GB, free: 1.902 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005182/0.1026, allocations: 226.3 kB / 0.4916 GB, free: 1.672 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.1027, allocations: 4 kB / 0.4916 GB, free: 1.668 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.1027, allocations: 3.984 kB / 0.4916 GB, free: 1.664 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005009/0.1032, allocations: 88.8 kB / 0.4917 GB, free: 1.574 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/0.1033, allocations: 31.92 kB / 0.4917 GB, free: 1.543 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001291/0.1046, allocations: 1.543 MB / 0.4932 GB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000132/0.1047, allocations: 19.92 kB / 0.4932 GB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.604e-05/0.1047, allocations: 4 kB / 0.4932 GB, free: 15.83 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.0001282/0.1049, allocations: 121.8 kB / 0.4934 GB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.101e-05/0.1049, allocations: 11.89 kB / 0.4934 GB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006054/0.1055, allocations: 211.1 kB / 0.4936 GB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.198e-05/0.1055, allocations: 0 / 0.4936 GB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.1055, allocations: 0 / 0.4936 GB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.1055, allocations: 0 / 0.4936 GB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002869/0.1058, allocations: 241.5 kB / 0.4938 GB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.1058, allocations: 0 / 0.4938 GB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.018e-05/0.1059, allocations: 19.98 kB / 0.4938 GB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004502/0.1063, allocations: 88.77 kB / 0.4939 GB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.513e-05/0.1064, allocations: 4.375 kB / 0.4939 GB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001704/0.1081, allocations: 1.539 MB / 0.4954 GB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1081, allocations: 0 / 0.4954 GB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005727/0.1086, allocations: 284.2 kB / 0.4957 GB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.126e-05/0.1087, allocations: 92.88 kB / 0.4958 GB, free: 13 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.174e-05/0.1087, allocations: 12.06 kB / 0.4958 GB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000129/0.1089, allocations: 4 kB / 0.4958 GB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.672e-05/0.1089, allocations: 11.98 kB / 0.4958 GB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.264e-05/0.1089, allocations: 3.984 kB / 0.4958 GB, free: 12.96 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.483e-05/0.109, allocations: 108.6 kB / 0.4959 GB, free: 12.86 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.109, allocations: 0 / 0.4959 GB, free: 12.86 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003318/0.1093, allocations: 47.89 kB / 0.496 GB, free: 12.81 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.0009746/0.1103, allocations: 0.8302 MB / 0.4968 GB, free: 11.95 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008086/0.1111, allocations: 254.6 kB / 0.497 GB, free: 11.69 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.716e-06/0.1111, allocations: 0 / 0.497 GB, free: 11.69 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005564/0.1117, allocations: 194.7 kB / 0.4972 GB, free: 11.49 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000238/0.1119, allocations: 10.5 kB / 0.4972 GB, free: 11.48 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00268/0.1146, allocations: 1.85 MB / 0.499 GB, free: 9.539 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003287/0.1149, allocations: 0.7163 MB / 0.4997 GB, free: 8.797 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.264e-05/0.115, allocations: 12.67 kB / 0.4997 GB, free: 8.785 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.916e-05/0.115, allocations: 43.41 kB / 0.4998 GB, free: 8.742 MB / 366.1 MB Notification: Performance of SimCode: time 6.51e-07/0.115, allocations: 3.938 kB / 0.4998 GB, free: 8.738 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02318/0.1382, allocations: 3.671 MB / 0.5034 GB, free: 5.168 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.56/10.7, allocations: 9.797 kB / 0.5034 GB, free: 5.16 MB / 366.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Tests_OneperfectTransfo_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Tests_OneperfectTransfo.fmu > PowerSysPro_PowerSysPro.Tests.OneperfectTransfo.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.433750311029144] Failed to read output from testmodel.py, exit status != 0: 10.846812252013478 10.865709099 10.766206778 Calling exit ...