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.001677/0.001677, 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.00249/0.00249, allocations: 209.7 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.493/1.493, allocations: 230.6 MB / 256 MB, free: 7.777 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.03123/0.03123, allocations: 5.49 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.SimpleCell,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleCell",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics.Examples.SimpleCell,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleCell",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.003151/0.003151, allocations: 63.89 kB / 446.1 MB, free: 3.645 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1263, allocations: 54.62 MB / 0.489 GB, free: 12.93 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleCell): time 0.004824/0.1312, allocations: 3.147 MB / 0.492 GB, free: 9.762 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002057/0.1332, allocations: 1.204 MB / 0.4932 GB, free: 8.555 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001726/0.1334, allocations: 11.88 kB / 0.4932 GB, free: 8.543 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005963/0.134, allocations: 202.8 kB / 0.4934 GB, free: 8.344 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003736/0.1344, allocations: 162.9 kB / 0.4936 GB, free: 8.184 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002657/0.1346, allocations: 131.8 kB / 0.4937 GB, free: 8.055 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006707/0.1353, allocations: 0.5554 MB / 0.4942 GB, free: 7.5 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002226/0.1355, allocations: 80.52 kB / 0.4943 GB, free: 7.414 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002986/0.1358, allocations: 223.2 kB / 0.4945 GB, free: 7.195 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003395/0.1362, allocations: 223 kB / 0.4947 GB, free: 6.977 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.224e-05/0.1363, allocations: 52 kB / 0.4948 GB, free: 6.926 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001506/0.1364, allocations: 71.98 kB / 0.4949 GB, free: 6.855 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000118/0.1365, allocations: 107.6 kB / 0.495 GB, free: 6.75 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002076/0.1367, allocations: 195.1 kB / 0.4952 GB, free: 6.559 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006631/0.1374, allocations: 0.5331 MB / 0.4957 GB, free: 6.023 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.1374, allocations: 11.94 kB / 0.4957 GB, free: 6.012 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1374, allocations: 0 / 0.4957 GB, free: 6.012 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.955e-06/0.1374, allocations: 0 / 0.4957 GB, free: 6.012 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.002019/0.1394, allocations: 0.7462 MB / 0.4964 GB, free: 5.234 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.1395, allocations: 12.03 kB / 0.4964 GB, free: 5.223 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.666e-05/0.1396, allocations: 54.73 kB / 0.4965 GB, free: 5.16 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.997e-05/0.1396, allocations: 44.66 kB / 0.4965 GB, free: 5.117 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001144/0.1408, allocations: 427.6 kB / 0.4969 GB, free: 4.672 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.658e-05/0.1408, allocations: 20.44 kB / 0.497 GB, free: 4.648 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.762e-05/0.1409, allocations: 24 kB / 0.497 GB, free: 4.625 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006092/0.1415, allocations: 322 kB / 0.4973 GB, free: 4.289 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.1415, allocations: 0 / 0.4973 GB, free: 4.289 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.846e-05/0.1415, allocations: 8 kB / 0.4973 GB, free: 4.281 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.878e-05/0.1415, allocations: 15.94 kB / 0.4973 GB, free: 4.266 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006334/0.1422, allocations: 237.6 kB / 0.4975 GB, free: 4.031 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002393/0.1446, allocations: 1.158 MB / 0.4987 GB, free: 2.801 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006042/0.1452, allocations: 174.5 kB / 0.4988 GB, free: 2.621 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003381/0.1455, allocations: 108.8 kB / 0.4989 GB, free: 2.512 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.965e-05/0.1455, allocations: 7.938 kB / 0.4989 GB, free: 2.504 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.69e-05/0.1456, allocations: 30.56 kB / 0.499 GB, free: 2.465 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.613e-06/0.1456, allocations: 0 / 0.499 GB, free: 2.465 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.002186/0.1477, allocations: 478 kB / 0.4994 GB, free: 1.988 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.719e-05/0.1478, allocations: 55.34 kB / 0.4995 GB, free: 1.922 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004913/0.1483, allocations: 393.6 kB / 0.4999 GB, free: 1.523 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.733e-05/0.1483, allocations: 29.7 kB / 0.4999 GB, free: 1.488 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001946/0.1485, allocations: 224.1 kB / 0.5001 GB, free: 1.262 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.182e-05/0.1486, allocations: 43.64 kB / 0.5001 GB, free: 1.219 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001128/0.1487, allocations: 53.69 kB / 0.5002 GB, free: 1.16 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001842/0.1489, allocations: 342.8 kB / 0.5005 GB, free: 0.8164 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000285/0.1491, allocations: 95.94 kB / 0.5006 GB, free: 0.7227 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003024/0.1495, allocations: 139.4 kB / 0.5007 GB, free: 0.5742 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005507/0.15, allocations: 217.4 kB / 0.5009 GB, free: 360 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.15, allocations: 0 / 0.5009 GB, free: 360 kB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001364/0.1514, allocations: 438.3 kB / 0.5014 GB, free: 15.91 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.1514, allocations: 13.19 kB / 0.5014 GB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.1514, allocations: 0 / 0.5014 GB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009426/0.1523, allocations: 249.5 kB / 0.5016 GB, free: 15.65 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002115/0.1525, allocations: 39.97 kB / 0.5017 GB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002701/0.1552, allocations: 2.117 MB / 0.5037 GB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004049/0.1557, allocations: 43.78 kB / 0.5038 GB, free: 13.31 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.718e-05/0.1557, allocations: 16.03 kB / 0.5038 GB, free: 13.3 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.0002611/0.1559, allocations: 153.9 kB / 0.5039 GB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.283e-05/0.156, allocations: 35.77 kB / 0.504 GB, free: 13.1 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.243e-05/0.1561, allocations: 39.05 kB / 0.504 GB, free: 13.06 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.1561, allocations: 0 / 0.504 GB, free: 13.06 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.1561, allocations: 0 / 0.504 GB, free: 13.06 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.1561, allocations: 4 kB / 0.504 GB, free: 13.06 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001396/0.1575, allocations: 0.6317 MB / 0.5046 GB, free: 12.37 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.1575, allocations: 4 kB / 0.5046 GB, free: 12.37 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001074/0.1576, allocations: 15.98 kB / 0.5046 GB, free: 12.35 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003811/0.158, allocations: 164.8 kB / 0.5048 GB, free: 12.19 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.787e-05/0.158, allocations: 4 kB / 0.5048 GB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000758/0.1588, allocations: 0.6576 MB / 0.5054 GB, free: 11.5 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.1588, allocations: 0 / 0.5054 GB, free: 11.5 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007757/0.1596, allocations: 356.9 kB / 0.5058 GB, free: 11.13 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001515/0.1597, allocations: 55.67 kB / 0.5058 GB, free: 11.07 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.418e-05/0.1598, allocations: 3.938 kB / 0.5058 GB, free: 11.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002656/0.16, allocations: 20.05 kB / 0.5059 GB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.276e-05/0.1601, allocations: 15.92 kB / 0.5059 GB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.204e-05/0.1601, allocations: 0 / 0.5059 GB, free: 11.04 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003402/0.1604, allocations: 271.2 kB / 0.5061 GB, free: 10.77 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1604, allocations: 0 / 0.5061 GB, free: 10.77 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003858/0.1608, allocations: 79.89 kB / 0.5062 GB, free: 10.7 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.001152/0.162, allocations: 0.9011 MB / 0.5071 GB, free: 9.762 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001028/0.163, allocations: 375.2 kB / 0.5074 GB, free: 9.379 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.163, allocations: 0 / 0.5074 GB, free: 9.379 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002734/0.1633, allocations: 83.88 kB / 0.5075 GB, free: 9.297 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005583/0.1638, allocations: 82.48 kB / 0.5076 GB, free: 9.219 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005926/0.1697, allocations: 3.337 MB / 0.5109 GB, free: 5.766 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001919/0.1699, allocations: 169.1 kB / 0.511 GB, free: 5.578 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001884/0.1701, allocations: 42.95 kB / 0.5111 GB, free: 5.539 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001696/0.1703, allocations: 111.4 kB / 0.5112 GB, free: 5.43 MB / 382.1 MB Notification: Performance of SimCode: time 2.144e-06/0.1703, allocations: 0 / 0.5112 GB, free: 5.43 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2489/0.4192, allocations: 9.188 MB / 0.5201 GB, free: 33.36 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.77/13.18, allocations: 10.34 kB / 0.5201 GB, free: 33.36 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 sys.exit(0), Time elapsed: 15.868635897990316] Failed to read output from testmodel.py, exit status != 0: 13.306549183093011 13.318919829 13.17881022 Calling exit ...