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.001352/0.001352, allocations: 115.5 kB / 19.74 MB, free: 2.152 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.001403/0.001403, allocations: 223.8 kB / 23.05 MB, free: 4.996 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.461/1.461, allocations: 230.6 MB / 256.8 MB, free: 8.031 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.03754/0.03754, allocations: 6.127 MB / 319.4 MB, free: 12.98 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.001571/0.001571, allocations: 47.92 kB / 444.5 MB, free: 5.441 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1235, allocations: 55.01 MB / 499.5 MB, free: 14.32 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneTransfo): time 0.002758/0.1263, allocations: 1.336 MB / 0.4891 GB, free: 13 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002323/0.1286, allocations: 1.462 MB / 0.4905 GB, free: 11.52 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.74e-05/0.1287, allocations: 7.938 kB / 0.4905 GB, free: 11.51 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003984/0.1291, allocations: 103.5 kB / 0.4906 GB, free: 11.41 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003061/0.1294, allocations: 91.47 kB / 0.4907 GB, free: 11.32 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001698/0.1311, allocations: 0.8675 MB / 0.4916 GB, free: 10.45 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002853/0.1314, allocations: 139.3 kB / 0.4917 GB, free: 10.31 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001844/0.1316, allocations: 54.34 kB / 0.4917 GB, free: 10.25 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.211e-05/0.1317, allocations: 51.8 kB / 0.4918 GB, free: 10.2 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001136/0.1318, allocations: 67.7 kB / 0.4919 GB, free: 10.14 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.358e-05/0.1318, allocations: 12 kB / 0.4919 GB, free: 10.12 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003987/0.1322, allocations: 231.7 kB / 0.4921 GB, free: 9.898 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.099e-05/0.1322, allocations: 27.91 kB / 0.4921 GB, free: 9.871 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.517e-05/0.1323, allocations: 71.67 kB / 0.4922 GB, free: 9.801 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004536/0.1328, allocations: 318.9 kB / 0.4925 GB, free: 9.488 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1328, allocations: 0 / 0.4925 GB, free: 9.488 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1328, allocations: 3.938 kB / 0.4925 GB, free: 9.484 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.591e-06/0.1328, allocations: 4 kB / 0.4925 GB, free: 9.48 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.00197/0.1347, allocations: 0.5947 MB / 0.4931 GB, free: 8.852 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.1348, allocations: 8.031 kB / 0.4931 GB, free: 8.844 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.596e-05/0.1349, allocations: 42.73 kB / 0.4931 GB, free: 8.793 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.506e-05/0.1349, allocations: 16.84 kB / 0.4931 GB, free: 8.777 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002487/0.1352, allocations: 162.3 kB / 0.4933 GB, free: 8.594 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.037e-05/0.1352, allocations: 12.38 kB / 0.4933 GB, free: 8.582 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.564e-05/0.1352, allocations: 12.38 kB / 0.4933 GB, free: 8.57 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003714/0.1356, allocations: 179.9 kB / 0.4935 GB, free: 8.383 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/0.1356, allocations: 3.938 kB / 0.4935 GB, free: 8.379 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.175e-05/0.1356, allocations: 8 kB / 0.4935 GB, free: 8.371 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.685e-06/0.1356, allocations: 4 kB / 0.4935 GB, free: 8.367 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002113/0.1358, allocations: 119.9 kB / 0.4936 GB, free: 8.25 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009892/0.1368, allocations: 0.4993 MB / 0.4941 GB, free: 7.707 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008966/0.1377, allocations: 154.8 kB / 0.4943 GB, free: 7.547 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001017/0.1378, allocations: 48.73 kB / 0.4943 GB, free: 7.496 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001015/0.1379, allocations: 11.97 kB / 0.4943 GB, free: 7.484 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.785e-05/0.138, allocations: 34.56 kB / 0.4944 GB, free: 7.441 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.793e-06/0.138, allocations: 0 / 0.4944 GB, free: 7.441 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.001354/0.1393, allocations: 270.3 kB / 0.4946 GB, free: 7.168 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.07e-05/0.1394, allocations: 77.11 kB / 0.4947 GB, free: 7.074 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001444/0.1395, allocations: 140.7 kB / 0.4948 GB, free: 6.93 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.85e-05/0.1396, allocations: 29.7 kB / 0.4948 GB, free: 6.895 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.1397, allocations: 132.2 kB / 0.495 GB, free: 6.762 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.591e-05/0.1397, allocations: 27.75 kB / 0.495 GB, free: 6.734 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.439e-05/0.1398, allocations: 37.7 kB / 0.495 GB, free: 6.691 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001715/0.14, allocations: 322.8 kB / 0.4953 GB, free: 6.367 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.89e-05/0.1401, allocations: 47.98 kB / 0.4954 GB, free: 6.32 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001272/0.1402, allocations: 78.48 kB / 0.4955 GB, free: 6.234 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002169/0.1404, allocations: 124 kB / 0.4956 GB, free: 6.109 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1404, allocations: 384 / 0.4956 GB, free: 6.109 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006156/0.141, allocations: 226.3 kB / 0.4958 GB, free: 5.879 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.141, allocations: 4 kB / 0.4958 GB, free: 5.875 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.141, allocations: 7.938 kB / 0.4958 GB, free: 5.867 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005489/0.1416, allocations: 88.73 kB / 0.4959 GB, free: 5.777 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001419/0.1417, allocations: 35.92 kB / 0.4959 GB, free: 5.742 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00179/0.1435, allocations: 1.443 MB / 0.4973 GB, free: 4.184 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001414/0.1437, allocations: 16.08 kB / 0.4974 GB, free: 4.168 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.726e-05/0.1437, allocations: 4 kB / 0.4974 GB, free: 4.164 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.0001353/0.1438, allocations: 129.8 kB / 0.4975 GB, free: 4.027 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.51e-05/0.1439, allocations: 11.89 kB / 0.4975 GB, free: 4.016 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006201/0.1445, allocations: 199.1 kB / 0.4977 GB, free: 3.816 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.1445, allocations: 8 kB / 0.4977 GB, free: 3.809 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.1445, allocations: 3.984 kB / 0.4977 GB, free: 3.805 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.1445, allocations: 3.984 kB / 0.4977 GB, free: 3.801 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002899/0.1448, allocations: 212.5 kB / 0.4979 GB, free: 3.551 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.1448, allocations: 0 / 0.4979 GB, free: 3.551 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.108e-05/0.1449, allocations: 15.98 kB / 0.4979 GB, free: 3.535 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004706/0.1454, allocations: 84.78 kB / 0.498 GB, free: 3.449 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/0.1454, allocations: 4 kB / 0.498 GB, free: 3.445 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001692/0.1471, allocations: 1.435 MB / 0.4994 GB, free: 1.887 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.1471, allocations: 160 / 0.4994 GB, free: 1.887 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000588/0.1476, allocations: 284.2 kB / 0.4997 GB, free: 1.59 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.985e-05/0.1477, allocations: 11.83 kB / 0.4997 GB, free: 1.578 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.208e-05/0.1477, allocations: 7.984 kB / 0.4997 GB, free: 1.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001371/0.1478, allocations: 8 kB / 0.4997 GB, free: 1.562 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.622e-05/0.1479, allocations: 11.98 kB / 0.4997 GB, free: 1.551 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.538e-06/0.1479, allocations: 0 / 0.4997 GB, free: 1.551 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.732e-05/0.1479, allocations: 110.1 kB / 0.4998 GB, free: 1.445 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1479, allocations: 0 / 0.4998 GB, free: 1.445 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003363/0.1483, allocations: 47.89 kB / 0.4999 GB, free: 1.398 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.0009705/0.1492, allocations: 0.8224 MB / 0.5007 GB, free: 0.5469 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008307/0.1501, allocations: 258.6 kB / 0.5009 GB, free: 288 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.1501, allocations: 0 / 0.5009 GB, free: 288 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005823/0.1507, allocations: 194.7 kB / 0.5011 GB, free: 80 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002664/0.1509, allocations: 11.94 kB / 0.5011 GB, free: 68 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002933/0.1539, allocations: 1.85 MB / 0.5029 GB, free: 14.13 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003478/0.1542, allocations: 0.7118 MB / 0.5036 GB, free: 13.39 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.635e-05/0.1543, allocations: 12.66 kB / 0.5036 GB, free: 13.38 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.691e-05/0.1543, allocations: 43.41 kB / 0.5037 GB, free: 13.34 MB / 382.1 MB Notification: Performance of SimCode: time 5.82e-07/0.1543, allocations: 4 kB / 0.5037 GB, free: 13.33 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03147/0.1858, allocations: 3.769 MB / 0.5073 GB, free: 9.688 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.63/11.81, allocations: 11.06 kB / 0.5074 GB, free: 9.684 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.637325494004472] Failed to read output from testmodel.py, exit status != 0: 11.920864200001233 12.112853517 11.977033852 Calling exit ...