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.001434/0.001434, allocations: 101 kB / 20.52 MB, free: 1.449 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.001821/0.001821, allocations: 210.7 kB / 23.84 MB, free: 4.664 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.441/1.441, allocations: 230.6 MB / 257.6 MB, free: 7.973 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.0369/0.0369, allocations: 6.137 MB / 320.2 MB, free: 12.95 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.OneTransfo,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneTransfo",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001507/0.001507, allocations: 51.91 kB / 445.3 MB, free: 5.383 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09107/0.09258, allocations: 55.02 MB / 0.4886 GB, free: 14.26 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneTransfo): time 0.004125/0.0967, allocations: 1.325 MB / 0.4899 GB, free: 12.94 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003312/0.1, allocations: 1.458 MB / 0.4913 GB, free: 11.46 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001396/0.1002, allocations: 4 kB / 0.4913 GB, free: 11.46 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000533/0.1007, allocations: 107.5 kB / 0.4914 GB, free: 11.36 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004255/0.1011, allocations: 91.47 kB / 0.4915 GB, free: 11.27 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002541/0.1037, allocations: 0.8675 MB / 0.4923 GB, free: 10.39 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003661/0.104, allocations: 143.3 kB / 0.4925 GB, free: 10.25 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002062/0.1042, allocations: 50.36 kB / 0.4925 GB, free: 10.2 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001142/0.1043, allocations: 51.84 kB / 0.4926 GB, free: 10.15 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001759/0.1045, allocations: 67.7 kB / 0.4926 GB, free: 10.08 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.762e-05/0.1046, allocations: 16 kB / 0.4926 GB, free: 10.07 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006229/0.1052, allocations: 223.8 kB / 0.4929 GB, free: 9.848 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.393e-05/0.1052, allocations: 31.84 kB / 0.4929 GB, free: 9.816 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001322/0.1053, allocations: 71.67 kB / 0.493 GB, free: 9.746 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007364/0.1061, allocations: 318.9 kB / 0.4933 GB, free: 9.434 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.1061, allocations: 0 / 0.4933 GB, free: 9.434 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1061, allocations: 0 / 0.4933 GB, free: 9.434 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.037e-06/0.1061, allocations: 0 / 0.4933 GB, free: 9.434 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.003102/0.1092, allocations: 0.5987 MB / 0.4938 GB, free: 8.801 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.1092, allocations: 8.031 kB / 0.4939 GB, free: 8.793 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.167e-05/0.1093, allocations: 12.06 kB / 0.4939 GB, free: 8.781 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.823e-05/0.1093, allocations: 46.73 kB / 0.4939 GB, free: 8.727 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.765e-05/0.1094, allocations: 16.84 kB / 0.4939 GB, free: 8.711 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002751/0.1097, allocations: 154.3 kB / 0.4941 GB, free: 8.535 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/0.1097, allocations: 8.375 kB / 0.4941 GB, free: 8.527 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.182e-05/0.1098, allocations: 20.38 kB / 0.4941 GB, free: 8.508 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000477/0.1102, allocations: 183.6 kB / 0.4943 GB, free: 8.316 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.1102, allocations: 0 / 0.4943 GB, free: 8.316 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.983e-05/0.1103, allocations: 8 kB / 0.4943 GB, free: 8.309 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.1103, allocations: 0 / 0.4943 GB, free: 8.309 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003378/0.1106, allocations: 116 kB / 0.4944 GB, free: 8.195 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001347/0.112, allocations: 0.511 MB / 0.4949 GB, free: 7.641 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001295/0.1133, allocations: 154.5 kB / 0.495 GB, free: 7.48 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001299/0.1134, allocations: 40.98 kB / 0.4951 GB, free: 7.438 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001182/0.1135, allocations: 8 kB / 0.4951 GB, free: 7.43 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.112e-05/0.1135, allocations: 42.55 kB / 0.4951 GB, free: 7.379 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.613e-06/0.1135, allocations: 0 / 0.4951 GB, free: 7.379 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0018/0.1153, allocations: 262.3 kB / 0.4954 GB, free: 7.113 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000109/0.1155, allocations: 81.11 kB / 0.4955 GB, free: 7.016 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002067/0.1157, allocations: 140.7 kB / 0.4956 GB, free: 6.871 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.015e-05/0.1157, allocations: 33.7 kB / 0.4956 GB, free: 6.832 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001232/0.1158, allocations: 132.2 kB / 0.4957 GB, free: 6.699 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.191e-05/0.1159, allocations: 31.73 kB / 0.4958 GB, free: 6.668 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001249/0.116, allocations: 33.7 kB / 0.4958 GB, free: 6.629 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001985/0.1162, allocations: 322.8 kB / 0.4961 GB, free: 6.305 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001765/0.1164, allocations: 47.98 kB / 0.4962 GB, free: 6.258 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000215/0.1166, allocations: 77.03 kB / 0.4962 GB, free: 6.176 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003963/0.117, allocations: 129.4 kB / 0.4964 GB, free: 6.047 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.117, allocations: 0 / 0.4964 GB, free: 6.047 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.001041/0.118, allocations: 230.3 kB / 0.4966 GB, free: 5.812 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.1181, allocations: 4 kB / 0.4966 GB, free: 5.809 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.1181, allocations: 384 / 0.4966 GB, free: 5.809 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008919/0.1189, allocations: 92.78 kB / 0.4967 GB, free: 5.715 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002361/0.1192, allocations: 20 kB / 0.4967 GB, free: 5.695 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003306/0.1225, allocations: 1.451 MB / 0.4981 GB, free: 4.129 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002235/0.1227, allocations: 19.81 kB / 0.4981 GB, free: 4.109 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.986e-05/0.1227, allocations: 11.94 kB / 0.4981 GB, free: 4.098 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.0002235/0.123, allocations: 125.8 kB / 0.4983 GB, free: 3.965 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.721e-05/0.123, allocations: 11.89 kB / 0.4983 GB, free: 3.953 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001158/0.1242, allocations: 207.2 kB / 0.4985 GB, free: 3.746 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.1242, allocations: 0 / 0.4985 GB, free: 3.746 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.1242, allocations: 4 kB / 0.4985 GB, free: 3.742 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.1242, allocations: 0 / 0.4985 GB, free: 3.742 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004705/0.1247, allocations: 212.5 kB / 0.4987 GB, free: 3.492 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.974e-06/0.1247, allocations: 4 kB / 0.4987 GB, free: 3.488 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001595/0.1249, allocations: 12 kB / 0.4987 GB, free: 3.477 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008486/0.1257, allocations: 84.77 kB / 0.4988 GB, free: 3.391 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.392e-05/0.1257, allocations: 8 kB / 0.4988 GB, free: 3.383 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002995/0.1287, allocations: 1.436 MB / 0.5002 GB, free: 1.824 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.1287, allocations: 0 / 0.5002 GB, free: 1.824 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00106/0.1298, allocations: 280.1 kB / 0.5004 GB, free: 1.531 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.957e-05/0.1298, allocations: 15.83 kB / 0.5005 GB, free: 1.516 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.327e-05/0.1299, allocations: 0 / 0.5005 GB, free: 1.516 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002455/0.1301, allocations: 16.06 kB / 0.5005 GB, free: 1.5 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.762e-05/0.1301, allocations: 7.969 kB / 0.5005 GB, free: 1.492 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.598e-05/0.1302, allocations: 4 kB / 0.5005 GB, free: 1.488 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001419/0.1303, allocations: 109.8 kB / 0.5006 GB, free: 1.383 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.1303, allocations: 0 / 0.5006 GB, free: 1.383 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006155/0.1309, allocations: 47.89 kB / 0.5006 GB, free: 1.336 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.001637/0.1326, allocations: 0.8263 MB / 0.5014 GB, free: 492 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001358/0.1339, allocations: 246.9 kB / 0.5017 GB, free: 232 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/0.1339, allocations: 0 / 0.5017 GB, free: 232 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009648/0.1349, allocations: 198.7 kB / 0.5019 GB, free: 20 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004487/0.1353, allocations: 8 kB / 0.5019 GB, free: 12 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004739/0.1401, allocations: 1.859 MB / 0.5037 GB, free: 14.06 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005512/0.1406, allocations: 0.7123 MB / 0.5044 GB, free: 13.32 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001001/0.1407, allocations: 20.66 kB / 0.5044 GB, free: 13.3 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001245/0.1409, allocations: 39.42 kB / 0.5044 GB, free: 13.27 MB / 382.1 MB Notification: Performance of SimCode: time 7.81e-07/0.1409, allocations: 3.938 kB / 0.5044 GB, free: 13.26 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03851/0.1794, allocations: 3.797 MB / 0.5082 GB, free: 9.602 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.09/12.27, allocations: 6.172 kB / 0.5082 GB, free: 9.602 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Tests_OneTransfo_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Tests_OneTransfo.fmu > PowerSysPro_PowerSysPro.Tests.OneTransfo.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.098459962988272] Failed to read output from testmodel.py, exit status != 0: 12.44140646699816 12.634423704 12.524874155 Calling exit ...