Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.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.001336/0.001336, 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.001425/0.001425, 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.5/1.5, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.04035/0.04035, allocations: 6.132 MB / 315.7 MB, free: 1.242 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.Examples.TwoSourcesOneLineThreeSensors,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_TwoSourcesOneLineThreeSensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.TwoSourcesOneLineThreeSensors,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_TwoSourcesOneLineThreeSensors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001486, allocations: 51.58 kB / 439.2 MB, free: 40.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09047/0.09196, allocations: 54.98 MB / 494.2 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.TwoSourcesOneLineThreeSensors): time 0.00233/0.09429, allocations: 1.729 MB / 495.9 MB, free: 8.777 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001506/0.09579, allocations: 1.532 MB / 497.5 MB, free: 7.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.07e-05/0.09588, allocations: 8 kB / 497.5 MB, free: 7.223 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003001/0.09618, allocations: 123.3 kB / 497.6 MB, free: 7.102 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000202/0.09638, allocations: 99.31 kB / 497.7 MB, free: 7.004 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001226/0.0976, allocations: 0.9104 MB / 498.6 MB, free: 6.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002486/0.09785, allocations: 227 kB / 498.8 MB, free: 5.867 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000137/0.09799, allocations: 80.17 kB / 498.9 MB, free: 5.781 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.659e-05/0.09806, allocations: 99.58 kB / 499 MB, free: 5.684 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001416/0.0982, allocations: 131.5 kB / 499.1 MB, free: 5.555 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.653e-05/0.09822, allocations: 20 kB / 499.2 MB, free: 5.535 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002996/0.09852, allocations: 219.8 kB / 499.4 MB, free: 5.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.985e-05/0.09855, allocations: 55.77 kB / 499.4 MB, free: 5.266 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.987e-05/0.09862, allocations: 115.4 kB / 499.5 MB, free: 5.152 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000374/0.099, allocations: 414.5 kB / 499.9 MB, free: 4.746 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.099, allocations: 0 / 499.9 MB, free: 4.746 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.099, allocations: 0 / 499.9 MB, free: 4.746 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.229e-06/0.09901, allocations: 0 / 499.9 MB, free: 4.746 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.002005/0.101, allocations: 0.7639 MB / 0.489 GB, free: 3.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.101, allocations: 15.97 kB / 0.489 GB, free: 3.914 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.484e-05/0.1011, allocations: 62.73 kB / 0.489 GB, free: 3.844 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.275e-05/0.1012, allocations: 24.8 kB / 0.4891 GB, free: 3.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001936/0.1013, allocations: 248 kB / 0.4893 GB, free: 3.539 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.1014, allocations: 16.94 kB / 0.4893 GB, free: 3.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.696e-05/0.1014, allocations: 28.38 kB / 0.4894 GB, free: 3.492 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004066/0.1018, allocations: 293.4 kB / 0.4896 GB, free: 3.203 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.1018, allocations: 3.938 kB / 0.4896 GB, free: 3.199 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.911e-05/0.1018, allocations: 11.98 kB / 0.4896 GB, free: 3.188 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.1019, allocations: 7.938 kB / 0.4897 GB, free: 3.18 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003717/0.1022, allocations: 302.1 kB / 0.4899 GB, free: 2.887 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001251/0.1035, allocations: 0.8696 MB / 0.4908 GB, free: 1.965 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004807/0.104, allocations: 420.7 kB / 0.4912 GB, free: 1.508 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001543/0.1041, allocations: 114.8 kB / 0.4913 GB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000136/0.1042, allocations: 81.11 kB / 0.4914 GB, free: 1.297 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.813e-05/0.1043, allocations: 34.56 kB / 0.4914 GB, free: 1.254 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 1.703e-06/0.1043, allocations: 4 kB / 0.4914 GB, free: 1.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.001139/0.1054, allocations: 0.5042 MB / 0.4919 GB, free: 0.7188 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.1e-05/0.1054, allocations: 55.41 kB / 0.492 GB, free: 0.6523 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001219/0.1056, allocations: 163.6 kB / 0.4921 GB, free: 496 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.073e-05/0.1056, allocations: 33.7 kB / 0.4922 GB, free: 456 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.745e-05/0.1056, allocations: 148.7 kB / 0.4923 GB, free: 304 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.468e-05/0.1057, allocations: 91.2 kB / 0.4924 GB, free: 212 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.751e-05/0.1058, allocations: 65.64 kB / 0.4924 GB, free: 140 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.1059, allocations: 326.8 kB / 0.4928 GB, free: 15.81 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002187/0.1061, allocations: 120 kB / 0.4929 GB, free: 15.69 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002245/0.1064, allocations: 127.8 kB / 0.493 GB, free: 15.57 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004446/0.1068, allocations: 272.7 kB / 0.4933 GB, free: 15.3 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.1068, allocations: 7.938 kB / 0.4933 GB, free: 15.29 MB / 366.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007264/0.1075, allocations: 402.5 kB / 0.4936 GB, free: 14.89 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.1075, allocations: 4 kB / 0.4936 GB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.1076, allocations: 0 / 0.4936 GB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000287/0.1078, allocations: 56.81 kB / 0.4937 GB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003233/0.1082, allocations: 63.91 kB / 0.4938 GB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001637/0.1098, allocations: 1.547 MB / 0.4953 GB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001967/0.11, allocations: 23.81 kB / 0.4953 GB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.378e-05/0.11, allocations: 12 kB / 0.4953 GB, free: 13.04 MB / 366.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 (35): * Single equations (assignments): 34 * 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 0.0001911/0.1102, allocations: 145.4 kB / 0.4954 GB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.721e-05/0.1103, allocations: 19.89 kB / 0.4955 GB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007368/0.111, allocations: 339.6 kB / 0.4958 GB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.415e-06/0.111, allocations: 4 kB / 0.4958 GB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.111, allocations: 0 / 0.4958 GB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.111, allocations: 0 / 0.4958 GB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00107/0.1121, allocations: 0.7453 MB / 0.4965 GB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.1121, allocations: 0 / 0.4965 GB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002216/0.1123, allocations: 39.98 kB / 0.4966 GB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002175/0.1125, allocations: 48.81 kB / 0.4966 GB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.911e-05/0.1126, allocations: 11.94 kB / 0.4966 GB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001532/0.1141, allocations: 1.547 MB / 0.4981 GB, free: 9.934 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.1141, allocations: 0 / 0.4981 GB, free: 9.934 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006169/0.1147, allocations: 401 kB / 0.4985 GB, free: 9.523 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.686e-05/0.1148, allocations: 101 kB / 0.4986 GB, free: 9.406 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.729e-05/0.1148, allocations: 4 kB / 0.4986 GB, free: 9.402 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001507/0.115, allocations: 0 / 0.4986 GB, free: 9.402 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.148e-05/0.115, allocations: 19.97 kB / 0.4986 GB, free: 9.383 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-05/0.115, allocations: 8 kB / 0.4986 GB, free: 9.375 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000123/0.1151, allocations: 130.3 kB / 0.4988 GB, free: 9.25 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1151, allocations: 0 / 0.4988 GB, free: 9.25 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003957/0.1155, allocations: 79.89 kB / 0.4988 GB, free: 9.172 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 (25): * Single equations (assignments): 24 * 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.001074/0.1166, allocations: 0.9519 MB / 0.4998 GB, free: 8.188 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008197/0.1174, allocations: 386.3 kB / 0.5001 GB, free: 7.797 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1174, allocations: 0 / 0.5001 GB, free: 7.797 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004505/0.1179, allocations: 250.4 kB / 0.5004 GB, free: 7.539 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002578/0.1181, allocations: 19.98 kB / 0.5004 GB, free: 7.52 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003412/0.1216, allocations: 2.507 MB / 0.5028 GB, free: 4.926 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003737/0.1219, allocations: 0.7348 MB / 0.5036 GB, free: 4.168 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001257/0.1221, allocations: 37.52 kB / 0.5036 GB, free: 4.133 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001258/0.1222, allocations: 67.41 kB / 0.5037 GB, free: 4.066 MB / 366.1 MB Notification: Performance of SimCode: time 7.61e-07/0.1222, allocations: 0 / 0.5037 GB, free: 4.066 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03427/0.1565, allocations: 4.932 MB / 0.5085 GB, free: 15.25 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.975/10.13, allocations: 0.6562 kB / 0.5085 GB, free: 15.25 MB / 382.1 MB " [Timeout remaining time 650] (rm -f PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors_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_TwoSourcesOneLineThreeSensors.fmu > PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.924379688993213] Failed to read output from testmodel.py, exit status != 0: 10.215913208987331 10.243213176 10.139515909 Calling exit ...