Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.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.001274/0.001274, allocations: 76.55 kB / 19.96 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.001195/0.001195, allocations: 177.9 kB / 23.25 MB, free: 1.312 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.9262/0.9262, allocations: 177.1 MB / 203.6 MB, free: 5.719 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.02696/0.02696, allocations: 4.471 MB / 264.5 MB, free: 8.746 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.ExampleWithFMUs.MVLVNetworkWithBuses,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVLVNetworkWithBuses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVLVNetworkWithBuses",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 389.6 MB, free: 7.387 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.095e-05/2.295e-05, allocations: 2.281 kB / 389.6 MB, free: 7.383 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses): time 0.003016/0.003039, allocations: 3.193 MB / 392.8 MB, free: 4.184 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002632/0.005671, allocations: 1.796 MB / 394.6 MB, free: 2.371 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003336/0.006005, allocations: 8 kB / 394.6 MB, free: 2.363 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004672/0.006472, allocations: 222.4 kB / 394.8 MB, free: 2.145 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006861/0.007158, allocations: 337.6 kB / 395.2 MB, free: 1.812 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001345/0.008503, allocations: 1.201 MB / 396.4 MB, free: 0.6094 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007627/0.009266, allocations: 0.7109 MB / 397.1 MB, free: 15.89 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002525/0.009518, allocations: 165.9 kB / 397.2 MB, free: 15.73 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003547/0.009873, allocations: 419.1 kB / 397.6 MB, free: 15.32 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000295/0.01017, allocations: 279.2 kB / 397.9 MB, free: 15.05 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 6.104e-05/0.01023, allocations: 60 kB / 398 MB, free: 14.99 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005201/0.01075, allocations: 287.5 kB / 398.3 MB, free: 14.71 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 8.688e-05/0.01084, allocations: 151.4 kB / 398.4 MB, free: 14.56 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001547/0.01099, allocations: 227.4 kB / 398.6 MB, free: 14.34 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007367/0.01173, allocations: 0.8996 MB / 399.5 MB, free: 13.44 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.01173, allocations: 0 / 399.5 MB, free: 13.44 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.01173, allocations: 0 / 399.5 MB, free: 13.44 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.01174, allocations: 4 kB / 399.5 MB, free: 13.43 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.003685/0.01542, allocations: 1.858 MB / 401.4 MB, free: 11.54 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.01547, allocations: 12.03 kB / 401.4 MB, free: 11.53 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005286/0.016, allocations: 90.7 kB / 401.5 MB, free: 11.43 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001137/0.01611, allocations: 76.47 kB / 401.6 MB, free: 11.36 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004204/0.01653, allocations: 375.7 kB / 401.9 MB, free: 10.96 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.478e-05/0.01656, allocations: 45.38 kB / 402 MB, free: 10.92 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.276e-05/0.01662, allocations: 60.31 kB / 402 MB, free: 10.86 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009074/0.01753, allocations: 1.128 MB / 403.2 MB, free: 9.629 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.01754, allocations: 192 / 403.2 MB, free: 9.629 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.446e-05/0.01758, allocations: 28.38 kB / 403.2 MB, free: 9.602 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.271e-05/0.01759, allocations: 20.12 kB / 403.2 MB, free: 9.582 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007138/0.01831, allocations: 0.699 MB / 403.9 MB, free: 8.883 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002286/0.02059, allocations: 1.759 MB / 405.7 MB, free: 7.074 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009632/0.02156, allocations: 0.7657 MB / 406.4 MB, free: 6.305 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000453/0.02201, allocations: 406.7 kB / 406.8 MB, free: 5.906 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.403e-05/0.02209, allocations: 12.66 kB / 406.8 MB, free: 5.895 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.818e-05/0.02213, allocations: 43.22 kB / 406.9 MB, free: 5.844 MB / 330.7 MB Notification: Performance of pre-optimization done (n=73): time 2.644e-06/0.02214, allocations: 4 kB / 406.9 MB, free: 5.84 MB / 330.7 MB Notification: Performance of matching and sorting (n=73): time 0.00732/0.02946, allocations: 3.354 MB / 410.2 MB, free: 2.473 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.687e-05/0.02951, allocations: 111.5 kB / 410.4 MB, free: 2.34 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003688/0.02988, allocations: 377.5 kB / 410.7 MB, free: 1.965 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.367e-05/0.02995, allocations: 49.7 kB / 410.8 MB, free: 1.91 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001197/0.03007, allocations: 225.5 kB / 411 MB, free: 1.688 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001537/0.03023, allocations: 253.8 kB / 411.2 MB, free: 1.438 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001745/0.0304, allocations: 154.6 kB / 411.4 MB, free: 1.277 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.03052, allocations: 366.7 kB / 411.7 MB, free: 0.9102 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004662/0.03098, allocations: 453.8 kB / 412.2 MB, free: 480 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1752/0.2062, allocations: 0.5622 MB / 412.8 MB, free: 33.3 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00117/0.2074, allocations: 0.9985 MB / 413.7 MB, free: 33.14 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.2074, allocations: 0 / 413.7 MB, free: 33.14 MB / 330.7 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.00322/0.2106, allocations: 1.942 MB / 415.7 MB, free: 32.45 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.841e-05/0.2106, allocations: 5.844 kB / 415.7 MB, free: 32.45 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.2106, allocations: 0 / 415.7 MB, free: 32.45 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003209/0.2139, allocations: 1.447 MB / 417.1 MB, free: 32.27 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003822/0.2142, allocations: 131.6 kB / 417.3 MB, free: 32.26 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007562/0.2218, allocations: 5.711 MB / 423 MB, free: 28.86 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004954/0.2223, allocations: 77.98 kB / 423.1 MB, free: 28.82 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.418e-05/0.2224, allocations: 31.22 kB / 423.1 MB, free: 28.82 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 (75): * Single equations (assignments): 74 * 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 {(16,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0002532/0.2226, allocations: 194.8 kB / 423.3 MB, free: 28.64 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.997e-05/0.2227, allocations: 59.38 kB / 423.3 MB, free: 28.61 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003349/0.2261, allocations: 1.878 MB / 425.2 MB, free: 27.89 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.25e-05/0.2261, allocations: 9.156 kB / 425.2 MB, free: 27.89 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.2261, allocations: 0 / 425.2 MB, free: 27.89 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.436e-05/0.2261, allocations: 9.438 kB / 425.2 MB, free: 27.89 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003702/0.2298, allocations: 2.527 MB / 427.8 MB, free: 26.77 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.798e-06/0.2298, allocations: 0 / 427.8 MB, free: 26.77 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001852/0.23, allocations: 98.67 kB / 427.9 MB, free: 26.75 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002839/0.2328, allocations: 1.284 MB / 429.1 MB, free: 26.55 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.748e-05/0.2329, allocations: 16.44 kB / 429.2 MB, free: 26.54 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006406/0.2393, allocations: 5.628 MB / 434.8 MB, free: 23.1 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.2393, allocations: 0 / 434.8 MB, free: 23.1 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002489/0.2418, allocations: 1.868 MB / 436.7 MB, free: 21.95 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.961e-05/0.2418, allocations: 75.62 kB / 436.7 MB, free: 21.88 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.895e-05/0.2419, allocations: 12 kB / 436.7 MB, free: 21.87 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002529/0.2421, allocations: 47.72 kB / 436.8 MB, free: 21.82 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/0.2422, allocations: 60.88 kB / 436.8 MB, free: 21.77 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.411e-05/0.2423, allocations: 30.05 kB / 436.9 MB, free: 21.74 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001865/0.2424, allocations: 259.2 kB / 437.1 MB, free: 21.48 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2424, allocations: 4 kB / 437.1 MB, free: 21.48 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007785/0.2432, allocations: 291.8 kB / 437.4 MB, free: 21.2 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 (55): * Single equations (assignments): 54 * 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 {(16,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00274/0.246, allocations: 2.438 MB / 439.9 MB, free: 18.73 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002335/0.2483, allocations: 1.542 MB / 441.4 MB, free: 17.18 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.2483, allocations: 0 / 441.4 MB, free: 17.18 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001364/0.2497, allocations: 1.031 MB / 442.4 MB, free: 16.15 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004135/0.2501, allocations: 67.48 kB / 442.5 MB, free: 16.08 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008713/0.2588, allocations: 7.691 MB / 450.2 MB, free: 8.309 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002154/0.259, allocations: 294 kB / 450.5 MB, free: 7.992 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002292/0.2592, allocations: 75.73 kB / 450.5 MB, free: 7.922 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00019/0.2594, allocations: 216.4 kB / 450.8 MB, free: 7.711 MB / 330.7 MB Notification: Performance of SimCode: time 2.224e-06/0.2594, allocations: 0 / 450.8 MB, free: 7.711 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03766/0.2971, allocations: 23.86 MB / 474.6 MB, free: 96 kB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.163/8.46, allocations: 11.14 kB / 474.6 MB, free: 92 kB / 346.7 MB " [Timeout remaining time 651] (rm -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses_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_MVLVNetworkWithBuses.fmu > PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.391124696470797] Failed to read output from testmodel.py, exit status != 0: 8.55817373842001 8.567240731 8.55366037 Calling exit ...