Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.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.001416/0.001416, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001489/0.001489, allocations: 211.9 kB / 22.24 MB, free: 5.262 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.515/1.515, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.1.0/package.mo): time 0.03017/0.03017, allocations: 5.479 MB / 317.9 MB, free: 13.53 MB / 254.1 MB " [Timeout remaining time 180] Using package PhotoVoltaics with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.1.0/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(PhotoVoltaics.Examples.SimpleCellVoltageSource,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleCellVoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics.Examples.SimpleCellVoltageSource,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleCellVoltageSource",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: PhotoVoltaics requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002067/0.002067, allocations: 63.89 kB / 446.1 MB, free: 3.648 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09765/0.09972, allocations: 54.62 MB / 0.489 GB, free: 12.92 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleCellVoltageSource): time 0.004578/0.1043, allocations: 3.081 MB / 0.492 GB, free: 9.82 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001886/0.1062, allocations: 1.172 MB / 0.4931 GB, free: 8.645 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001605/0.1063, allocations: 7.938 kB / 0.4931 GB, free: 8.637 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005576/0.1069, allocations: 202.8 kB / 0.4933 GB, free: 8.438 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003432/0.1072, allocations: 154.9 kB / 0.4935 GB, free: 8.285 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002142/0.1075, allocations: 111.9 kB / 0.4936 GB, free: 8.176 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005543/0.108, allocations: 0.5255 MB / 0.4941 GB, free: 7.648 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000188/0.1082, allocations: 84.56 kB / 0.4942 GB, free: 7.562 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002409/0.1084, allocations: 203.2 kB / 0.4944 GB, free: 7.363 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002887/0.1087, allocations: 211 kB / 0.4946 GB, free: 7.156 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.2e-05/0.1088, allocations: 48 kB / 0.4946 GB, free: 7.109 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001444/0.1089, allocations: 75.97 kB / 0.4947 GB, free: 7.035 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.524e-05/0.109, allocations: 103.7 kB / 0.4948 GB, free: 6.934 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001762/0.1092, allocations: 175.2 kB / 0.495 GB, free: 6.762 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005801/0.1098, allocations: 0.5175 MB / 0.4955 GB, free: 6.242 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1098, allocations: 0 / 0.4955 GB, free: 6.242 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1098, allocations: 4 kB / 0.4955 GB, free: 6.238 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.048e-05/0.1098, allocations: 0 / 0.4955 GB, free: 6.238 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001866/0.1117, allocations: 0.7034 MB / 0.4961 GB, free: 5.504 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.1117, allocations: 12.03 kB / 0.4962 GB, free: 5.492 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.106e-05/0.1118, allocations: 58.72 kB / 0.4962 GB, free: 5.426 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.246e-05/0.1119, allocations: 44.66 kB / 0.4963 GB, free: 5.383 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009839/0.1129, allocations: 397.3 kB / 0.4966 GB, free: 4.965 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.507e-05/0.1129, allocations: 20.38 kB / 0.4967 GB, free: 4.941 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.854e-05/0.1129, allocations: 23.94 kB / 0.4967 GB, free: 4.918 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005375/0.1135, allocations: 283.4 kB / 0.497 GB, free: 4.625 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.1135, allocations: 3.938 kB / 0.497 GB, free: 4.621 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.341e-05/0.1135, allocations: 4 kB / 0.497 GB, free: 4.617 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.382e-05/0.1135, allocations: 11.98 kB / 0.497 GB, free: 4.605 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005617/0.1141, allocations: 232.9 kB / 0.4972 GB, free: 4.379 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00208/0.1161, allocations: 1.145 MB / 0.4983 GB, free: 3.156 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003932/0.1165, allocations: 142.5 kB / 0.4984 GB, free: 3.008 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002952/0.1168, allocations: 92.78 kB / 0.4985 GB, free: 2.914 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.085e-05/0.1169, allocations: 4 kB / 0.4985 GB, free: 2.91 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.496e-05/0.1169, allocations: 34.56 kB / 0.4986 GB, free: 2.867 MB / 366.1 MB Notification: Performance of pre-optimization done (n=8): time 1.262e-06/0.1169, allocations: 0 / 0.4986 GB, free: 2.867 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007295/0.1176, allocations: 249.3 kB / 0.4988 GB, free: 2.617 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.84e-05/0.1177, allocations: 51.56 kB / 0.4989 GB, free: 2.555 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004334/0.1181, allocations: 377.6 kB / 0.4992 GB, free: 2.172 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.676e-05/0.1181, allocations: 29.7 kB / 0.4992 GB, free: 2.137 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001668/0.1183, allocations: 220.1 kB / 0.4995 GB, free: 1.918 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.124e-05/0.1183, allocations: 31.75 kB / 0.4995 GB, free: 1.887 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.654e-05/0.1184, allocations: 49.69 kB / 0.4995 GB, free: 1.832 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001634/0.1186, allocations: 346.7 kB / 0.4999 GB, free: 1.484 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002565/0.1188, allocations: 91.94 kB / 0.5 GB, free: 1.395 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002818/0.1191, allocations: 129.6 kB / 0.5001 GB, free: 1.258 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004881/0.1196, allocations: 199.2 kB / 0.5003 GB, free: 1.051 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.1196, allocations: 0 / 0.5003 GB, free: 1.051 MB / 366.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001032/0.1206, allocations: 361.3 kB / 0.5006 GB, free: 0.6914 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.1207, allocations: 4 kB / 0.5006 GB, free: 0.6875 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.1207, allocations: 0 / 0.5006 GB, free: 0.6875 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004792/0.1211, allocations: 72.78 kB / 0.5007 GB, free: 0.6133 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003079/0.1215, allocations: 59.91 kB / 0.5007 GB, free: 0.5547 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001695/0.1231, allocations: 1.455 MB / 0.5022 GB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003297/0.1235, allocations: 40 kB / 0.5022 GB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.802e-05/0.1235, allocations: 7.984 kB / 0.5022 GB, free: 14.94 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001684/0.1237, allocations: 149.7 kB / 0.5024 GB, free: 14.78 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.944e-05/0.1237, allocations: 35.77 kB / 0.5024 GB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.886e-05/0.1238, allocations: 35 kB / 0.5024 GB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.1238, allocations: 3.938 kB / 0.5024 GB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.744e-06/0.1238, allocations: 0 / 0.5024 GB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.1238, allocations: 3.984 kB / 0.5024 GB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009594/0.1248, allocations: 0.5298 MB / 0.5029 GB, free: 14.12 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.1248, allocations: 0 / 0.5029 GB, free: 14.12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001689/0.125, allocations: 27.97 kB / 0.503 GB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.125, allocations: 4 kB / 0.503 GB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.125, allocations: 3.938 kB / 0.503 GB, free: 14.08 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.125, allocations: 4.031 kB / 0.503 GB, free: 14.08 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.125, allocations: 0 / 0.503 GB, free: 14.08 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005162/0.1255, allocations: 308 kB / 0.5033 GB, free: 13.76 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001095/0.1256, allocations: 43.78 kB / 0.5033 GB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.188e-05/0.1256, allocations: 4 kB / 0.5033 GB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002264/0.1259, allocations: 15.98 kB / 0.5033 GB, free: 13.7 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.458e-05/0.1259, allocations: 15.92 kB / 0.5034 GB, free: 13.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.887e-06/0.1259, allocations: 0 / 0.5034 GB, free: 13.68 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003096/0.1262, allocations: 263.2 kB / 0.5036 GB, free: 13.43 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1262, allocations: 0 / 0.5036 GB, free: 13.43 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003614/0.1266, allocations: 79.77 kB / 0.5037 GB, free: 13.35 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008657/0.1275, allocations: 0.8262 MB / 0.5045 GB, free: 12.49 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008104/0.1283, allocations: 331.3 kB / 0.5048 GB, free: 12.15 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.1283, allocations: 0 / 0.5048 GB, free: 12.15 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000222/0.1285, allocations: 76.14 kB / 0.5049 GB, free: 12.08 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005068/0.129, allocations: 82.55 kB / 0.505 GB, free: 12 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004956/0.134, allocations: 3.072 MB / 0.508 GB, free: 8.824 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001614/0.1341, allocations: 165.2 kB / 0.5081 GB, free: 8.641 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001895/0.1343, allocations: 42.94 kB / 0.5082 GB, free: 8.598 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001729/0.1345, allocations: 111.3 kB / 0.5083 GB, free: 8.488 MB / 382.1 MB Notification: Performance of SimCode: time 8.51e-07/0.1345, allocations: 0 / 0.5083 GB, free: 8.488 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03776/0.1722, allocations: 8.014 MB / 0.5161 GB, free: 0.668 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.08/13.25, allocations: 3.562 kB / 0.5161 GB, free: 0.668 MB / 382.1 MB " [Timeout remaining time 646] (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.sim & python3 -m fmpy simulate --output-file PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 PhotoVoltaics_PhotoVoltaics_Examples_SimpleCellVoltageSource.fmu > PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.24223332805559] Failed to read output from testmodel.py, exit status != 0: 13.597531653940678 13.611989735 13.499374264 Calling exit ...