Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.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.001281/0.001281, 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.001445/0.001445, allocations: 209.7 kB / 23.83 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.534/1.534, allocations: 230.6 MB / 257.6 MB, free: 7.977 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.03791/0.03791, allocations: 6.137 MB / 320.2 MB, free: 12.92 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.OneSourceOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLoad",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLoad",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001623/0.001623, allocations: 47.92 kB / 445.3 MB, free: 5.332 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1155, allocations: 55.02 MB / 0.4886 GB, free: 14.21 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLoad): time 0.002453/0.118, allocations: 0.8721 MB / 0.4894 GB, free: 13.34 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002036/0.12, allocations: 1.361 MB / 0.4908 GB, free: 11.96 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.076e-05/0.1201, allocations: 4 kB / 0.4908 GB, free: 11.96 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002975/0.1204, allocations: 63.69 kB / 0.4908 GB, free: 11.9 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001897/0.1206, allocations: 35.78 kB / 0.4909 GB, free: 11.86 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008073/0.1214, allocations: 322.7 kB / 0.4912 GB, free: 11.55 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000142/0.1215, allocations: 75.66 kB / 0.4912 GB, free: 11.47 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.1216, allocations: 19.98 kB / 0.4913 GB, free: 11.45 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.25e-05/0.1217, allocations: 31.86 kB / 0.4913 GB, free: 11.42 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001404/0.1218, allocations: 47.78 kB / 0.4913 GB, free: 11.38 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.926e-05/0.1218, allocations: 8 kB / 0.4913 GB, free: 11.37 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002471/0.1221, allocations: 103.9 kB / 0.4914 GB, free: 11.27 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.167e-05/0.1221, allocations: 23.86 kB / 0.4915 GB, free: 11.24 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.216e-05/0.1222, allocations: 31.86 kB / 0.4915 GB, free: 11.21 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003109/0.1225, allocations: 155.8 kB / 0.4916 GB, free: 11.06 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.932e-06/0.1225, allocations: 3.984 kB / 0.4917 GB, free: 11.05 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1225, allocations: 0 / 0.4917 GB, free: 11.05 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.321e-06/0.1225, allocations: 0 / 0.4917 GB, free: 11.05 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0009627/0.1234, allocations: 377.7 kB / 0.492 GB, free: 10.65 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.1235, allocations: 12.03 kB / 0.492 GB, free: 10.64 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.022e-05/0.1235, allocations: 4.188 kB / 0.492 GB, free: 10.64 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.62e-05/0.1236, allocations: 42.73 kB / 0.4921 GB, free: 10.59 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.116e-05/0.1236, allocations: 8.891 kB / 0.4921 GB, free: 10.58 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001745/0.1238, allocations: 126.4 kB / 0.4922 GB, free: 10.43 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.1238, allocations: 4.375 kB / 0.4922 GB, free: 10.43 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.529e-05/0.1238, allocations: 4.375 kB / 0.4922 GB, free: 10.42 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001855/0.124, allocations: 102 kB / 0.4923 GB, free: 10.32 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.124, allocations: 0 / 0.4923 GB, free: 10.32 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.528e-05/0.124, allocations: 4 kB / 0.4923 GB, free: 10.31 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.124, allocations: 0 / 0.4923 GB, free: 10.31 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001308/0.1241, allocations: 75.97 kB / 0.4924 GB, free: 10.24 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000651/0.1248, allocations: 351.7 kB / 0.4927 GB, free: 9.852 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003288/0.1251, allocations: 106.7 kB / 0.4928 GB, free: 9.738 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.247e-05/0.1252, allocations: 32.84 kB / 0.4928 GB, free: 9.703 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.347e-05/0.1252, allocations: 8.141 kB / 0.4929 GB, free: 9.695 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.991e-05/0.1253, allocations: 42.48 kB / 0.4929 GB, free: 9.645 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.1253, allocations: 0 / 0.4929 GB, free: 9.645 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005788/0.1258, allocations: 154.5 kB / 0.493 GB, free: 9.484 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.249e-05/0.1259, allocations: 59.34 kB / 0.4931 GB, free: 9.414 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001549/0.126, allocations: 129.8 kB / 0.4932 GB, free: 9.277 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.462e-05/0.1261, allocations: 37.64 kB / 0.4933 GB, free: 9.234 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.057e-05/0.1261, allocations: 99.97 kB / 0.4934 GB, free: 9.133 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.164e-05/0.1262, allocations: 23.84 kB / 0.4934 GB, free: 9.109 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.042e-05/0.1262, allocations: 21.72 kB / 0.4934 GB, free: 9.082 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.1264, allocations: 322.8 kB / 0.4937 GB, free: 8.758 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.995e-05/0.1264, allocations: 35.98 kB / 0.4937 GB, free: 8.723 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.654e-05/0.1265, allocations: 35.98 kB / 0.4938 GB, free: 8.688 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001182/0.1266, allocations: 68.86 kB / 0.4938 GB, free: 8.617 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.1266, allocations: 192 / 0.4938 GB, free: 8.617 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003038/0.1269, allocations: 146.3 kB / 0.494 GB, free: 8.465 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.1269, allocations: 11.92 kB / 0.494 GB, free: 8.453 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.1269, allocations: 0 / 0.494 GB, free: 8.453 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000239/0.1272, allocations: 40.83 kB / 0.494 GB, free: 8.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.096e-05/0.1272, allocations: 15.94 kB / 0.494 GB, free: 8.395 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001355/0.1286, allocations: 1.334 MB / 0.4953 GB, free: 6.941 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.681e-05/0.1287, allocations: 15.92 kB / 0.4954 GB, free: 6.926 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.113e-05/0.1287, allocations: 3.938 kB / 0.4954 GB, free: 6.922 MB / 366.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 (9): * Single equations (assignments): 8 * 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.0001085/0.1288, allocations: 121.8 kB / 0.4955 GB, free: 6.793 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.607e-05/0.1288, allocations: 8.047 kB / 0.4955 GB, free: 6.785 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000312/0.1291, allocations: 127.1 kB / 0.4956 GB, free: 6.656 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.1291, allocations: 4 kB / 0.4956 GB, free: 6.652 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.1291, allocations: 3.938 kB / 0.4956 GB, free: 6.648 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.1291, allocations: 0 / 0.4956 GB, free: 6.648 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002342/0.1294, allocations: 180.6 kB / 0.4958 GB, free: 6.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1294, allocations: 0 / 0.4958 GB, free: 6.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.269e-05/0.1294, allocations: 12 kB / 0.4958 GB, free: 6.418 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001601/0.1296, allocations: 32.83 kB / 0.4958 GB, free: 6.383 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.1296, allocations: 8 kB / 0.4958 GB, free: 6.375 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001225/0.1308, allocations: 1.334 MB / 0.4971 GB, free: 4.926 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1308, allocations: 80 / 0.4971 GB, free: 4.926 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003088/0.1311, allocations: 216.2 kB / 0.4974 GB, free: 4.695 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.304e-05/0.1312, allocations: 12.03 kB / 0.4974 GB, free: 4.684 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.549e-05/0.1312, allocations: 4 kB / 0.4974 GB, free: 4.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001124/0.1313, allocations: 4 kB / 0.4974 GB, free: 4.676 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.695e-05/0.1313, allocations: 11.98 kB / 0.4974 GB, free: 4.664 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-06/0.1313, allocations: 0 / 0.4974 GB, free: 4.664 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000115/0.1314, allocations: 119.2 kB / 0.4975 GB, free: 4.547 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1314, allocations: 0 / 0.4975 GB, free: 4.547 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002881/0.1317, allocations: 20 kB / 0.4975 GB, free: 4.527 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 (6): * Single equations (assignments): 5 * 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.0006719/0.1324, allocations: 0.7483 MB / 0.4982 GB, free: 3.75 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004213/0.1328, allocations: 202.7 kB / 0.4984 GB, free: 3.539 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.1328, allocations: 0 / 0.4984 GB, free: 3.539 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002208/0.133, allocations: 150.6 kB / 0.4986 GB, free: 3.379 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003695/0.1334, allocations: 11.94 kB / 0.4986 GB, free: 3.367 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002127/0.1355, allocations: 1.603 MB / 0.5002 GB, free: 1.68 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003644/0.1359, allocations: 0.6924 MB / 0.5008 GB, free: 0.9609 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.91e-05/0.136, allocations: 12.64 kB / 0.5008 GB, free: 0.9492 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.556e-05/0.136, allocations: 19.44 kB / 0.5009 GB, free: 0.9297 MB / 366.1 MB Notification: Performance of SimCode: time 4.61e-07/0.136, allocations: 0 / 0.5009 GB, free: 0.9297 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02562/0.1616, allocations: 3.015 MB / 0.5038 GB, free: 14.06 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.9/12.06, allocations: 8.047 kB / 0.5038 GB, free: 14.05 MB / 382.1 MB " [Timeout remaining time 648] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneLoad_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.826631477917545] Failed to read output from testmodel.py, exit status != 0: 12.2283958659973 12.254100465 12.127162902 Calling exit ...