Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.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.001838/0.001838, allocations: 109 kB / 20.52 MB, free: 1.434 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.002485/0.002485, allocations: 214.4 kB / 23.83 MB, free: 4.645 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.567/1.567, allocations: 230.6 MB / 257.6 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.03938/0.03938, allocations: 6.128 MB / 320.2 MB, free: 12.93 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.OneSourceOneLoadWithBuses,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLoadWithBuses",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneLoadWithBuses,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLoadWithBuses",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001561/0.001561, allocations: 47.92 kB / 445.3 MB, free: 5.363 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1221, allocations: 55.02 MB / 0.4886 GB, free: 14.24 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLoadWithBuses): time 0.002805/0.1249, allocations: 1.255 MB / 0.4898 GB, free: 12.99 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002024/0.1269, allocations: 1.318 MB / 0.4911 GB, free: 11.66 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.241e-05/0.127, allocations: 0 / 0.4911 GB, free: 11.66 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002982/0.1273, allocations: 75.62 kB / 0.4912 GB, free: 11.59 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002088/0.1275, allocations: 55.56 kB / 0.4912 GB, free: 11.53 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000745/0.1283, allocations: 342.7 kB / 0.4915 GB, free: 11.2 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001709/0.1284, allocations: 119.5 kB / 0.4917 GB, free: 11.08 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001708/0.1286, allocations: 53.98 kB / 0.4917 GB, free: 11.02 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.606e-05/0.1287, allocations: 47.86 kB / 0.4918 GB, free: 10.97 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001651/0.1288, allocations: 71.69 kB / 0.4918 GB, free: 10.9 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.363e-05/0.1289, allocations: 16 kB / 0.4918 GB, free: 10.88 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000255/0.1291, allocations: 111.9 kB / 0.4919 GB, free: 10.77 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.191e-05/0.1291, allocations: 27.92 kB / 0.492 GB, free: 10.75 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.324e-05/0.1292, allocations: 63.67 kB / 0.492 GB, free: 10.68 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004186/0.1296, allocations: 215.2 kB / 0.4922 GB, free: 10.47 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.1296, allocations: 0 / 0.4922 GB, free: 10.47 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1296, allocations: 0 / 0.4922 GB, free: 10.47 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.1297, allocations: 0 / 0.4922 GB, free: 10.47 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001042/0.1307, allocations: 417.5 kB / 0.4926 GB, free: 10.03 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.1307, allocations: 8.031 kB / 0.4926 GB, free: 10.02 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.094e-05/0.1308, allocations: 4.188 kB / 0.4926 GB, free: 10.02 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.931e-05/0.1308, allocations: 46.73 kB / 0.4927 GB, free: 9.965 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.761e-05/0.1309, allocations: 12.89 kB / 0.4927 GB, free: 9.953 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001742/0.131, allocations: 134.3 kB / 0.4928 GB, free: 9.797 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.131, allocations: 8.375 kB / 0.4928 GB, free: 9.789 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.147e-05/0.1311, allocations: 12.38 kB / 0.4929 GB, free: 9.777 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002587/0.1313, allocations: 134 kB / 0.493 GB, free: 9.641 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.1313, allocations: 4 kB / 0.493 GB, free: 9.637 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.916e-05/0.1314, allocations: 11.98 kB / 0.493 GB, free: 9.625 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.1314, allocations: 4 kB / 0.493 GB, free: 9.621 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001779/0.1315, allocations: 95.91 kB / 0.4931 GB, free: 9.527 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007624/0.1323, allocations: 455.4 kB / 0.4935 GB, free: 9.039 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003333/0.1326, allocations: 106.6 kB / 0.4936 GB, free: 8.926 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.133e-05/0.1327, allocations: 24.84 kB / 0.4936 GB, free: 8.898 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.198e-05/0.1328, allocations: 11.92 kB / 0.4937 GB, free: 8.887 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.932e-05/0.1328, allocations: 38.56 kB / 0.4937 GB, free: 8.84 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.362e-06/0.1328, allocations: 0 / 0.4937 GB, free: 8.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006104/0.1334, allocations: 154.4 kB / 0.4938 GB, free: 8.68 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.138e-05/0.1335, allocations: 51.41 kB / 0.4939 GB, free: 8.617 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001743/0.1336, allocations: 141.8 kB / 0.494 GB, free: 8.469 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.215e-05/0.1336, allocations: 25.7 kB / 0.4941 GB, free: 8.438 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.83e-05/0.1337, allocations: 123.8 kB / 0.4942 GB, free: 8.312 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.635e-05/0.1338, allocations: 23.75 kB / 0.4942 GB, free: 8.289 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.776e-05/0.1338, allocations: 29.7 kB / 0.4942 GB, free: 8.254 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.134, allocations: 330.8 kB / 0.4945 GB, free: 7.922 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.222e-05/0.134, allocations: 20 kB / 0.4946 GB, free: 7.902 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.342e-05/0.1341, allocations: 31.98 kB / 0.4946 GB, free: 7.871 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001175/0.1342, allocations: 72.92 kB / 0.4947 GB, free: 7.797 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1342, allocations: 0 / 0.4947 GB, free: 7.797 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002896/0.1345, allocations: 138.3 kB / 0.4948 GB, free: 7.652 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.1345, allocations: 8 kB / 0.4948 GB, free: 7.645 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.1345, allocations: 0 / 0.4948 GB, free: 7.645 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002513/0.1348, allocations: 32.83 kB / 0.4948 GB, free: 7.609 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.398e-05/0.1349, allocations: 19.94 kB / 0.4948 GB, free: 7.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001329/0.1362, allocations: 1.314 MB / 0.4961 GB, free: 6.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.62e-05/0.1363, allocations: 12.25 kB / 0.4961 GB, free: 6.148 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.1363, allocations: 0 / 0.4961 GB, free: 6.148 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.000128/0.1364, allocations: 125.8 kB / 0.4963 GB, free: 6.016 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.861e-05/0.1365, allocations: 19.97 kB / 0.4963 GB, free: 5.996 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003014/0.1368, allocations: 114.8 kB / 0.4964 GB, free: 5.879 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.1368, allocations: 0 / 0.4964 GB, free: 5.879 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.1368, allocations: 0 / 0.4964 GB, free: 5.879 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.1368, allocations: 0 / 0.4964 GB, free: 5.879 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002754/0.137, allocations: 196.6 kB / 0.4966 GB, free: 5.645 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.137, allocations: 0 / 0.4966 GB, free: 5.645 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.274e-05/0.1371, allocations: 8 kB / 0.4966 GB, free: 5.637 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001734/0.1373, allocations: 40.83 kB / 0.4966 GB, free: 5.594 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.1373, allocations: 0 / 0.4966 GB, free: 5.594 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001176/0.1384, allocations: 1.314 MB / 0.4979 GB, free: 4.16 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.1384, allocations: 0 / 0.4979 GB, free: 4.16 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002964/0.1387, allocations: 204.2 kB / 0.4981 GB, free: 3.941 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.18e-05/0.1388, allocations: 19.98 kB / 0.4981 GB, free: 3.922 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.514e-05/0.1388, allocations: 0 / 0.4981 GB, free: 3.922 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001177/0.1389, allocations: 7.984 kB / 0.4981 GB, free: 3.914 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.433e-05/0.1389, allocations: 11.98 kB / 0.4981 GB, free: 3.902 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.692e-06/0.1389, allocations: 0 / 0.4981 GB, free: 3.902 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001137/0.139, allocations: 113.5 kB / 0.4982 GB, free: 3.793 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.139, allocations: 0 / 0.4982 GB, free: 3.793 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003054/0.1393, allocations: 28 kB / 0.4983 GB, free: 3.766 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.0006682/0.14, allocations: 0.7482 MB / 0.499 GB, free: 2.988 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004252/0.1404, allocations: 186.6 kB / 0.4992 GB, free: 2.793 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1404, allocations: 0 / 0.4992 GB, free: 2.793 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002055/0.1406, allocations: 147.2 kB / 0.4993 GB, free: 2.637 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003891/0.141, allocations: 12 kB / 0.4993 GB, free: 2.625 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002049/0.1431, allocations: 1.62 MB / 0.5009 GB, free: 0.9219 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003304/0.1434, allocations: 0.704 MB / 0.5016 GB, free: 196 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.489e-05/0.1435, allocations: 16.64 kB / 0.5016 GB, free: 180 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.952e-05/0.1435, allocations: 31.42 kB / 0.5017 GB, free: 148 kB / 366.1 MB Notification: Performance of SimCode: time 6.12e-07/0.1435, allocations: 0 / 0.5017 GB, free: 148 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02556/0.1691, allocations: 3.083 MB / 0.5047 GB, free: 13.21 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.82/11.98, allocations: 8.047 kB / 0.5047 GB, free: 13.2 MB / 382.1 MB " [Timeout remaining time 648] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneLoadWithBuses_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneLoadWithBuses.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.973428947036155] Failed to read output from testmodel.py, exit status != 0: 12.147149203927256 12.365145338 12.031386638 Calling exit ...