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.001377/0.001377, 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.001535/0.001535, allocations: 220.6 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.444/1.444, allocations: 230.6 MB / 256.8 MB, free: 8.004 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.05112/0.05112, allocations: 6.14 MB / 319.4 MB, free: 12.8 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.001536/0.001536, allocations: 51.92 kB / 444.4 MB, free: 5.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1076, allocations: 55.02 MB / 499.4 MB, free: 14.05 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad): time 0.00285/0.1105, allocations: 1.491 MB / 0.4892 GB, free: 12.57 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002331/0.1128, allocations: 1.552 MB / 0.4907 GB, free: 11 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.534e-05/0.1129, allocations: 4 kB / 0.4907 GB, free: 11 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003719/0.1132, allocations: 131.3 kB / 0.4908 GB, free: 10.87 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003071/0.1135, allocations: 123.2 kB / 0.491 GB, free: 10.75 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001625/0.1152, allocations: 0.8387 MB / 0.4918 GB, free: 9.906 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003835/0.1156, allocations: 250.8 kB / 0.492 GB, free: 9.66 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001651/0.1157, allocations: 64.72 kB / 0.4921 GB, free: 9.594 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001304/0.1159, allocations: 111.6 kB / 0.4922 GB, free: 9.484 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002053/0.1161, allocations: 127.4 kB / 0.4923 GB, free: 9.359 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.795e-05/0.1161, allocations: 20 kB / 0.4923 GB, free: 9.34 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003836/0.1165, allocations: 207.8 kB / 0.4925 GB, free: 9.137 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.327e-05/0.1165, allocations: 51.78 kB / 0.4926 GB, free: 9.086 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001094/0.1166, allocations: 107.5 kB / 0.4927 GB, free: 8.98 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005215/0.1172, allocations: 414.6 kB / 0.4931 GB, free: 8.574 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.1172, allocations: 0 / 0.4931 GB, free: 8.574 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1172, allocations: 0 / 0.4931 GB, free: 8.574 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.1172, allocations: 4 kB / 0.4931 GB, free: 8.57 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.002648/0.1198, allocations: 0.7858 MB / 0.4938 GB, free: 7.75 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.1199, allocations: 8.031 kB / 0.4938 GB, free: 7.742 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.399e-05/0.1199, allocations: 54.73 kB / 0.4939 GB, free: 7.68 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.812e-05/0.12, allocations: 28.8 kB / 0.4939 GB, free: 7.652 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003301/0.1203, allocations: 207.8 kB / 0.4941 GB, free: 7.422 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.167e-05/0.1204, allocations: 16.81 kB / 0.4941 GB, free: 7.406 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.476e-05/0.1204, allocations: 32.3 kB / 0.4942 GB, free: 7.375 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005488/0.1209, allocations: 394.6 kB / 0.4945 GB, free: 6.957 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.121, allocations: 3.938 kB / 0.4945 GB, free: 6.953 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.58e-05/0.121, allocations: 8 kB / 0.4946 GB, free: 6.945 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.121, allocations: 4 kB / 0.4946 GB, free: 6.941 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004482/0.1214, allocations: 289.6 kB / 0.4948 GB, free: 6.656 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001505/0.1229, allocations: 0.7747 MB / 0.4956 GB, free: 5.84 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009324/0.1239, allocations: 350.7 kB / 0.4959 GB, free: 5.488 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002545/0.1241, allocations: 160.8 kB / 0.4961 GB, free: 5.328 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.982e-05/0.1242, allocations: 8.484 kB / 0.4961 GB, free: 5.32 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.534e-05/0.1242, allocations: 50.38 kB / 0.4961 GB, free: 5.262 MB / 366.1 MB Notification: Performance of pre-optimization done (n=29): time 1.663e-06/0.1242, allocations: 0 / 0.4961 GB, free: 5.262 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.003019/0.1272, allocations: 0.8687 MB / 0.497 GB, free: 4.383 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.777e-05/0.1273, allocations: 55.41 kB / 0.497 GB, free: 4.316 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002576/0.1275, allocations: 223.7 kB / 0.4973 GB, free: 4.086 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.554e-05/0.1276, allocations: 37.64 kB / 0.4973 GB, free: 4.043 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.843e-05/0.1277, allocations: 140.8 kB / 0.4974 GB, free: 3.902 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.194e-05/0.1278, allocations: 111.1 kB / 0.4975 GB, free: 3.793 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001254/0.1279, allocations: 77.59 kB / 0.4976 GB, free: 3.711 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.128, allocations: 330.8 kB / 0.4979 GB, free: 3.379 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000285/0.1283, allocations: 179.9 kB / 0.4981 GB, free: 3.203 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002812/0.1286, allocations: 183.8 kB / 0.4983 GB, free: 3.023 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006211/0.1292, allocations: 393.5 kB / 0.4986 GB, free: 2.637 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.1292, allocations: 0 / 0.4986 GB, free: 2.637 MB / 366.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001501/0.1307, allocations: 0.6579 MB / 0.4993 GB, free: 1.969 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/0.1308, allocations: 8 kB / 0.4993 GB, free: 1.961 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.1308, allocations: 0 / 0.4993 GB, free: 1.961 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001112/0.1319, allocations: 244.6 kB / 0.4995 GB, free: 1.719 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002213/0.1321, allocations: 51.91 kB / 0.4996 GB, free: 1.668 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004095/0.1362, allocations: 2.549 MB / 0.5021 GB, free: 15.01 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002581/0.1364, allocations: 35.67 kB / 0.5021 GB, free: 14.97 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.81e-05/0.1365, allocations: 15.98 kB / 0.5021 GB, free: 14.96 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.0001731/0.1367, allocations: 141.8 kB / 0.5022 GB, free: 14.81 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.386e-05/0.1367, allocations: 23.86 kB / 0.5023 GB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001426/0.1381, allocations: 0.5985 MB / 0.5029 GB, free: 14.18 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.1382, allocations: 4 kB / 0.5029 GB, free: 14.17 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.1382, allocations: 0 / 0.5029 GB, free: 14.17 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.1382, allocations: 3.938 kB / 0.5029 GB, free: 14.17 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001855/0.14, allocations: 0.9599 MB / 0.5038 GB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.14, allocations: 0 / 0.5038 GB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001142/0.1401, allocations: 31.92 kB / 0.5038 GB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001012/0.1411, allocations: 244.6 kB / 0.5041 GB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.444e-05/0.1412, allocations: 11.88 kB / 0.5041 GB, free: 12.87 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003606/0.1448, allocations: 2.522 MB / 0.5065 GB, free: 10.23 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.1448, allocations: 4 kB / 0.5065 GB, free: 10.23 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001357/0.1461, allocations: 0.6451 MB / 0.5072 GB, free: 9.566 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.016e-05/0.1462, allocations: 27.8 kB / 0.5072 GB, free: 9.539 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.045e-05/0.1462, allocations: 11.94 kB / 0.5072 GB, free: 9.527 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002313/0.1465, allocations: 12.09 kB / 0.5072 GB, free: 9.516 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.371e-05/0.1465, allocations: 27.89 kB / 0.5072 GB, free: 9.488 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.359e-05/0.1465, allocations: 8 kB / 0.5073 GB, free: 9.48 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002071/0.1468, allocations: 170.8 kB / 0.5074 GB, free: 9.312 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1468, allocations: 0 / 0.5074 GB, free: 9.312 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005096/0.1473, allocations: 108 kB / 0.5075 GB, free: 9.207 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.001832/0.1491, allocations: 1.201 MB / 0.5087 GB, free: 7.977 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001406/0.1505, allocations: 0.5807 MB / 0.5093 GB, free: 7.383 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/0.1505, allocations: 3.984 kB / 0.5093 GB, free: 7.379 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000886/0.1514, allocations: 386.4 kB / 0.5096 GB, free: 6.988 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003572/0.1517, allocations: 24.33 kB / 0.5097 GB, free: 6.965 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005526/0.1573, allocations: 3.36 MB / 0.5129 GB, free: 3.523 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001515/0.1574, allocations: 142.7 kB / 0.5131 GB, free: 3.363 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000122/0.1575, allocations: 33.92 kB / 0.5131 GB, free: 3.328 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000114/0.1577, allocations: 71.34 kB / 0.5132 GB, free: 3.258 MB / 382.1 MB Notification: Performance of SimCode: time 8.92e-07/0.1577, allocations: 0 / 0.5132 GB, free: 3.258 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2332/0.3909, allocations: 8.954 MB / 0.5219 GB, free: 29.98 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.82/13.21, allocations: 4.969 kB / 0.5219 GB, free: 29.98 MB / 382.1 MB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_TwoSourcesTwoLinesOneLoad_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_TwoSourcesTwoLinesOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.825464001391083] Failed to read output from testmodel.py, exit status != 0: 13.338696036022156 13.360940488 13.239679144 Calling exit ...