Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OneLine.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.001328/0.001328, allocations: 109 kB / 17.16 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.001448/0.001448, allocations: 213.1 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.52/1.52, 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.03912/0.03912, allocations: 6.135 MB / 315.7 MB, free: 1.168 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.OneLine,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.OneLine,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneLine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001608/0.001608, allocations: 48.41 kB / 439.2 MB, free: 40.77 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08739/0.089, allocations: 54.98 MB / 494.2 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneLine): time 0.002115/0.09112, allocations: 1.27 MB / 495.5 MB, free: 9.242 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001151/0.09227, allocations: 1.283 MB / 496.8 MB, free: 7.945 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.378e-05/0.09233, allocations: 4 kB / 496.8 MB, free: 7.941 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002884/0.09262, allocations: 103.5 kB / 496.9 MB, free: 7.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001596/0.09278, allocations: 55.62 kB / 496.9 MB, free: 7.785 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008228/0.0936, allocations: 0.5913 MB / 497.5 MB, free: 7.191 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002074/0.09381, allocations: 135.4 kB / 497.6 MB, free: 7.059 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000141/0.09395, allocations: 45.75 kB / 497.7 MB, free: 7.008 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.896e-05/0.094, allocations: 55.78 kB / 497.7 MB, free: 6.953 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.157e-05/0.09408, allocations: 67.7 kB / 497.8 MB, free: 6.887 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.044e-05/0.0941, allocations: 15.98 kB / 497.8 MB, free: 6.871 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00022/0.09432, allocations: 135.9 kB / 497.9 MB, free: 6.738 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.926e-05/0.09434, allocations: 23.92 kB / 498 MB, free: 6.715 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.978e-05/0.09439, allocations: 83.59 kB / 498.1 MB, free: 6.633 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002961/0.09469, allocations: 251.1 kB / 498.3 MB, free: 6.387 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.09469, allocations: 0 / 498.3 MB, free: 6.387 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.09469, allocations: 0 / 498.3 MB, free: 6.387 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.0947, allocations: 0 / 498.3 MB, free: 6.387 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.001162/0.09586, allocations: 0.5649 MB / 498.9 MB, free: 5.77 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.0959, allocations: 8.031 kB / 498.9 MB, free: 5.762 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.449e-05/0.09594, allocations: 46.73 kB / 498.9 MB, free: 5.707 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.915e-05/0.09598, allocations: 16.84 kB / 498.9 MB, free: 5.691 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001415/0.09612, allocations: 208.1 kB / 499.1 MB, free: 5.449 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.09614, allocations: 8.375 kB / 499.1 MB, free: 5.441 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.285e-05/0.09616, allocations: 16.38 kB / 499.2 MB, free: 5.426 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002382/0.0964, allocations: 162.1 kB / 499.3 MB, free: 5.262 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.938e-06/0.09641, allocations: 3.938 kB / 499.3 MB, free: 5.258 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.731e-05/0.09643, allocations: 7.984 kB / 499.3 MB, free: 5.25 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.09643, allocations: 4 kB / 499.3 MB, free: 5.246 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001579/0.09659, allocations: 108 kB / 499.4 MB, free: 5.141 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000614/0.0972, allocations: 0.512 MB / 500 MB, free: 4.578 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008133/0.09802, allocations: 146.5 kB / 0.4884 GB, free: 4.426 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.463e-05/0.09808, allocations: 40.78 kB / 0.4884 GB, free: 4.383 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001036/0.09819, allocations: 89.03 kB / 0.4885 GB, free: 4.277 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.419e-05/0.0982, allocations: 34.56 kB / 0.4885 GB, free: 4.234 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.183e-06/0.0982, allocations: 0 / 0.4885 GB, free: 4.234 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001095/0.0993, allocations: 351.8 kB / 0.4889 GB, free: 3.863 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.273e-05/0.09932, allocations: 55.34 kB / 0.4889 GB, free: 3.797 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.705e-05/0.0994, allocations: 133.2 kB / 0.489 GB, free: 3.66 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.372e-05/0.09941, allocations: 25.8 kB / 0.4891 GB, free: 3.629 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.175e-05/0.09945, allocations: 136.1 kB / 0.4892 GB, free: 3.492 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.9e-05/0.09947, allocations: 31.69 kB / 0.4892 GB, free: 3.461 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.754e-05/0.09952, allocations: 29.7 kB / 0.4893 GB, free: 3.426 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.994e-05/0.09957, allocations: 322.8 kB / 0.4896 GB, free: 3.102 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.499e-05/0.09966, allocations: 36 kB / 0.4896 GB, free: 3.066 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001116/0.09977, allocations: 57.69 kB / 0.4897 GB, free: 3.004 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001629/0.09994, allocations: 105.7 kB / 0.4898 GB, free: 2.895 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.09994, allocations: 0 / 0.4898 GB, free: 2.895 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004513/0.1004, allocations: 214.2 kB / 0.49 GB, free: 2.676 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.1004, allocations: 6.031 kB / 0.49 GB, free: 2.672 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.1004, allocations: 0 / 0.49 GB, free: 2.672 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000427/0.1008, allocations: 76.77 kB / 0.49 GB, free: 2.594 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.98e-05/0.1009, allocations: 19.98 kB / 0.4901 GB, free: 2.574 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001363/0.1023, allocations: 1.641 MB / 0.4917 GB, free: 0.7852 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.571e-05/0.1023, allocations: 15.92 kB / 0.4917 GB, free: 0.7695 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.261e-05/0.1024, allocations: 4 kB / 0.4917 GB, free: 0.7656 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (10): * Single equations (assignments): 9 * 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 {(2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.359e-05/0.1024, allocations: 126.4 kB / 0.4918 GB, free: 0.6328 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.357e-05/0.1025, allocations: 7.953 kB / 0.4918 GB, free: 0.625 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004762/0.103, allocations: 206.6 kB / 0.492 GB, free: 428 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.103, allocations: 0 / 0.492 GB, free: 428 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.103, allocations: 0 / 0.492 GB, free: 428 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.103, allocations: 0 / 0.492 GB, free: 428 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001718/0.1031, allocations: 233.4 kB / 0.4922 GB, free: 144 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.1031, allocations: 8 kB / 0.4922 GB, free: 136 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.325e-05/0.1032, allocations: 15.98 kB / 0.4922 GB, free: 120 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003296/0.1035, allocations: 76.77 kB / 0.4923 GB, free: 40 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.1035, allocations: 0 / 0.4923 GB, free: 40 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001852/0.1054, allocations: 1.645 MB / 0.4939 GB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1054, allocations: 0 / 0.4939 GB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005553/0.1059, allocations: 276.3 kB / 0.4942 GB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.433e-05/0.106, allocations: 89.12 kB / 0.4943 GB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.756e-05/0.106, allocations: 4 kB / 0.4943 GB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.1061, allocations: 0 / 0.4943 GB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.054e-05/0.1061, allocations: 11.92 kB / 0.4943 GB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.312e-05/0.1062, allocations: 11.94 kB / 0.4943 GB, free: 13.83 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.303e-05/0.1062, allocations: 99.2 kB / 0.4944 GB, free: 13.73 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1062, allocations: 0 / 0.4944 GB, free: 13.73 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003255/0.1066, allocations: 47.89 kB / 0.4944 GB, free: 13.68 MB / 366.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 (8): * Single equations (assignments): 7 * 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 {(2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001021/0.1076, allocations: 0.8263 MB / 0.4953 GB, free: 12.83 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000755/0.1083, allocations: 254.4 kB / 0.4955 GB, free: 12.57 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.1083, allocations: 64 / 0.4955 GB, free: 12.57 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004386/0.1088, allocations: 206.6 kB / 0.4957 GB, free: 12.35 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002455/0.109, allocations: 4 kB / 0.4957 GB, free: 12.35 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002721/0.1117, allocations: 1.774 MB / 0.4974 GB, free: 10.49 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005112/0.1122, allocations: 0.708 MB / 0.4981 GB, free: 9.754 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.988e-05/0.1123, allocations: 12.69 kB / 0.4981 GB, free: 9.742 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.545e-05/0.1124, allocations: 35.42 kB / 0.4982 GB, free: 9.707 MB / 366.1 MB Notification: Performance of SimCode: time 7.52e-07/0.1124, allocations: 0 / 0.4982 GB, free: 9.707 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03679/0.1492, allocations: 3.568 MB / 0.5016 GB, free: 6.215 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.07/10.22, allocations: 26.64 kB / 0.5017 GB, free: 6.191 MB / 366.1 MB " [Timeout remaining time 650] (rm -f PowerSysPro_PowerSysPro.Tests.OneLine.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OneLine.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OneLine.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OneLine.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Tests.OneLine_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_OneLine.fmu > PowerSysPro_PowerSysPro.Tests.OneLine.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.008118173005641] Failed to read output from testmodel.py, exit status != 0: 10.303504443989368 10.318993166 10.221413802 Calling exit ...