Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OneLoad.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.001855/0.001855, allocations: 110.9 kB / 17.17 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.001939/0.001939, allocations: 211.2 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.658/1.658, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.04029/0.04029, allocations: 6.132 MB / 315.7 MB, free: 1.121 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.Tests.OneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.OneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001596/0.001596, allocations: 49.38 kB / 439.2 MB, free: 40.82 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09079/0.09239, allocations: 54.98 MB / 494.2 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneLoad): time 0.001869/0.09426, allocations: 0.9979 MB / 495.2 MB, free: 9.523 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00106/0.09532, allocations: 1.127 MB / 496.3 MB, free: 8.383 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.225e-05/0.09537, allocations: 4 kB / 496.3 MB, free: 8.379 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002374/0.09561, allocations: 59.7 kB / 496.4 MB, free: 8.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001423/0.09575, allocations: 35.78 kB / 496.4 MB, free: 8.285 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004884/0.09624, allocations: 302.8 kB / 496.7 MB, free: 7.988 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.512e-05/0.09633, allocations: 71.72 kB / 496.8 MB, free: 7.918 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001512/0.09648, allocations: 28.2 kB / 496.8 MB, free: 7.891 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.889e-05/0.09652, allocations: 35.91 kB / 496.8 MB, free: 7.855 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001235/0.09665, allocations: 39.73 kB / 496.9 MB, free: 7.816 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.722e-05/0.09666, allocations: 8 kB / 496.9 MB, free: 7.809 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001365/0.0968, allocations: 87.88 kB / 497 MB, free: 7.723 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.683e-05/0.09682, allocations: 19.92 kB / 497 MB, free: 7.703 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.212e-05/0.09686, allocations: 35.81 kB / 497 MB, free: 7.668 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002064/0.09706, allocations: 139.5 kB / 497.2 MB, free: 7.531 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.09707, allocations: 4 kB / 497.2 MB, free: 7.527 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.09707, allocations: 0 / 497.2 MB, free: 7.527 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.07e-05/0.09708, allocations: 4 kB / 497.2 MB, free: 7.523 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006807/0.09776, allocations: 419 kB / 497.6 MB, free: 7.062 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.0978, allocations: 12.03 kB / 497.6 MB, free: 7.051 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.826e-05/0.09783, allocations: 34.75 kB / 497.6 MB, free: 7.008 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.156e-05/0.09786, allocations: 8.891 kB / 497.6 MB, free: 7 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001362/0.098, allocations: 184.2 kB / 497.8 MB, free: 6.781 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.09801, allocations: 4.375 kB / 497.8 MB, free: 6.777 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.6e-05/0.09803, allocations: 8.375 kB / 497.8 MB, free: 6.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001403/0.09817, allocations: 82.23 kB / 497.9 MB, free: 6.684 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.09818, allocations: 3.938 kB / 497.9 MB, free: 6.68 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.09819, allocations: 4 kB / 497.9 MB, free: 6.676 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.0982, allocations: 4 kB / 497.9 MB, free: 6.672 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.851e-05/0.09828, allocations: 51.97 kB / 498 MB, free: 6.621 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003945/0.09867, allocations: 364.5 kB / 498.3 MB, free: 6.215 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002631/0.09893, allocations: 74.56 kB / 498.4 MB, free: 6.133 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.511e-05/0.09897, allocations: 20.95 kB / 498.4 MB, free: 6.109 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.997e-05/0.09907, allocations: 85.11 kB / 498.5 MB, free: 6.008 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.412e-05/0.09908, allocations: 30.56 kB / 498.5 MB, free: 5.969 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.09908, allocations: 0 / 498.5 MB, free: 5.969 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004894/0.09957, allocations: 203.4 kB / 498.7 MB, free: 5.742 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.892e-05/0.09959, allocations: 51.41 kB / 498.8 MB, free: 5.68 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.972e-05/0.09968, allocations: 125.8 kB / 498.9 MB, free: 5.547 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.418e-06/0.09969, allocations: 25.7 kB / 498.9 MB, free: 5.516 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.314e-05/0.09972, allocations: 100.1 kB / 499 MB, free: 5.414 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.307e-05/0.09974, allocations: 23.78 kB / 499.1 MB, free: 5.391 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.031e-05/0.09977, allocations: 17.72 kB / 499.1 MB, free: 5.367 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.016e-05/0.09981, allocations: 318.8 kB / 499.4 MB, free: 5.047 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.422e-05/0.09983, allocations: 11.98 kB / 499.4 MB, free: 5.035 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.995e-05/0.09985, allocations: 12 kB / 499.4 MB, free: 5.023 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.698e-05/0.0999, allocations: 28.86 kB / 499.4 MB, free: 4.992 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.0999, allocations: 0 / 499.4 MB, free: 4.992 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001713/0.1001, allocations: 86.78 kB / 499.5 MB, free: 4.898 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.9e-05/0.1001, allocations: 4 kB / 499.5 MB, free: 4.895 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.1001, allocations: 0 / 499.5 MB, free: 4.895 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002163/0.1003, allocations: 32.89 kB / 499.6 MB, free: 4.859 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.46e-05/0.1004, allocations: 12 kB / 499.6 MB, free: 4.848 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007277/0.1011, allocations: 1.367 MB / 0.4892 GB, free: 3.332 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.575e-05/0.1011, allocations: 7.891 kB / 0.4892 GB, free: 3.324 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.1011, allocations: 4.031 kB / 0.4892 GB, free: 3.32 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 (4): * Single equations (assignments): 3 * 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 6.016e-05/0.1012, allocations: 118.5 kB / 0.4893 GB, free: 3.195 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.828e-05/0.1012, allocations: 0 / 0.4893 GB, free: 3.195 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002091/0.1014, allocations: 102.4 kB / 0.4894 GB, free: 3.086 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.1014, allocations: 3.938 kB / 0.4894 GB, free: 3.082 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.1014, allocations: 0 / 0.4894 GB, free: 3.082 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.1014, allocations: 3.984 kB / 0.4894 GB, free: 3.078 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001327/0.1016, allocations: 185.6 kB / 0.4896 GB, free: 2.848 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1016, allocations: 0 / 0.4896 GB, free: 2.848 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.959e-05/0.1016, allocations: 8 kB / 0.4896 GB, free: 2.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001338/0.1017, allocations: 36.77 kB / 0.4896 GB, free: 2.801 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.1017, allocations: 0 / 0.4896 GB, free: 2.801 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006743/0.1024, allocations: 1.391 MB / 0.491 GB, free: 1.273 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.1024, allocations: 0 / 0.491 GB, free: 1.273 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001889/0.1026, allocations: 184.3 kB / 0.4912 GB, free: 1.074 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.952e-05/0.1026, allocations: 85.16 kB / 0.4913 GB, free: 0.9727 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.025e-05/0.1026, allocations: 0 / 0.4913 GB, free: 0.9727 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.731e-05/0.1027, allocations: 11.98 kB / 0.4913 GB, free: 0.9609 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.626e-05/0.1028, allocations: 4 kB / 0.4913 GB, free: 0.957 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.081e-06/0.1028, allocations: 0 / 0.4913 GB, free: 0.957 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.595e-05/0.1028, allocations: 103.5 kB / 0.4914 GB, free: 0.8555 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1028, allocations: 0 / 0.4914 GB, free: 0.8555 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002714/0.1031, allocations: 20 kB / 0.4914 GB, free: 0.8359 MB / 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 (5): * Single equations (assignments): 4 * 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.0004274/0.1035, allocations: 0.7288 MB / 0.4921 GB, free: 76 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003882/0.1039, allocations: 150.7 kB / 0.4922 GB, free: 15.91 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.125e-06/0.1039, allocations: 0 / 0.4922 GB, free: 15.91 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002315/0.1041, allocations: 142.6 kB / 0.4924 GB, free: 15.76 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003605/0.1045, allocations: 15.94 kB / 0.4924 GB, free: 15.75 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001747/0.1063, allocations: 1.417 MB / 0.4938 GB, free: 14.24 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003338/0.1066, allocations: 0.6885 MB / 0.4945 GB, free: 13.53 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.593e-05/0.1066, allocations: 10.94 kB / 0.4945 GB, free: 13.52 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.726e-05/0.1067, allocations: 19.44 kB / 0.4945 GB, free: 13.5 MB / 366.1 MB Notification: Performance of SimCode: time 6.71e-07/0.1067, allocations: 3.938 kB / 0.4945 GB, free: 13.5 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02836/0.135, allocations: 2.493 MB / 0.4969 GB, free: 11.09 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.16/10.29, allocations: 15.97 kB / 0.4969 GB, free: 11.07 MB / 366.1 MB " [Timeout remaining time 650] (rm -f PowerSysPro_PowerSysPro.Tests.OneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OneLoad.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Tests.OneLoad_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_Tests_OneLoad.fmu > PowerSysPro_PowerSysPro.Tests.OneLoad.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.249805572006153] Failed to read output from testmodel.py, exit status != 0: 10.376284206999117 10.40235346 10.300521431 Calling exit ...