Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.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.001467/0.001467, allocations: 101.8 kB / 19.73 MB, free: 2.23 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.001389/0.001389, allocations: 217 kB / 23.04 MB, free: 5.074 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.381/1.381, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.02875/0.02875, allocations: 5.481 MB / 318.7 MB, free: 13.74 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.SimpleCell,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleCell",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics.Examples.SimpleCell,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleCell",fmuType="cs",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.001932/0.001932, allocations: 67.88 kB / 447 MB, free: 3.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1072, allocations: 54.61 MB / 0.4898 GB, free: 13.21 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleCell): time 0.004779/0.112, allocations: 3.431 MB / 0.4932 GB, free: 9.762 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002079/0.1141, allocations: 1.316 MB / 0.4945 GB, free: 8.441 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000171/0.1142, allocations: 8 kB / 0.4945 GB, free: 8.434 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005425/0.1148, allocations: 234.7 kB / 0.4947 GB, free: 8.203 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000333/0.1151, allocations: 158.8 kB / 0.4948 GB, free: 8.047 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002171/0.1153, allocations: 127.8 kB / 0.495 GB, free: 7.922 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005944/0.1159, allocations: 0.5704 MB / 0.4955 GB, free: 7.352 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001903/0.1161, allocations: 80.58 kB / 0.4956 GB, free: 7.266 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002358/0.1164, allocations: 219.2 kB / 0.4958 GB, free: 7.051 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003218/0.1167, allocations: 254.9 kB / 0.4961 GB, free: 6.801 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.359e-05/0.1168, allocations: 52 kB / 0.4961 GB, free: 6.75 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001229/0.1169, allocations: 71.98 kB / 0.4962 GB, free: 6.68 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.879e-05/0.117, allocations: 111.6 kB / 0.4963 GB, free: 6.57 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002099/0.1172, allocations: 226.9 kB / 0.4965 GB, free: 6.348 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006061/0.1178, allocations: 0.5292 MB / 0.497 GB, free: 5.816 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.1178, allocations: 7.984 kB / 0.497 GB, free: 5.809 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1178, allocations: 0 / 0.497 GB, free: 5.809 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.1178, allocations: 0 / 0.497 GB, free: 5.809 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.00185/0.1197, allocations: 0.754 MB / 0.4978 GB, free: 5.023 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.1197, allocations: 8.031 kB / 0.4978 GB, free: 5.016 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.94e-05/0.1197, allocations: 8.688 kB / 0.4978 GB, free: 5.008 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.889e-05/0.1198, allocations: 50.73 kB / 0.4978 GB, free: 4.949 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.993e-05/0.1199, allocations: 48.66 kB / 0.4979 GB, free: 4.902 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001044/0.1209, allocations: 423.5 kB / 0.4983 GB, free: 4.457 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.398e-05/0.1209, allocations: 24.44 kB / 0.4983 GB, free: 4.434 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.931e-05/0.121, allocations: 20 kB / 0.4983 GB, free: 4.414 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005819/0.1216, allocations: 296.3 kB / 0.4986 GB, free: 4.105 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.1216, allocations: 0 / 0.4986 GB, free: 4.105 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.989e-05/0.1216, allocations: 8 kB / 0.4986 GB, free: 4.098 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.091e-05/0.1216, allocations: 8 kB / 0.4986 GB, free: 4.09 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006146/0.1222, allocations: 249.5 kB / 0.4989 GB, free: 3.844 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002145/0.1244, allocations: 1.228 MB / 0.5001 GB, free: 2.547 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005042/0.1249, allocations: 178.5 kB / 0.5002 GB, free: 2.363 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003125/0.1252, allocations: 101 kB / 0.5003 GB, free: 2.262 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.23e-05/0.1252, allocations: 3.938 kB / 0.5003 GB, free: 2.258 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.859e-05/0.1253, allocations: 46.55 kB / 0.5004 GB, free: 2.203 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.102e-06/0.1253, allocations: 96 / 0.5004 GB, free: 2.203 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.002054/0.1273, allocations: 481.7 kB / 0.5008 GB, free: 1.723 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.988e-05/0.1273, allocations: 55.34 kB / 0.5009 GB, free: 1.656 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004479/0.1278, allocations: 389.6 kB / 0.5012 GB, free: 1.266 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.679e-05/0.1278, allocations: 25.7 kB / 0.5013 GB, free: 1.234 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001786/0.128, allocations: 220.2 kB / 0.5015 GB, free: 1.012 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.029e-05/0.128, allocations: 43.69 kB / 0.5015 GB, free: 0.9688 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001099/0.1281, allocations: 53.64 kB / 0.5016 GB, free: 0.9102 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001779/0.1283, allocations: 342.8 kB / 0.5019 GB, free: 0.5664 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002697/0.1286, allocations: 103.9 kB / 0.502 GB, free: 476 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002963/0.1289, allocations: 143.2 kB / 0.5021 GB, free: 320 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005207/0.1294, allocations: 224.5 kB / 0.5024 GB, free: 88 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1294, allocations: 3.938 kB / 0.5024 GB, free: 84 kB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001295/0.1307, allocations: 434.8 kB / 0.5028 GB, free: 15.64 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.1307, allocations: 7.938 kB / 0.5028 GB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.1307, allocations: 8.094 kB / 0.5028 GB, free: 15.63 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008624/0.1316, allocations: 241.5 kB / 0.503 GB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001952/0.1318, allocations: 43.91 kB / 0.5031 GB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002376/0.1342, allocations: 2.109 MB / 0.5051 GB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000333/0.1345, allocations: 35.8 kB / 0.5052 GB, free: 13.06 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.76e-05/0.1345, allocations: 12.11 kB / 0.5052 GB, free: 13.05 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): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0001908/0.1347, allocations: 151.5 kB / 0.5053 GB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.328e-05/0.1348, allocations: 35.77 kB / 0.5053 GB, free: 12.86 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.133e-05/0.1349, allocations: 43.14 kB / 0.5054 GB, free: 12.81 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.1349, allocations: 0 / 0.5054 GB, free: 12.81 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.1349, allocations: 0 / 0.5054 GB, free: 12.81 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.1349, allocations: 64 / 0.5054 GB, free: 12.81 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001247/0.1361, allocations: 0.6785 MB / 0.506 GB, free: 12.08 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.1361, allocations: 0 / 0.506 GB, free: 12.08 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.033e-05/0.1362, allocations: 19.92 kB / 0.5061 GB, free: 12.06 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000347/0.1366, allocations: 164.8 kB / 0.5062 GB, free: 11.89 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.657e-05/0.1366, allocations: 4 kB / 0.5062 GB, free: 11.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007394/0.1373, allocations: 0.6538 MB / 0.5069 GB, free: 11.21 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.1373, allocations: 4.031 kB / 0.5069 GB, free: 11.21 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007478/0.1381, allocations: 364.8 kB / 0.5072 GB, free: 10.83 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000163/0.1382, allocations: 59.7 kB / 0.5073 GB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.937e-05/0.1383, allocations: 3.938 kB / 0.5073 GB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000261/0.1385, allocations: 23.98 kB / 0.5073 GB, free: 10.74 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.482e-05/0.1386, allocations: 3.984 kB / 0.5073 GB, free: 10.74 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.338e-05/0.1386, allocations: 4 kB / 0.5073 GB, free: 10.73 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003108/0.1389, allocations: 271.2 kB / 0.5076 GB, free: 10.47 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1389, allocations: 0 / 0.5076 GB, free: 10.47 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003753/0.1393, allocations: 79.89 kB / 0.5076 GB, free: 10.39 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 (9): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001054/0.1403, allocations: 0.9088 MB / 0.5085 GB, free: 9.449 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009416/0.1413, allocations: 363.2 kB / 0.5089 GB, free: 9.078 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.1413, allocations: 4.188 kB / 0.5089 GB, free: 9.074 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002489/0.1415, allocations: 83.88 kB / 0.509 GB, free: 8.992 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005082/0.142, allocations: 70.25 kB / 0.509 GB, free: 8.926 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00571/0.1478, allocations: 3.351 MB / 0.5123 GB, free: 5.461 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004967/0.1483, allocations: 0.7795 MB / 0.5131 GB, free: 4.656 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001754/0.1484, allocations: 38.95 kB / 0.5131 GB, free: 4.621 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001706/0.1486, allocations: 111.4 kB / 0.5132 GB, free: 4.512 MB / 382.1 MB Notification: Performance of SimCode: time 1.022e-06/0.1486, allocations: 0 / 0.5132 GB, free: 4.512 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2305/0.3791, allocations: 8.93 MB / 0.5219 GB, free: 33.34 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.52/12.9, allocations: 7.219 kB / 0.5219 GB, free: 33.34 MB / 382.1 MB " [Timeout remaining time 647] (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PhotoVoltaics_PhotoVoltaics_Examples_SimpleCell_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 PhotoVoltaics_PhotoVoltaics_Examples_SimpleCell.fmu > PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.48812454205472] Failed to read output from testmodel.py, exit status != 0: 13.062120752991177 13.075303851 12.954809711 Calling exit ...