Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.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.001358/0.001358, allocations: 108.3 kB / 19.75 MB, free: 1.879 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.001809/0.001809, allocations: 216.8 kB / 23.03 MB, free: 5.016 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.51/1.51, allocations: 230.6 MB / 256.8 MB, free: 7.945 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.03676/0.03676, allocations: 6.133 MB / 319.4 MB, free: 12.72 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.Examples.TwoSourcesTwoLinesOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_TwoSourcesTwoLinesOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_TwoSourcesTwoLinesOneLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001557/0.001557, allocations: 51.92 kB / 444.4 MB, free: 5.039 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09908/0.1006, allocations: 55.03 MB / 499.4 MB, free: 13.91 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad): time 0.002775/0.1034, allocations: 1.486 MB / 0.4892 GB, free: 12.43 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002235/0.1056, allocations: 1.551 MB / 0.4907 GB, free: 10.86 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.157e-05/0.1057, allocations: 4 kB / 0.4907 GB, free: 10.86 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003615/0.1061, allocations: 135.3 kB / 0.4908 GB, free: 10.73 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000301/0.1064, allocations: 123.2 kB / 0.491 GB, free: 10.61 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001644/0.108, allocations: 0.836 MB / 0.4918 GB, free: 9.77 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003565/0.1084, allocations: 254.8 kB / 0.492 GB, free: 9.52 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001655/0.1086, allocations: 61 kB / 0.4921 GB, free: 9.457 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001232/0.1087, allocations: 107.6 kB / 0.4922 GB, free: 9.352 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002023/0.1089, allocations: 127.4 kB / 0.4923 GB, free: 9.227 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.911e-05/0.1089, allocations: 23.94 kB / 0.4923 GB, free: 9.203 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003849/0.1093, allocations: 207.8 kB / 0.4925 GB, free: 9 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.356e-05/0.1094, allocations: 55.77 kB / 0.4926 GB, free: 8.945 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001074/0.1095, allocations: 107.5 kB / 0.4927 GB, free: 8.84 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005449/0.11, allocations: 414.6 kB / 0.4931 GB, free: 8.434 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.11, allocations: 0 / 0.4931 GB, free: 8.434 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.11, allocations: 0 / 0.4931 GB, free: 8.434 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.062e-06/0.11, allocations: 0 / 0.4931 GB, free: 8.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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.002585/0.1126, allocations: 0.7897 MB / 0.4938 GB, free: 7.609 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.1127, allocations: 12.03 kB / 0.4939 GB, free: 7.598 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.551e-05/0.1127, allocations: 54.73 kB / 0.4939 GB, free: 7.535 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.658e-05/0.1128, allocations: 24.8 kB / 0.4939 GB, free: 7.512 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003273/0.1131, allocations: 211.8 kB / 0.4941 GB, free: 7.277 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.077e-05/0.1131, allocations: 12.81 kB / 0.4941 GB, free: 7.266 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.294e-05/0.1132, allocations: 20.38 kB / 0.4942 GB, free: 7.246 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005508/0.1137, allocations: 398.6 kB / 0.4945 GB, free: 6.824 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.1137, allocations: 3.938 kB / 0.4945 GB, free: 6.82 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.008e-05/0.1138, allocations: 12 kB / 0.4946 GB, free: 6.809 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.074e-06/0.1138, allocations: 4 kB / 0.4946 GB, free: 6.805 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004517/0.1142, allocations: 285.6 kB / 0.4948 GB, free: 6.523 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001532/0.1158, allocations: 0.7747 MB / 0.4956 GB, free: 5.707 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009651/0.1167, allocations: 354.7 kB / 0.4959 GB, free: 5.352 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002581/0.117, allocations: 156.8 kB / 0.4961 GB, free: 5.195 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.593e-05/0.117, allocations: 16.42 kB / 0.4961 GB, free: 5.18 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.801e-05/0.1171, allocations: 38.5 kB / 0.4961 GB, free: 5.133 MB / 366.1 MB Notification: Performance of pre-optimization done (n=29): time 1.403e-06/0.1171, allocations: 3.938 kB / 0.4961 GB, free: 5.129 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.002929/0.12, allocations: 0.8687 MB / 0.497 GB, free: 4.25 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.355e-05/0.1201, allocations: 59.41 kB / 0.497 GB, free: 4.18 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000295/0.1203, allocations: 223.7 kB / 0.4973 GB, free: 3.949 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.446e-05/0.1204, allocations: 37.7 kB / 0.4973 GB, free: 3.906 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001275/0.1205, allocations: 140.8 kB / 0.4974 GB, free: 3.766 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.786e-05/0.1206, allocations: 103.1 kB / 0.4975 GB, free: 3.664 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001383/0.1208, allocations: 77.59 kB / 0.4976 GB, free: 3.582 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001654/0.1209, allocations: 334.8 kB / 0.4979 GB, free: 3.246 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002978/0.1212, allocations: 179.9 kB / 0.4981 GB, free: 3.07 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002859/0.1215, allocations: 187.9 kB / 0.4983 GB, free: 2.887 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006257/0.1221, allocations: 389.5 kB / 0.4986 GB, free: 2.504 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.1221, allocations: 0 / 0.4986 GB, free: 2.504 MB / 366.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001455/0.1236, allocations: 0.6579 MB / 0.4993 GB, free: 1.836 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.1236, allocations: 4 kB / 0.4993 GB, free: 1.832 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.1236, allocations: 4 kB / 0.4993 GB, free: 1.828 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001088/0.1247, allocations: 244.6 kB / 0.4995 GB, free: 1.586 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002201/0.1249, allocations: 59.84 kB / 0.4996 GB, free: 1.527 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004018/0.1289, allocations: 2.545 MB / 0.5021 GB, free: 14.87 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002636/0.1292, allocations: 35.67 kB / 0.5021 GB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.57e-05/0.1292, allocations: 15.98 kB / 0.5021 GB, free: 14.82 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (32): * Single equations (assignments): 31 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0001809/0.1294, allocations: 145.8 kB / 0.5023 GB, free: 14.67 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.648e-05/0.1295, allocations: 19.86 kB / 0.5023 GB, free: 14.65 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001456/0.1309, allocations: 0.5945 MB / 0.5029 GB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.1309, allocations: 4 kB / 0.5029 GB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.1309, allocations: 4 kB / 0.5029 GB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.131, allocations: 3.938 kB / 0.5029 GB, free: 14.03 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001899/0.1329, allocations: 0.9521 MB / 0.5038 GB, free: 13.03 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.1329, allocations: 0 / 0.5038 GB, free: 13.03 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001206/0.133, allocations: 35.92 kB / 0.5038 GB, free: 12.99 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009904/0.134, allocations: 240.9 kB / 0.5041 GB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.917e-05/0.134, allocations: 7.938 kB / 0.5041 GB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003648/0.1376, allocations: 2.522 MB / 0.5065 GB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1376, allocations: 112 / 0.5065 GB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001474/0.1391, allocations: 0.6568 MB / 0.5072 GB, free: 9.43 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.452e-05/0.1392, allocations: 23.8 kB / 0.5072 GB, free: 9.406 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.67e-05/0.1393, allocations: 8 kB / 0.5072 GB, free: 9.398 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002544/0.1395, allocations: 11.98 kB / 0.5072 GB, free: 9.387 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.461e-05/0.1396, allocations: 23.95 kB / 0.5072 GB, free: 9.363 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.807e-05/0.1396, allocations: 12 kB / 0.5072 GB, free: 9.352 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002277/0.1399, allocations: 166.8 kB / 0.5074 GB, free: 9.188 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1399, allocations: 0 / 0.5074 GB, free: 9.188 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006033/0.1405, allocations: 119.9 kB / 0.5075 GB, free: 9.07 MB / 382.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 (20): * Single equations (assignments): 19 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001914/0.1424, allocations: 1.197 MB / 0.5087 GB, free: 7.844 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001442/0.1438, allocations: 0.5846 MB / 0.5093 GB, free: 7.246 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.1438, allocations: 3.984 kB / 0.5093 GB, free: 7.242 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008697/0.1447, allocations: 378.4 kB / 0.5096 GB, free: 6.859 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003611/0.1451, allocations: 24 kB / 0.5096 GB, free: 6.836 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005675/0.1507, allocations: 3.366 MB / 0.5129 GB, free: 3.387 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001586/0.1509, allocations: 142.7 kB / 0.5131 GB, free: 3.227 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001285/0.151, allocations: 34 kB / 0.5131 GB, free: 3.191 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001198/0.1511, allocations: 71.41 kB / 0.5132 GB, free: 3.121 MB / 382.1 MB Notification: Performance of SimCode: time 1.143e-06/0.1511, allocations: 4 kB / 0.5132 GB, free: 3.117 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2429/0.394, allocations: 8.941 MB / 0.5219 GB, free: 29.95 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.01/13.4, allocations: 6.219 kB / 0.5219 GB, free: 29.95 MB / 382.1 MB " [Timeout remaining time 646] (rm -f PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad_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_Examples_TwoSourcesTwoLinesOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.13915715087205] Failed to read output from testmodel.py, exit status != 0: 13.517847266979516 13.532525341 13.419857071 Calling exit ...