Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.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.001342/0.001342, 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.001512/0.001512, allocations: 219 kB / 23.03 MB, free: 4.621 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.486/1.486, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.03748/0.03748, allocations: 6.145 MB / 319.4 MB, free: 12.74 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.OneSourceTwoLinesOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceTwoLinesOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceTwoLinesOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceTwoLinesOneLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001456, allocations: 51.92 kB / 444.4 MB, free: 5.102 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1132, allocations: 55.03 MB / 499.4 MB, free: 13.97 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceTwoLinesOneLoad): time 0.002757/0.1159, allocations: 1.391 MB / 0.4891 GB, free: 12.59 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00222/0.1181, allocations: 1.532 MB / 0.4906 GB, free: 11.04 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.145e-05/0.1182, allocations: 4 kB / 0.4906 GB, free: 11.04 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003652/0.1186, allocations: 119.4 kB / 0.4907 GB, free: 10.92 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002804/0.1189, allocations: 103.3 kB / 0.4908 GB, free: 10.82 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001768/0.1206, allocations: 0.8465 MB / 0.4916 GB, free: 9.969 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004122/0.121, allocations: 230.9 kB / 0.4919 GB, free: 9.742 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00017/0.1212, allocations: 50.12 kB / 0.4919 GB, free: 9.691 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001282/0.1213, allocations: 103.6 kB / 0.492 GB, free: 9.59 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001948/0.1215, allocations: 99.53 kB / 0.4921 GB, free: 9.492 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.86e-05/0.1216, allocations: 20 kB / 0.4921 GB, free: 9.473 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004161/0.122, allocations: 203.8 kB / 0.4923 GB, free: 9.273 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.502e-05/0.122, allocations: 51.83 kB / 0.4924 GB, free: 9.223 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001346/0.1222, allocations: 95.52 kB / 0.4925 GB, free: 9.129 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005501/0.1227, allocations: 386.7 kB / 0.4928 GB, free: 8.75 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.1227, allocations: 7.922 kB / 0.4928 GB, free: 8.742 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1227, allocations: 4 kB / 0.4928 GB, free: 8.738 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.1227, allocations: 0 / 0.4928 GB, free: 8.738 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.002541/0.1253, allocations: 0.7429 MB / 0.4936 GB, free: 7.957 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.1253, allocations: 8.031 kB / 0.4936 GB, free: 7.949 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.204e-05/0.1254, allocations: 50.73 kB / 0.4936 GB, free: 7.891 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.275e-05/0.1254, allocations: 24.8 kB / 0.4936 GB, free: 7.867 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003029/0.1257, allocations: 194.2 kB / 0.4938 GB, free: 7.652 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.028e-05/0.1258, allocations: 16.7 kB / 0.4938 GB, free: 7.637 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.071e-05/0.1258, allocations: 16.38 kB / 0.4939 GB, free: 7.621 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005785/0.1264, allocations: 367.5 kB / 0.4942 GB, free: 7.234 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.1264, allocations: 7.938 kB / 0.4942 GB, free: 7.227 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.607e-05/0.1264, allocations: 8 kB / 0.4942 GB, free: 7.219 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.1264, allocations: 4 kB / 0.4942 GB, free: 7.215 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004002/0.1268, allocations: 256.5 kB / 0.4945 GB, free: 6.965 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001411/0.1282, allocations: 0.7023 MB / 0.4952 GB, free: 6.219 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007419/0.129, allocations: 294.4 kB / 0.4954 GB, free: 5.922 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002268/0.1292, allocations: 140.8 kB / 0.4956 GB, free: 5.781 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.715e-05/0.1293, allocations: 11.92 kB / 0.4956 GB, free: 5.77 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.586e-05/0.1293, allocations: 34.56 kB / 0.4956 GB, free: 5.727 MB / 366.1 MB Notification: Performance of pre-optimization done (n=25): time 1.583e-06/0.1293, allocations: 0 / 0.4956 GB, free: 5.727 MB / 366.1 MB Notification: Performance of matching and sorting (n=25): time 0.003219/0.1325, allocations: 0.8923 MB / 0.4965 GB, free: 4.824 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.265e-05/0.1326, allocations: 51.41 kB / 0.4965 GB, free: 4.762 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002447/0.1328, allocations: 196 kB / 0.4967 GB, free: 4.559 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.834e-05/0.1329, allocations: 33.7 kB / 0.4968 GB, free: 4.52 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.133, allocations: 136.5 kB / 0.4969 GB, free: 4.383 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.405e-05/0.133, allocations: 83.27 kB / 0.497 GB, free: 4.301 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001182/0.1332, allocations: 65.64 kB / 0.497 GB, free: 4.23 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.1333, allocations: 326.8 kB / 0.4973 GB, free: 3.902 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002535/0.1336, allocations: 159.9 kB / 0.4975 GB, free: 3.746 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002942/0.1339, allocations: 167.8 kB / 0.4976 GB, free: 3.582 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005705/0.1344, allocations: 351.3 kB / 0.498 GB, free: 3.238 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.1344, allocations: 0 / 0.498 GB, free: 3.238 MB / 366.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001623/0.1361, allocations: 0.6344 MB / 0.4986 GB, free: 2.594 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.1361, allocations: 8 kB / 0.4986 GB, free: 2.586 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.1361, allocations: 0 / 0.4986 GB, free: 2.586 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001458/0.1376, allocations: 316.5 kB / 0.4989 GB, free: 2.273 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001845/0.1377, allocations: 43.91 kB / 0.499 GB, free: 2.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004426/0.1422, allocations: 2.619 MB / 0.5015 GB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002251/0.1424, allocations: 27.84 kB / 0.5015 GB, free: 15.47 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.524e-05/0.1424, allocations: 7.984 kB / 0.5015 GB, free: 15.46 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 (27): * Single equations (assignments): 26 * 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 {(6,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001713/0.1426, allocations: 137.8 kB / 0.5017 GB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.672e-05/0.1426, allocations: 19.86 kB / 0.5017 GB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001644/0.1443, allocations: 0.6131 MB / 0.5023 GB, free: 14.67 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.1443, allocations: 4 kB / 0.5023 GB, free: 14.67 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.1443, allocations: 3.938 kB / 0.5023 GB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.1443, allocations: 4 kB / 0.5023 GB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004374/0.1447, allocations: 296.5 kB / 0.5026 GB, free: 14.33 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.1447, allocations: 3.938 kB / 0.5026 GB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001166/0.1449, allocations: 31.92 kB / 0.5026 GB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001361/0.1462, allocations: 312.7 kB / 0.5029 GB, free: 13.98 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.074e-05/0.1462, allocations: 4 kB / 0.5029 GB, free: 13.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004132/0.1504, allocations: 2.593 MB / 0.5055 GB, free: 11.27 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.1504, allocations: 0 / 0.5055 GB, free: 11.27 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001587/0.152, allocations: 0.6636 MB / 0.5061 GB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.766e-05/0.152, allocations: 23.78 kB / 0.5061 GB, free: 10.57 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.596e-05/0.152, allocations: 7.984 kB / 0.5061 GB, free: 10.56 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002384/0.1523, allocations: 18.19 kB / 0.5062 GB, free: 10.54 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.891e-05/0.1524, allocations: 31.95 kB / 0.5062 GB, free: 10.51 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.47e-05/0.1524, allocations: 8 kB / 0.5062 GB, free: 10.5 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001681/0.1525, allocations: 147.4 kB / 0.5063 GB, free: 10.36 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1525, allocations: 0 / 0.5063 GB, free: 10.36 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000464/0.153, allocations: 95.95 kB / 0.5064 GB, free: 10.27 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 {(6,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001992/0.155, allocations: 1.229 MB / 0.5076 GB, free: 9.008 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001565/0.1566, allocations: 0.5959 MB / 0.5082 GB, free: 8.398 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.1566, allocations: 0 / 0.5082 GB, free: 8.398 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001028/0.1576, allocations: 422.3 kB / 0.5086 GB, free: 7.973 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003511/0.1579, allocations: 27.98 kB / 0.5086 GB, free: 7.945 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006424/0.1644, allocations: 3.22 MB / 0.5118 GB, free: 4.645 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002294/0.1646, allocations: 141.7 kB / 0.5119 GB, free: 4.488 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001824/0.1648, allocations: 33.92 kB / 0.5119 GB, free: 4.453 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001652/0.1649, allocations: 67.41 kB / 0.512 GB, free: 4.387 MB / 382.1 MB Notification: Performance of SimCode: time 1.252e-06/0.165, allocations: 0 / 0.512 GB, free: 4.387 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2576/0.4226, allocations: 8.865 MB / 0.5207 GB, free: 30.46 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.81/13.23, allocations: 4.188 kB / 0.5207 GB, free: 30.46 MB / 382.1 MB " [Timeout remaining time 647] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad_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_OneSourceTwoLinesOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.975976832676679] Failed to read output from testmodel.py, exit status != 0: 13.350580491125584 13.365697589 13.239479109 Calling exit ...