Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.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.001313/0.001313, 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.001457/0.001457, allocations: 216 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.502/1.502, allocations: 230.6 MB / 256.8 MB, free: 8.023 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.03701/0.03701, allocations: 6.15 MB / 319.4 MB, free: 12.81 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.OneSourceOneTransfoOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001643/0.001643, allocations: 48.06 kB / 444.4 MB, free: 5.184 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1111, allocations: 55.02 MB / 499.4 MB, free: 14.05 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLoad): time 0.002585/0.1136, allocations: 1.136 MB / 0.4888 GB, free: 12.93 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002355/0.116, allocations: 1.485 MB / 0.4903 GB, free: 11.43 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.473e-05/0.1161, allocations: 0 / 0.4903 GB, free: 11.43 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003721/0.1165, allocations: 103.5 kB / 0.4904 GB, free: 11.32 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003475/0.1168, allocations: 111.3 kB / 0.4905 GB, free: 11.21 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001998/0.1188, allocations: 0.9181 MB / 0.4914 GB, free: 10.29 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002981/0.1191, allocations: 155.2 kB / 0.4915 GB, free: 10.14 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001457/0.1192, allocations: 37.94 kB / 0.4916 GB, free: 10.1 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.73e-05/0.1193, allocations: 75.64 kB / 0.4917 GB, free: 10.03 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000167/0.1195, allocations: 79.67 kB / 0.4917 GB, free: 9.949 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.9e-05/0.1195, allocations: 12 kB / 0.4917 GB, free: 9.938 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004757/0.12, allocations: 227.8 kB / 0.492 GB, free: 9.715 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.546e-05/0.12, allocations: 23.92 kB / 0.492 GB, free: 9.691 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.298e-05/0.1201, allocations: 71.64 kB / 0.4921 GB, free: 9.621 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005141/0.1206, allocations: 331 kB / 0.4924 GB, free: 9.297 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.1207, allocations: 4 kB / 0.4924 GB, free: 9.293 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1207, allocations: 0 / 0.4924 GB, free: 9.293 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.149e-06/0.1207, allocations: 0 / 0.4924 GB, free: 9.293 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.002416/0.1231, allocations: 0.6572 MB / 0.493 GB, free: 8.602 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.029e-05/0.1231, allocations: 12.02 kB / 0.493 GB, free: 8.59 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.857e-05/0.1232, allocations: 42.75 kB / 0.4931 GB, free: 8.539 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.686e-05/0.1233, allocations: 24.8 kB / 0.4931 GB, free: 8.516 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003458/0.1236, allocations: 162.3 kB / 0.4932 GB, free: 8.332 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.15e-05/0.1236, allocations: 16.61 kB / 0.4933 GB, free: 8.316 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.93e-05/0.1237, allocations: 16.38 kB / 0.4933 GB, free: 8.301 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00052/0.1242, allocations: 312.5 kB / 0.4936 GB, free: 7.961 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.1242, allocations: 7.875 kB / 0.4936 GB, free: 7.953 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.578e-05/0.1242, allocations: 8 kB / 0.4936 GB, free: 7.945 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.832e-06/0.1242, allocations: 0 / 0.4936 GB, free: 7.945 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003036/0.1245, allocations: 163.9 kB / 0.4937 GB, free: 7.785 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001202/0.1257, allocations: 0.5424 MB / 0.4943 GB, free: 7.199 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005069/0.1262, allocations: 186.5 kB / 0.4945 GB, free: 7.008 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002078/0.1265, allocations: 84.84 kB / 0.4945 GB, free: 6.922 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.096e-05/0.1265, allocations: 0 / 0.4945 GB, free: 6.922 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.853e-05/0.1265, allocations: 38.56 kB / 0.4946 GB, free: 6.875 MB / 366.1 MB Notification: Performance of pre-optimization done (n=16): time 1.342e-06/0.1265, allocations: 0 / 0.4946 GB, free: 6.875 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.002048/0.1286, allocations: 0.5061 MB / 0.4951 GB, free: 6.359 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.177e-05/0.1287, allocations: 85.05 kB / 0.4951 GB, free: 6.258 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002208/0.1289, allocations: 178.2 kB / 0.4953 GB, free: 6.074 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.346e-05/0.1289, allocations: 37.64 kB / 0.4954 GB, free: 6.031 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/0.129, allocations: 112.4 kB / 0.4955 GB, free: 5.918 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.398e-05/0.1291, allocations: 55.53 kB / 0.4955 GB, free: 5.863 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.745e-05/0.1292, allocations: 49.69 kB / 0.4956 GB, free: 5.809 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.1293, allocations: 326.8 kB / 0.4959 GB, free: 5.48 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001769/0.1295, allocations: 107.9 kB / 0.496 GB, free: 5.375 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002099/0.1297, allocations: 152.2 kB / 0.4961 GB, free: 5.215 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003643/0.1301, allocations: 237.1 kB / 0.4963 GB, free: 4.98 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.1301, allocations: 0 / 0.4963 GB, free: 4.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001119/0.1312, allocations: 422.1 kB / 0.4967 GB, free: 4.559 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.1312, allocations: 4 kB / 0.4968 GB, free: 4.555 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.1312, allocations: 0 / 0.4968 GB, free: 4.555 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001218/0.1325, allocations: 200.6 kB / 0.4969 GB, free: 4.355 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001972/0.1327, allocations: 43.92 kB / 0.497 GB, free: 4.312 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00329/0.136, allocations: 1.852 MB / 0.4988 GB, free: 2.344 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002334/0.1362, allocations: 23.84 kB / 0.4988 GB, free: 2.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.601e-05/0.1362, allocations: 8 kB / 0.4988 GB, free: 2.312 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 (22): * Single equations (assignments): 21 * 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,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001535/0.1364, allocations: 133.8 kB / 0.499 GB, free: 2.172 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.246e-05/0.1364, allocations: 15.89 kB / 0.499 GB, free: 2.156 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001155/0.1376, allocations: 390.4 kB / 0.4993 GB, free: 1.77 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.645e-06/0.1376, allocations: 4 kB / 0.4993 GB, free: 1.766 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.1376, allocations: 3.938 kB / 0.4993 GB, free: 1.762 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.1376, allocations: 0 / 0.4993 GB, free: 1.762 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003139/0.1379, allocations: 232.5 kB / 0.4996 GB, free: 1.492 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.531e-06/0.1379, allocations: 4 kB / 0.4996 GB, free: 1.488 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000128/0.138, allocations: 27.98 kB / 0.4996 GB, free: 1.461 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001186/0.1392, allocations: 196.6 kB / 0.4998 GB, free: 1.266 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.028e-05/0.1392, allocations: 4 kB / 0.4998 GB, free: 1.262 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003581/0.1428, allocations: 1.823 MB / 0.5016 GB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.1428, allocations: 0 / 0.5016 GB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001655/0.1445, allocations: 455.9 kB / 0.502 GB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.342e-05/0.1445, allocations: 23.78 kB / 0.502 GB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.202e-05/0.1446, allocations: 4 kB / 0.502 GB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002073/0.1448, allocations: 15.92 kB / 0.502 GB, free: 14.81 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.278e-05/0.1448, allocations: 19.97 kB / 0.5021 GB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.797e-05/0.1448, allocations: 15.94 kB / 0.5021 GB, free: 14.78 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001605/0.145, allocations: 131.2 kB / 0.5022 GB, free: 14.65 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.145, allocations: 0 / 0.5022 GB, free: 14.65 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004038/0.1454, allocations: 67.94 kB / 0.5023 GB, free: 14.58 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 (15): * Single equations (assignments): 14 * 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,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001613/0.147, allocations: 0.9812 MB / 0.5032 GB, free: 13.57 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001099/0.1481, allocations: 398.4 kB / 0.5036 GB, free: 13.18 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.1481, allocations: 0 / 0.5036 GB, free: 13.18 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006526/0.1488, allocations: 270.5 kB / 0.5039 GB, free: 12.9 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000326/0.1491, allocations: 23.92 kB / 0.5039 GB, free: 12.88 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004397/0.1535, allocations: 2.509 MB / 0.5063 GB, free: 10.29 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001382/0.1536, allocations: 111.4 kB / 0.5064 GB, free: 10.16 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001039/0.1537, allocations: 21.48 kB / 0.5065 GB, free: 10.14 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.358e-05/0.1538, allocations: 43.42 kB / 0.5065 GB, free: 10.09 MB / 382.1 MB Notification: Performance of SimCode: time 9.41e-07/0.1538, allocations: 4 kB / 0.5065 GB, free: 10.09 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03925/0.1931, allocations: 6.704 MB / 0.5131 GB, free: 3.535 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.86/13.05, allocations: 11.8 kB / 0.5131 GB, free: 3.527 MB / 382.1 MB " [Timeout remaining time 647] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad_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_OneSourceOneTransfoOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.012290456332266] Failed to read output from testmodel.py, exit status != 0: 13.171266867313534 13.378344895 13.254600114 Calling exit ...