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.001266/0.001266, allocations: 108.3 kB / 17.16 MB, free: 5.855 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.001357/0.001357, allocations: 213.1 kB / 20.14 MB, free: 2.898 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.5/1.5, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.04088/0.04088, allocations: 6.138 MB / 315.7 MB, free: 1.129 MB / 238.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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001532/0.001532, allocations: 50.38 kB / 439.2 MB, free: 40.71 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1037, allocations: 54.99 MB / 494.2 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLoad): time 0.001957/0.1057, allocations: 0.8603 MB / 495.1 MB, free: 9.656 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001321/0.107, allocations: 1.341 MB / 496.4 MB, free: 8.301 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.066e-05/0.107, allocations: 4 kB / 496.4 MB, free: 8.297 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002357/0.1073, allocations: 55.7 kB / 496.5 MB, free: 8.242 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001487/0.1074, allocations: 55.62 kB / 496.5 MB, free: 8.188 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005619/0.108, allocations: 318.8 kB / 496.8 MB, free: 7.875 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.145e-05/0.1081, allocations: 75.59 kB / 496.9 MB, free: 7.801 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.1082, allocations: 19.98 kB / 496.9 MB, free: 7.781 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.636e-05/0.1082, allocations: 31.86 kB / 497 MB, free: 7.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001493/0.1084, allocations: 43.89 kB / 497 MB, free: 7.707 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.268e-05/0.1084, allocations: 7.938 kB / 497 MB, free: 7.699 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002022/0.1086, allocations: 107.9 kB / 497.1 MB, free: 7.594 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.784e-05/0.1086, allocations: 12 kB / 497.1 MB, free: 7.582 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.702e-05/0.1086, allocations: 39.73 kB / 497.2 MB, free: 7.543 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002267/0.1089, allocations: 167.7 kB / 497.3 MB, free: 7.379 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1089, allocations: 0 / 497.3 MB, free: 7.379 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1089, allocations: 0 / 497.3 MB, free: 7.379 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.1089, allocations: 0 / 497.3 MB, free: 7.379 MB / 350.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.0008739/0.1098, allocations: 446.8 kB / 497.8 MB, free: 6.891 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.1098, allocations: 12.03 kB / 497.8 MB, free: 6.879 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.725e-05/0.1098, allocations: 38.73 kB / 497.8 MB, free: 6.832 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.749e-05/0.1099, allocations: 12.89 kB / 497.8 MB, free: 6.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001419/0.11, allocations: 180.3 kB / 498 MB, free: 6.605 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.11, allocations: 384 / 498 MB, free: 6.605 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.517e-05/0.11, allocations: 8.375 kB / 498 MB, free: 6.598 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001603/0.1102, allocations: 102.2 kB / 498.1 MB, free: 6.492 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.1102, allocations: 3.938 kB / 498.1 MB, free: 6.488 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.1102, allocations: 0 / 498.1 MB, free: 6.488 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.1102, allocations: 0 / 498.1 MB, free: 6.488 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001006/0.1103, allocations: 71.97 kB / 498.2 MB, free: 6.418 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000512/0.1108, allocations: 392.6 kB / 498.6 MB, free: 5.984 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003038/0.1111, allocations: 106.6 kB / 498.7 MB, free: 5.871 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.482e-05/0.1112, allocations: 24.86 kB / 498.7 MB, free: 5.844 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.236e-05/0.1112, allocations: 4 kB / 498.7 MB, free: 5.84 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.241e-05/0.1113, allocations: 38.5 kB / 498.8 MB, free: 5.793 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.1113, allocations: 0 / 498.8 MB, free: 5.793 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005792/0.1118, allocations: 235.6 kB / 499 MB, free: 5.535 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.237e-05/0.1119, allocations: 63.33 kB / 499 MB, free: 5.461 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001287/0.112, allocations: 133.8 kB / 499.2 MB, free: 5.32 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.273e-05/0.112, allocations: 25.7 kB / 499.2 MB, free: 5.289 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.426e-05/0.1121, allocations: 104 kB / 499.3 MB, free: 5.184 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.57e-05/0.1121, allocations: 23.84 kB / 499.3 MB, free: 5.16 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.259e-05/0.1121, allocations: 29.7 kB / 499.4 MB, free: 5.125 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.083e-05/0.1122, allocations: 310.8 kB / 499.7 MB, free: 4.812 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.859e-05/0.1122, allocations: 35.98 kB / 499.7 MB, free: 4.777 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.634e-05/0.1123, allocations: 35.92 kB / 499.7 MB, free: 4.742 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.135e-05/0.1124, allocations: 72.84 kB / 499.8 MB, free: 4.668 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-06/0.1124, allocations: 0 / 499.8 MB, free: 4.668 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002337/0.1126, allocations: 146.4 kB / 499.9 MB, free: 4.516 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.1126, allocations: 7.938 kB / 499.9 MB, free: 4.508 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.1126, allocations: 0 / 499.9 MB, free: 4.508 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002518/0.1129, allocations: 36.77 kB / 500 MB, free: 4.469 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.006e-05/0.1129, allocations: 16 kB / 0.4883 GB, free: 4.453 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008752/0.1138, allocations: 1.438 MB / 0.4897 GB, free: 2.867 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.641e-05/0.1139, allocations: 16.03 kB / 0.4897 GB, free: 2.852 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.455e-05/0.1139, allocations: 4.266 kB / 0.4897 GB, free: 2.848 MB / 350.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 7.504e-05/0.114, allocations: 122.3 kB / 0.4898 GB, free: 2.719 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.195e-05/0.114, allocations: 11.89 kB / 0.4898 GB, free: 2.707 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002605/0.1143, allocations: 130.8 kB / 0.49 GB, free: 2.574 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.1143, allocations: 0 / 0.49 GB, free: 2.574 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/0.1143, allocations: 3.938 kB / 0.49 GB, free: 2.57 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.1143, allocations: 4 kB / 0.49 GB, free: 2.566 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001533/0.1145, allocations: 205.5 kB / 0.4902 GB, free: 2.316 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1145, allocations: 0 / 0.4902 GB, free: 2.316 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.669e-05/0.1145, allocations: 15.92 kB / 0.4902 GB, free: 2.301 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001416/0.1146, allocations: 36.83 kB / 0.4902 GB, free: 2.262 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.1146, allocations: 0 / 0.4902 GB, free: 2.262 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007752/0.1154, allocations: 1.43 MB / 0.4916 GB, free: 0.6875 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.1154, allocations: 4.062 kB / 0.4916 GB, free: 0.6836 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002284/0.1156, allocations: 208.3 kB / 0.4918 GB, free: 472 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.91e-05/0.1157, allocations: 85.06 kB / 0.4919 GB, free: 368 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.258e-05/0.1157, allocations: 0 / 0.4919 GB, free: 368 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001113/0.1158, allocations: 11.98 kB / 0.4919 GB, free: 356 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.261e-05/0.1158, allocations: 7.984 kB / 0.4919 GB, free: 348 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.221e-06/0.1158, allocations: 4 kB / 0.4919 GB, free: 344 kB / 350.1 MB Notification: Performance of sorting global known variables: time 7.626e-05/0.1159, allocations: 111.2 kB / 0.492 GB, free: 232 kB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1159, allocations: 4 kB / 0.492 GB, free: 228 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002812/0.1162, allocations: 24 kB / 0.492 GB, free: 204 kB / 350.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.0006788/0.1169, allocations: 0.7488 MB / 0.4928 GB, free: 15.42 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004483/0.1173, allocations: 194.7 kB / 0.493 GB, free: 15.22 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.159e-06/0.1173, allocations: 4 kB / 0.493 GB, free: 15.21 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002307/0.1175, allocations: 154.6 kB / 0.4931 GB, free: 15.05 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003785/0.1179, allocations: 11.94 kB / 0.4931 GB, free: 15.04 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002297/0.1202, allocations: 1.61 MB / 0.4947 GB, free: 13.35 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004137/0.1206, allocations: 0.6923 MB / 0.4954 GB, free: 12.63 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.288e-05/0.1207, allocations: 8.672 kB / 0.4954 GB, free: 12.62 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.116e-05/0.1208, allocations: 27.42 kB / 0.4954 GB, free: 12.6 MB / 366.1 MB Notification: Performance of SimCode: time 6.82e-07/0.1208, allocations: 0 / 0.4954 GB, free: 12.6 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02966/0.1504, allocations: 2.858 MB / 0.4982 GB, free: 9.828 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.26/10.41, allocations: 8 kB / 0.4982 GB, free: 9.82 MB / 366.1 MB " [Timeout remaining time 650] (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 & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad_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_OneSourceOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.164903511991724] Failed to read output from testmodel.py, exit status != 0: 10.490544034008053 10.505955517 10.394148014 Calling exit ...