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.0008159/0.0008159, allocations: 80.53 kB / 19.97 MB, free: 4.598 MB / 18.57 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.0007947/0.0007947, allocations: 173.9 kB / 23.25 MB, free: 1.316 MB / 18.57 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 0.9273/0.9273, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.02352/0.02352, allocations: 4.468 MB / 264.5 MB, free: 8.762 MB / 250.7 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 1.603e-06/1.603e-06, allocations: 0 / 389.6 MB, free: 7.41 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.118e-05/1.278e-05, allocations: 2.281 kB / 389.6 MB, free: 7.406 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLoad): time 0.001588/0.001601, allocations: 1.161 MB / 390.8 MB, free: 6.25 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001687/0.003287, allocations: 1.485 MB / 392.2 MB, free: 4.75 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.606e-05/0.003373, allocations: 4 kB / 392.2 MB, free: 4.746 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003136/0.003687, allocations: 107.3 kB / 392.4 MB, free: 4.641 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002587/0.003946, allocations: 107.3 kB / 392.5 MB, free: 4.535 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000902/0.004848, allocations: 0.9332 MB / 393.4 MB, free: 3.602 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001998/0.005047, allocations: 159.1 kB / 393.5 MB, free: 3.445 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.005156, allocations: 33.78 kB / 393.6 MB, free: 3.406 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.721e-05/0.005233, allocations: 95.78 kB / 393.7 MB, free: 3.312 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001068/0.00534, allocations: 63.8 kB / 393.7 MB, free: 3.25 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.027e-05/0.00536, allocations: 12 kB / 393.7 MB, free: 3.238 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003702/0.00573, allocations: 223.5 kB / 394 MB, free: 3.02 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.23e-05/0.005773, allocations: 39.84 kB / 394 MB, free: 2.98 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 6.078e-05/0.005834, allocations: 55.84 kB / 394.1 MB, free: 2.926 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003707/0.006204, allocations: 359 kB / 394.4 MB, free: 2.574 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.006207, allocations: 4 kB / 394.4 MB, free: 2.57 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.12e-07/0.006208, allocations: 0 / 394.4 MB, free: 2.57 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.006212, allocations: 0 / 394.4 MB, free: 2.57 MB / 314.7 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.001264/0.007475, allocations: 0.6495 MB / 395.1 MB, free: 1.887 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.00751, allocations: 12.03 kB / 395.1 MB, free: 1.875 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.823e-05/0.007548, allocations: 46.73 kB / 395.1 MB, free: 1.82 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.952e-05/0.007587, allocations: 20.8 kB / 395.1 MB, free: 1.801 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001809/0.007768, allocations: 165.5 kB / 395.3 MB, free: 1.613 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.019e-05/0.007778, allocations: 8.609 kB / 395.3 MB, free: 1.605 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.792e-05/0.007796, allocations: 16.38 kB / 395.3 MB, free: 1.59 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002572/0.008054, allocations: 311.8 kB / 395.6 MB, free: 1.25 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.008061, allocations: 192 / 395.6 MB, free: 1.25 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/0.008076, allocations: 4.375 kB / 395.6 MB, free: 1.246 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.008083, allocations: 16.06 kB / 395.6 MB, free: 1.23 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001731/0.008256, allocations: 159.9 kB / 395.8 MB, free: 1.074 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000735/0.008991, allocations: 0.5424 MB / 396.3 MB, free: 500 kB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003164/0.009307, allocations: 190.5 kB / 396.5 MB, free: 300 kB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.136e-05/0.009398, allocations: 88.77 kB / 396.6 MB, free: 208 kB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.63e-05/0.009435, allocations: 4 kB / 396.6 MB, free: 204 kB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.211e-05/0.009457, allocations: 38.56 kB / 396.7 MB, free: 156 kB / 314.7 MB Notification: Performance of pre-optimization done (n=16): time 1.011e-06/0.009458, allocations: 0 / 396.7 MB, free: 156 kB / 314.7 MB Notification: Performance of matching and sorting (n=16): time 0.001065/0.01052, allocations: 0.5061 MB / 397.2 MB, free: 15.64 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.792e-05/0.01056, allocations: 81.11 kB / 397.2 MB, free: 15.54 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001326/0.01069, allocations: 182.8 kB / 397.4 MB, free: 15.35 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.924e-05/0.01071, allocations: 29.7 kB / 397.5 MB, free: 15.32 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.436e-05/0.01077, allocations: 120.4 kB / 397.6 MB, free: 15.2 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.754e-05/0.01079, allocations: 51.53 kB / 397.6 MB, free: 15.14 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.857e-05/0.01085, allocations: 53.69 kB / 397.7 MB, free: 15.09 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.364e-05/0.01093, allocations: 326.8 kB / 398 MB, free: 14.76 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001032/0.01103, allocations: 95.97 kB / 398.1 MB, free: 14.66 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001236/0.01115, allocations: 155.4 kB / 398.2 MB, free: 14.5 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002264/0.01138, allocations: 232.7 kB / 398.5 MB, free: 14.27 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.01138, allocations: 0 / 398.5 MB, free: 14.27 MB / 330.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005889/0.01197, allocations: 423.4 kB / 398.9 MB, free: 13.85 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.01198, allocations: 8 kB / 398.9 MB, free: 13.84 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.01199, allocations: 0 / 398.9 MB, free: 13.84 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005394/0.01253, allocations: 196.6 kB / 399.1 MB, free: 13.64 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/0.01264, allocations: 43.91 kB / 399.1 MB, free: 13.6 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001646/0.01428, allocations: 1.849 MB / 401 MB, free: 11.64 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.656e-05/0.01438, allocations: 27.88 kB / 401 MB, free: 11.61 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.262e-05/0.01439, allocations: 4 kB / 401 MB, free: 11.61 MB / 330.7 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 8.43e-05/0.01448, allocations: 126.1 kB / 401.1 MB, free: 11.48 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.626e-05/0.0145, allocations: 19.89 kB / 401.1 MB, free: 11.46 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006589/0.01516, allocations: 390.9 kB / 401.5 MB, free: 11.06 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.01516, allocations: 0 / 401.5 MB, free: 11.06 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.412e-06/0.01516, allocations: 4 kB / 401.5 MB, free: 11.06 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.01517, allocations: 4 kB / 401.5 MB, free: 11.05 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001887/0.01536, allocations: 232.5 kB / 401.8 MB, free: 10.79 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.01536, allocations: 0 / 401.8 MB, free: 10.79 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.407e-05/0.01542, allocations: 27.98 kB / 401.8 MB, free: 10.76 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004717/0.01589, allocations: 196.6 kB / 402 MB, free: 10.56 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.0159, allocations: 8 kB / 402 MB, free: 10.55 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001367/0.01727, allocations: 1.826 MB / 403.8 MB, free: 8.617 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.01727, allocations: 3.938 kB / 403.8 MB, free: 8.613 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005498/0.01782, allocations: 458 kB / 404.3 MB, free: 8.148 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.758e-05/0.01784, allocations: 19.84 kB / 404.3 MB, free: 8.129 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.436e-05/0.01785, allocations: 4 kB / 404.3 MB, free: 8.125 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.626e-05/0.01795, allocations: 19.92 kB / 404.3 MB, free: 8.105 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.316e-05/0.01798, allocations: 11.97 kB / 404.3 MB, free: 8.094 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.047e-05/0.01799, allocations: 8 kB / 404.3 MB, free: 8.086 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.281e-05/0.01807, allocations: 127.2 kB / 404.5 MB, free: 7.961 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01807, allocations: 0 / 404.5 MB, free: 7.961 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002399/0.01831, allocations: 67.95 kB / 404.5 MB, free: 7.895 MB / 330.7 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.0007618/0.01907, allocations: 0.9836 MB / 405.5 MB, free: 6.883 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005596/0.01963, allocations: 398.4 kB / 405.9 MB, free: 6.48 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.01963, allocations: 0 / 405.9 MB, free: 6.48 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000294/0.01992, allocations: 274.5 kB / 406.2 MB, free: 6.199 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002001/0.02012, allocations: 22.97 kB / 406.2 MB, free: 6.18 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002355/0.02248, allocations: 2.501 MB / 408.7 MB, free: 3.586 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.017e-05/0.02256, allocations: 119.5 kB / 408.8 MB, free: 3.449 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.8e-05/0.02262, allocations: 25.47 kB / 408.8 MB, free: 3.426 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.291e-05/0.02268, allocations: 48.48 kB / 408.9 MB, free: 3.379 MB / 330.7 MB Notification: Performance of SimCode: time 8.41e-07/0.02268, allocations: 0 / 408.9 MB, free: 3.379 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1432/0.1659, allocations: 6.848 MB / 415.7 MB, free: 33.11 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.718/7.884, allocations: 1.094 kB / 415.7 MB, free: 33.11 MB / 330.7 MB " [Timeout remaining time 652] (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: 9.724383379332721] Failed to read output from testmodel.py, exit status != 0: 7.975103329867125 7.987729176 7.978832971 Calling exit ...