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.001357/0.001357, allocations: 101.9 kB / 20.52 MB, free: 1.348 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.001469/0.001469, allocations: 221.2 kB / 23.82 MB, free: 4.512 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.501/1.501, allocations: 230.6 MB / 257.6 MB, free: 7.809 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.03765/0.03765, allocations: 6.143 MB / 320.1 MB, free: 12.85 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.001617/0.001617, allocations: 47.92 kB / 445.2 MB, free: 5.168 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1136, allocations: 55.03 MB / 0.4885 GB, free: 14.04 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLoadWithBuses): time 0.00319/0.1168, allocations: 1.16 MB / 0.4896 GB, free: 12.89 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002322/0.1191, allocations: 1.267 MB / 0.4909 GB, free: 11.61 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.762e-05/0.1192, allocations: 4 kB / 0.4909 GB, free: 11.6 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003229/0.1195, allocations: 67.62 kB / 0.4909 GB, free: 11.54 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002372/0.1198, allocations: 55.62 kB / 0.491 GB, free: 11.48 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008172/0.1206, allocations: 313.2 kB / 0.4913 GB, free: 11.18 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000238/0.1208, allocations: 123.4 kB / 0.4914 GB, free: 11.05 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001839/0.121, allocations: 50.28 kB / 0.4915 GB, free: 11 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.892e-05/0.1211, allocations: 55.78 kB / 0.4915 GB, free: 10.94 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002117/0.1213, allocations: 67.75 kB / 0.4916 GB, free: 10.88 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.039e-05/0.1213, allocations: 12 kB / 0.4916 GB, free: 10.86 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003235/0.1217, allocations: 107.9 kB / 0.4917 GB, free: 10.76 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.792e-05/0.1217, allocations: 31.91 kB / 0.4917 GB, free: 10.73 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.774e-05/0.1218, allocations: 51.73 kB / 0.4918 GB, free: 10.68 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004999/0.1223, allocations: 215.2 kB / 0.492 GB, free: 10.46 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1223, allocations: 0 / 0.492 GB, free: 10.46 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.833e-06/0.1223, allocations: 3.984 kB / 0.492 GB, free: 10.46 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.945e-06/0.1223, allocations: 4 kB / 0.492 GB, free: 10.46 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.00117/0.1235, allocations: 409.5 kB / 0.4924 GB, free: 10.02 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/0.1235, allocations: 12.03 kB / 0.4924 GB, free: 10.01 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.343e-05/0.1235, allocations: 192 / 0.4924 GB, free: 10.01 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.193e-05/0.1236, allocations: 50.73 kB / 0.4924 GB, free: 9.953 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.688e-05/0.1237, allocations: 12.89 kB / 0.4924 GB, free: 9.941 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001709/0.1238, allocations: 126.4 kB / 0.4926 GB, free: 9.793 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.331e-05/0.1238, allocations: 16.38 kB / 0.4926 GB, free: 9.777 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.072e-05/0.1239, allocations: 8.375 kB / 0.4926 GB, free: 9.77 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003059/0.1242, allocations: 193.3 kB / 0.4928 GB, free: 9.562 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.1242, allocations: 3.938 kB / 0.4928 GB, free: 9.559 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.926e-05/0.1242, allocations: 8 kB / 0.4928 GB, free: 9.551 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.1242, allocations: 0 / 0.4928 GB, free: 9.551 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001858/0.1244, allocations: 103.9 kB / 0.4929 GB, free: 9.449 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008202/0.1252, allocations: 431.5 kB / 0.4933 GB, free: 8.984 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003569/0.1256, allocations: 94.61 kB / 0.4934 GB, free: 8.883 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.855e-05/0.1256, allocations: 24.86 kB / 0.4934 GB, free: 8.855 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.94e-05/0.1257, allocations: 11.98 kB / 0.4934 GB, free: 8.844 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.39e-05/0.1258, allocations: 30.56 kB / 0.4934 GB, free: 8.805 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 2.054e-06/0.1258, allocations: 0 / 0.4934 GB, free: 8.805 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006435/0.1264, allocations: 158.5 kB / 0.4936 GB, free: 8.641 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.041e-05/0.1265, allocations: 59.41 kB / 0.4937 GB, free: 8.57 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001772/0.1266, allocations: 129.8 kB / 0.4938 GB, free: 8.434 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.686e-05/0.1267, allocations: 29.7 kB / 0.4938 GB, free: 8.398 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.337e-05/0.1268, allocations: 119.8 kB / 0.4939 GB, free: 8.277 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.711e-05/0.1268, allocations: 31.73 kB / 0.494 GB, free: 8.246 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.851e-05/0.1268, allocations: 29.64 kB / 0.494 GB, free: 8.211 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.127, allocations: 318.8 kB / 0.4943 GB, free: 7.891 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.096e-05/0.1271, allocations: 31.98 kB / 0.4943 GB, free: 7.859 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.285e-05/0.1271, allocations: 31.98 kB / 0.4943 GB, free: 7.828 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001102/0.1272, allocations: 60.8 kB / 0.4944 GB, free: 7.766 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1272, allocations: 0 / 0.4944 GB, free: 7.766 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003215/0.1276, allocations: 138.6 kB / 0.4945 GB, free: 7.621 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.369e-05/0.1276, allocations: 8.094 kB / 0.4945 GB, free: 7.613 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.1276, allocations: 3.938 kB / 0.4945 GB, free: 7.609 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002666/0.1279, allocations: 36.83 kB / 0.4946 GB, free: 7.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.193e-05/0.1279, allocations: 15.92 kB / 0.4946 GB, free: 7.555 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001444/0.1294, allocations: 1.314 MB / 0.4959 GB, free: 6.125 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001025/0.1295, allocations: 11.97 kB / 0.4959 GB, free: 6.113 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.39e-05/0.1295, allocations: 320 / 0.4959 GB, free: 6.113 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.0001529/0.1296, allocations: 128.4 kB / 0.496 GB, free: 5.98 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.205e-05/0.1297, allocations: 3.953 kB / 0.496 GB, free: 5.977 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003325/0.13, allocations: 134.8 kB / 0.4961 GB, free: 5.84 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.13, allocations: 4.125 kB / 0.4962 GB, free: 5.836 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.13, allocations: 0 / 0.4962 GB, free: 5.836 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.13, allocations: 0 / 0.4962 GB, free: 5.836 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002739/0.1303, allocations: 180.6 kB / 0.4963 GB, free: 5.617 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.1303, allocations: 0 / 0.4963 GB, free: 5.617 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.717e-05/0.1304, allocations: 12 kB / 0.4963 GB, free: 5.605 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000175/0.1305, allocations: 32.83 kB / 0.4964 GB, free: 5.57 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.1305, allocations: 0 / 0.4964 GB, free: 5.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001219/0.1318, allocations: 1.307 MB / 0.4976 GB, free: 4.145 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.1318, allocations: 0 / 0.4976 GB, free: 4.145 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003355/0.1321, allocations: 208.2 kB / 0.4978 GB, free: 3.922 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.132e-05/0.1321, allocations: 15.89 kB / 0.4979 GB, free: 3.906 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.65e-05/0.1321, allocations: 0 / 0.4979 GB, free: 3.906 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001247/0.1323, allocations: 7.984 kB / 0.4979 GB, free: 3.898 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.698e-05/0.1323, allocations: 8.141 kB / 0.4979 GB, free: 3.891 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.149e-05/0.1323, allocations: 8 kB / 0.4979 GB, free: 3.883 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001251/0.1324, allocations: 111.2 kB / 0.498 GB, free: 3.773 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1324, allocations: 0 / 0.498 GB, free: 3.773 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003283/0.1328, allocations: 32 kB / 0.498 GB, free: 3.742 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.0007299/0.1335, allocations: 0.7443 MB / 0.4987 GB, free: 2.969 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004492/0.1339, allocations: 190.6 kB / 0.4989 GB, free: 2.77 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.1339, allocations: 0 / 0.4989 GB, free: 2.77 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002472/0.1342, allocations: 146.6 kB / 0.4991 GB, free: 2.613 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003636/0.1345, allocations: 14.83 kB / 0.4991 GB, free: 2.602 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002094/0.1366, allocations: 1.609 MB / 0.5006 GB, free: 0.9102 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.223e-05/0.1367, allocations: 89.19 kB / 0.5007 GB, free: 0.8047 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.64e-05/0.1368, allocations: 12.78 kB / 0.5007 GB, free: 0.793 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.97e-05/0.1369, allocations: 35.42 kB / 0.5008 GB, free: 0.7578 MB / 366.1 MB Notification: Performance of SimCode: time 1.112e-06/0.1369, allocations: 0 / 0.5008 GB, free: 0.7578 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02638/0.1632, allocations: 3.185 MB / 0.5039 GB, free: 13.72 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.15/12.31, allocations: 4.062 kB / 0.5039 GB, free: 13.72 MB / 382.1 MB " [Timeout remaining time 647] (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: 15.281705948989838] Failed to read output from testmodel.py, exit status != 0: 12.505260234000161 12.745467045 12.403888463 Calling exit ...