Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OnePerfectLine.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.001793/0.001793, 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.002216/0.002216, 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.656/1.656, 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.03886/0.03886, allocations: 6.128 MB / 315.7 MB, free: 1.176 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.OnePerfectLine,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OnePerfectLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.OnePerfectLine,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OnePerfectLine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002471/0.002471, allocations: 50.34 kB / 439.2 MB, free: 40.88 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09125/0.09372, allocations: 54.99 MB / 494.2 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OnePerfectLine): time 0.002297/0.09601, allocations: 1.266 MB / 495.5 MB, free: 9.352 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001356/0.09737, allocations: 1.279 MB / 496.8 MB, free: 8.059 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.177e-05/0.09745, allocations: 4 kB / 496.8 MB, free: 8.055 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003317/0.09778, allocations: 99.48 kB / 496.9 MB, free: 7.957 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001917/0.09797, allocations: 67.61 kB / 496.9 MB, free: 7.891 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008495/0.09882, allocations: 0.5873 MB / 497.5 MB, free: 7.301 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002137/0.09904, allocations: 127.4 kB / 497.6 MB, free: 7.176 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001674/0.09921, allocations: 53.72 kB / 497.7 MB, free: 7.117 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.636e-05/0.09928, allocations: 55.8 kB / 497.7 MB, free: 7.062 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001023/0.09938, allocations: 63.7 kB / 497.8 MB, free: 7 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.086e-05/0.0994, allocations: 12 kB / 497.8 MB, free: 6.988 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002657/0.09967, allocations: 147.9 kB / 498 MB, free: 6.844 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.027e-05/0.09969, allocations: 31.92 kB / 498 MB, free: 6.812 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.898e-05/0.09974, allocations: 67.61 kB / 498.1 MB, free: 6.746 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002778/0.1, allocations: 255.1 kB / 498.3 MB, free: 6.496 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1, allocations: 0 / 498.3 MB, free: 6.496 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1, allocations: 0 / 498.3 MB, free: 6.496 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.1, allocations: 0 / 498.3 MB, free: 6.496 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.001149/0.1012, allocations: 0.5571 MB / 498.9 MB, free: 5.891 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.1012, allocations: 8.031 kB / 498.9 MB, free: 5.883 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.522e-05/0.1013, allocations: 46.73 kB / 498.9 MB, free: 5.828 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.945e-05/0.1013, allocations: 16.84 kB / 498.9 MB, free: 5.812 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001403/0.1014, allocations: 212.2 kB / 499.1 MB, free: 5.566 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.1014, allocations: 8.375 kB / 499.1 MB, free: 5.559 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.988e-05/0.1015, allocations: 12.38 kB / 499.2 MB, free: 5.547 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002259/0.1017, allocations: 169.9 kB / 499.3 MB, free: 5.375 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-06/0.1017, allocations: 0 / 499.3 MB, free: 5.375 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.739e-05/0.1017, allocations: 7.938 kB / 499.3 MB, free: 5.367 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.1017, allocations: 4 kB / 499.3 MB, free: 5.363 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000153/0.1019, allocations: 112 kB / 499.4 MB, free: 5.254 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006184/0.1025, allocations: 0.512 MB / 500 MB, free: 4.691 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008338/0.1033, allocations: 146.4 kB / 0.4884 GB, free: 4.539 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.48e-05/0.1034, allocations: 36.86 kB / 0.4884 GB, free: 4.5 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000103/0.1035, allocations: 93.02 kB / 0.4885 GB, free: 4.391 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.998e-05/0.1035, allocations: 34.55 kB / 0.4885 GB, free: 4.348 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.733e-06/0.1035, allocations: 4 kB / 0.4885 GB, free: 4.344 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001074/0.1046, allocations: 347.5 kB / 0.4889 GB, free: 3.977 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.937e-05/0.1046, allocations: 63.33 kB / 0.4889 GB, free: 3.902 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.9e-05/0.1047, allocations: 125.1 kB / 0.489 GB, free: 3.773 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.368e-05/0.1047, allocations: 29.7 kB / 0.4891 GB, free: 3.738 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.655e-05/0.1047, allocations: 128.2 kB / 0.4892 GB, free: 3.609 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.02e-05/0.1048, allocations: 35.67 kB / 0.4892 GB, free: 3.574 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.76e-05/0.1048, allocations: 29.72 kB / 0.4893 GB, free: 3.539 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.786e-05/0.1048, allocations: 322.8 kB / 0.4896 GB, free: 3.215 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.585e-05/0.1049, allocations: 39.98 kB / 0.4896 GB, free: 3.176 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.091e-05/0.105, allocations: 57.7 kB / 0.4897 GB, free: 3.113 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001348/0.1051, allocations: 105.6 kB / 0.4898 GB, free: 3.004 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1051, allocations: 0 / 0.4898 GB, free: 3.004 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004457/0.1056, allocations: 210.2 kB / 0.49 GB, free: 2.789 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.1056, allocations: 8 kB / 0.49 GB, free: 2.781 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.1056, allocations: 0 / 0.49 GB, free: 2.781 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004139/0.106, allocations: 80.8 kB / 0.49 GB, free: 2.699 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.861e-05/0.1061, allocations: 12 kB / 0.4901 GB, free: 2.688 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001332/0.1074, allocations: 1.637 MB / 0.4917 GB, free: 0.9023 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.914e-05/0.1075, allocations: 11.89 kB / 0.4917 GB, free: 0.8906 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.406e-05/0.1075, allocations: 8.031 kB / 0.4917 GB, free: 0.8828 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 7.915e-05/0.1076, allocations: 136.2 kB / 0.4918 GB, free: 0.7422 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.388e-05/0.1076, allocations: 7.953 kB / 0.4918 GB, free: 0.7344 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004837/0.1081, allocations: 207.2 kB / 0.492 GB, free: 0.5273 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.1081, allocations: 4 kB / 0.492 GB, free: 0.5234 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.1081, allocations: 0 / 0.492 GB, free: 0.5234 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.1081, allocations: 3.984 kB / 0.492 GB, free: 0.5195 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001661/0.1083, allocations: 241.3 kB / 0.4923 GB, free: 240 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1083, allocations: 0 / 0.4923 GB, free: 240 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.444e-05/0.1083, allocations: 8 kB / 0.4923 GB, free: 232 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003432/0.1086, allocations: 76.77 kB / 0.4923 GB, free: 152 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.1087, allocations: 0 / 0.4923 GB, free: 152 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001747/0.1104, allocations: 1.637 MB / 0.4939 GB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1104, allocations: 0 / 0.4939 GB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005527/0.111, allocations: 280.2 kB / 0.4942 GB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.435e-05/0.111, allocations: 85.06 kB / 0.4943 GB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.359e-05/0.111, allocations: 0 / 0.4943 GB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.1111, allocations: 7.984 kB / 0.4943 GB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.935e-05/0.1112, allocations: 12.08 kB / 0.4943 GB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.143e-05/0.1112, allocations: 3.984 kB / 0.4943 GB, free: 13.95 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.626e-05/0.1112, allocations: 111.1 kB / 0.4944 GB, free: 13.84 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1112, allocations: 0 / 0.4944 GB, free: 13.84 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003287/0.1116, allocations: 47.95 kB / 0.4945 GB, free: 13.79 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.0009036/0.1125, allocations: 0.8185 MB / 0.4953 GB, free: 12.95 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006867/0.1132, allocations: 250.5 kB / 0.4955 GB, free: 12.69 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1132, allocations: 0 / 0.4955 GB, free: 12.69 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004246/0.1136, allocations: 206.5 kB / 0.4957 GB, free: 12.47 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000236/0.1138, allocations: 8 kB / 0.4957 GB, free: 12.46 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002501/0.1163, allocations: 1.771 MB / 0.4974 GB, free: 10.61 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000429/0.1168, allocations: 0.7119 MB / 0.4981 GB, free: 9.867 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.627e-05/0.1168, allocations: 8.672 kB / 0.4981 GB, free: 9.859 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.468e-05/0.1169, allocations: 39.42 kB / 0.4982 GB, free: 9.82 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1169, allocations: 0 / 0.4982 GB, free: 9.82 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02968/0.1465, allocations: 3.572 MB / 0.5017 GB, free: 6.328 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.05/10.19, allocations: 11.92 kB / 0.5017 GB, free: 6.316 MB / 366.1 MB " [Timeout remaining time 650] (rm -f PowerSysPro_PowerSysPro.Tests.OnePerfectLine.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OnePerfectLine.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OnePerfectLine.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OnePerfectLine.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Tests.OnePerfectLine_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_OnePerfectLine.fmu > PowerSysPro_PowerSysPro.Tests.OnePerfectLine.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.26657306299603] Failed to read output from testmodel.py, exit status != 0: 10.278002257997287 10.303036206 10.198450284 Calling exit ...