Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.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.001974/0.001974, allocations: 111.7 kB / 19.74 MB, free: 2.164 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.002257/0.002257, allocations: 220 kB / 23.05 MB, free: 5.004 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.588/1.588, allocations: 230.6 MB / 256.8 MB, free: 8.02 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.04085/0.04085, allocations: 6.128 MB / 319.4 MB, free: 12.97 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.ExampleWithFMUs.LVPartOfMVLVNetwork,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_LVPartOfMVLVNetwork",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_LVPartOfMVLVNetwork",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001548/0.001548, allocations: 51.86 kB / 444.5 MB, free: 5.375 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1043, allocations: 55.02 MB / 499.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork): time 0.00376/0.1081, allocations: 2.421 MB / 0.4902 GB, free: 11.84 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002308/0.1104, allocations: 1.536 MB / 0.4917 GB, free: 10.29 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001236/0.1105, allocations: 4 kB / 0.4917 GB, free: 10.28 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004167/0.1109, allocations: 163 kB / 0.4919 GB, free: 10.12 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004096/0.1114, allocations: 178.8 kB / 0.492 GB, free: 9.945 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001837/0.1132, allocations: 0.9378 MB / 0.4929 GB, free: 9.004 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005899/0.1138, allocations: 422 kB / 0.4933 GB, free: 8.59 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002152/0.114, allocations: 96.69 kB / 0.4934 GB, free: 8.492 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001941/0.1142, allocations: 171.4 kB / 0.4936 GB, free: 8.324 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003527/0.1145, allocations: 223.1 kB / 0.4938 GB, free: 8.105 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.692e-05/0.1146, allocations: 32 kB / 0.4938 GB, free: 8.074 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004527/0.1151, allocations: 207.8 kB / 0.494 GB, free: 7.871 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.6e-05/0.1152, allocations: 83.69 kB / 0.4941 GB, free: 7.789 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002176/0.1154, allocations: 203 kB / 0.4943 GB, free: 7.59 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007763/0.1162, allocations: 0.537 MB / 0.4948 GB, free: 7.051 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1162, allocations: 0 / 0.4948 GB, free: 7.051 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1162, allocations: 0 / 0.4948 GB, free: 7.051 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.724e-06/0.1162, allocations: 0 / 0.4948 GB, free: 7.051 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.003771/0.1199, allocations: 1.07 MB / 0.4959 GB, free: 5.941 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.12, allocations: 12.03 kB / 0.4959 GB, free: 5.93 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000122/0.1201, allocations: 67.38 kB / 0.496 GB, free: 5.855 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001026/0.1202, allocations: 48.66 kB / 0.496 GB, free: 5.809 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004734/0.1207, allocations: 273.3 kB / 0.4963 GB, free: 5.52 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.942e-05/0.1207, allocations: 25.03 kB / 0.4963 GB, free: 5.496 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.558e-05/0.1208, allocations: 28.38 kB / 0.4963 GB, free: 5.469 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007628/0.1215, allocations: 426.6 kB / 0.4967 GB, free: 5.051 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.894e-05/0.1215, allocations: 11.88 kB / 0.4967 GB, free: 5.039 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.441e-05/0.1216, allocations: 12 kB / 0.4967 GB, free: 5.027 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/0.1216, allocations: 4 kB / 0.4967 GB, free: 5.023 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006845/0.1223, allocations: 410.5 kB / 0.4971 GB, free: 4.617 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002315/0.1246, allocations: 1.459 MB / 0.4986 GB, free: 3.039 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001141/0.1257, allocations: 455.1 kB / 0.499 GB, free: 2.586 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003616/0.1261, allocations: 212.8 kB / 0.4992 GB, free: 2.375 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.374e-05/0.1262, allocations: 15.97 kB / 0.4992 GB, free: 2.359 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.123e-05/0.1262, allocations: 38.56 kB / 0.4993 GB, free: 2.312 MB / 366.1 MB Notification: Performance of pre-optimization done (n=44): time 1.864e-06/0.1262, allocations: 3.938 kB / 0.4993 GB, free: 2.309 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.004607/0.1308, allocations: 1.265 MB / 0.5005 GB, free: 1.027 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.186e-05/0.1309, allocations: 55.41 kB / 0.5005 GB, free: 0.9609 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003436/0.1312, allocations: 265.7 kB / 0.5008 GB, free: 0.6914 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.623e-05/0.1313, allocations: 37.7 kB / 0.5008 GB, free: 0.6484 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001291/0.1314, allocations: 173 kB / 0.501 GB, free: 484 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001317/0.1315, allocations: 154.6 kB / 0.5011 GB, free: 328 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001511/0.1317, allocations: 82.19 kB / 0.5012 GB, free: 240 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001771/0.1319, allocations: 342.8 kB / 0.5016 GB, free: 15.89 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003639/0.1322, allocations: 220.9 kB / 0.5018 GB, free: 15.68 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003552/0.1326, allocations: 220.4 kB / 0.502 GB, free: 15.46 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007959/0.1334, allocations: 498.3 kB / 0.5025 GB, free: 14.97 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.1334, allocations: 4 kB / 0.5025 GB, free: 14.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002327/0.1357, allocations: 0.878 MB / 0.5033 GB, free: 14.07 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.282e-05/0.1357, allocations: 11.98 kB / 0.5033 GB, free: 14.06 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.1357, allocations: 0 / 0.5033 GB, free: 14.06 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001863/0.1376, allocations: 394 kB / 0.5037 GB, free: 13.67 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002733/0.1379, allocations: 71.89 kB / 0.5038 GB, free: 13.6 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007304/0.1452, allocations: 5.587 MB / 0.5092 GB, free: 7.676 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003658/0.1455, allocations: 43.66 kB / 0.5093 GB, free: 7.633 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.467e-05/0.1456, allocations: 19.94 kB / 0.5093 GB, free: 7.613 MB / 382.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 (41): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,4), (2,4), (2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002247/0.1458, allocations: 161.8 kB / 0.5094 GB, free: 7.445 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.033e-05/0.1459, allocations: 35.77 kB / 0.5095 GB, free: 7.41 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002404/0.1483, allocations: 0.896 MB / 0.5103 GB, free: 6.5 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.785e-06/0.1483, allocations: 8 kB / 0.5104 GB, free: 6.492 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.1483, allocations: 4 kB / 0.5104 GB, free: 6.488 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.1483, allocations: 3.984 kB / 0.5104 GB, free: 6.484 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006275/0.149, allocations: 0.4965 MB / 0.5108 GB, free: 5.945 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.149, allocations: 0 / 0.5108 GB, free: 5.945 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002004/0.1492, allocations: 55.92 kB / 0.5109 GB, free: 5.891 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001768/0.1509, allocations: 390.1 kB / 0.5113 GB, free: 5.5 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.725e-05/0.151, allocations: 11.98 kB / 0.5113 GB, free: 5.488 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2103/0.3612, allocations: 5.551 MB / 0.5167 GB, free: 28.75 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3612, allocations: 0 / 0.5167 GB, free: 28.75 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00203/0.3632, allocations: 0.9331 MB / 0.5176 GB, free: 28.59 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.549e-05/0.3633, allocations: 38.22 kB / 0.5177 GB, free: 28.59 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.669e-05/0.3634, allocations: 10.16 kB / 0.5177 GB, free: 28.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000319/0.3637, allocations: 30.86 kB / 0.5177 GB, free: 28.59 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001189/0.3638, allocations: 41.41 kB / 0.5177 GB, free: 28.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.253e-05/0.3638, allocations: 16.78 kB / 0.5177 GB, free: 28.59 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001801/0.364, allocations: 184.5 kB / 0.5179 GB, free: 28.52 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.364, allocations: 0 / 0.5179 GB, free: 28.52 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000573/0.3646, allocations: 167.8 kB / 0.5181 GB, free: 28.52 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 (36): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,4), (2,4), (2,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002577/0.3672, allocations: 1.802 MB / 0.5198 GB, free: 27.82 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001808/0.369, allocations: 0.9583 MB / 0.5208 GB, free: 27.48 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/0.369, allocations: 4.938 kB / 0.5208 GB, free: 27.48 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001205/0.3702, allocations: 0.7045 MB / 0.5215 GB, free: 27.13 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004424/0.3706, allocations: 48.81 kB / 0.5215 GB, free: 27.13 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007601/0.3782, allocations: 4.375 MB / 0.5258 GB, free: 25.66 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003376/0.3786, allocations: 0.7991 MB / 0.5266 GB, free: 24.95 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001806/0.3787, allocations: 49.03 kB / 0.5266 GB, free: 24.95 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001469/0.3789, allocations: 121 kB / 0.5267 GB, free: 24.94 MB / 382.1 MB Notification: Performance of SimCode: time 1.112e-06/0.3789, allocations: 0 / 0.5267 GB, free: 24.94 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04938/0.4283, allocations: 14.33 MB / 0.5407 GB, free: 20.69 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.12/13.54, allocations: 1.375 kB / 0.5407 GB, free: 20.69 MB / 382.1 MB " [Timeout remaining time 646] (rm -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork_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_ExampleWithFMUs_LVPartOfMVLVNetwork.fmu > PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.38867401299649] Failed to read output from testmodel.py, exit status != 0: 13.665479250004864 13.681367025 13.562203254 Calling exit ...