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.00137/0.00137, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001636/0.001636, allocations: 216 kB / 22.24 MB, free: 4.852 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.479/1.479, allocations: 230.6 MB / 256 MB, free: 8.023 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.03012/0.03012, allocations: 5.495 MB / 317.9 MB, free: 13.57 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.002766/0.002766, allocations: 67.91 kB / 446.1 MB, free: 3.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.128, allocations: 54.61 MB / 0.489 GB, free: 12.97 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleCellVoltageSource): time 0.005578/0.1336, allocations: 3.085 MB / 0.492 GB, free: 9.867 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002694/0.1363, allocations: 1.165 MB / 0.4931 GB, free: 8.699 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002165/0.1365, allocations: 11.88 kB / 0.4931 GB, free: 8.688 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000579/0.1371, allocations: 206.8 kB / 0.4933 GB, free: 8.484 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004309/0.1375, allocations: 154.9 kB / 0.4935 GB, free: 8.332 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002487/0.1378, allocations: 107.9 kB / 0.4936 GB, free: 8.227 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007074/0.1385, allocations: 0.5293 MB / 0.4941 GB, free: 7.695 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002259/0.1387, allocations: 76.59 kB / 0.4942 GB, free: 7.617 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004377/0.1391, allocations: 207.2 kB / 0.4944 GB, free: 7.414 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000325/0.1395, allocations: 215 kB / 0.4946 GB, free: 7.203 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.374e-05/0.1396, allocations: 52 kB / 0.4946 GB, free: 7.152 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001509/0.1397, allocations: 68 kB / 0.4947 GB, free: 7.086 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001094/0.1398, allocations: 111.6 kB / 0.4948 GB, free: 6.977 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002173/0.14, allocations: 171.2 kB / 0.495 GB, free: 6.809 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000618/0.1406, allocations: 0.5175 MB / 0.4955 GB, free: 6.289 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1407, allocations: 0 / 0.4955 GB, free: 6.289 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.013e-06/0.1407, allocations: 0 / 0.4955 GB, free: 6.289 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.444e-06/0.1407, allocations: 0 / 0.4955 GB, free: 6.289 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.001837/0.1425, allocations: 0.7112 MB / 0.4962 GB, free: 5.547 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.1425, allocations: 8.031 kB / 0.4962 GB, free: 5.539 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.095e-05/0.1426, allocations: 58.73 kB / 0.4962 GB, free: 5.473 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.901e-05/0.1427, allocations: 48.64 kB / 0.4963 GB, free: 5.426 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001068/0.1438, allocations: 397.3 kB / 0.4966 GB, free: 5.008 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.569e-05/0.1438, allocations: 24.31 kB / 0.4967 GB, free: 4.98 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.263e-05/0.1438, allocations: 20 kB / 0.4967 GB, free: 4.961 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005583/0.1444, allocations: 275.4 kB / 0.4969 GB, free: 4.676 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.649e-05/0.1444, allocations: 7.984 kB / 0.497 GB, free: 4.668 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.675e-05/0.1444, allocations: 8 kB / 0.497 GB, free: 4.66 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.766e-06/0.1445, allocations: 4 kB / 0.497 GB, free: 4.656 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005805/0.145, allocations: 232.9 kB / 0.4972 GB, free: 4.43 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002158/0.1472, allocations: 1.149 MB / 0.4983 GB, free: 3.203 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003858/0.1476, allocations: 138.5 kB / 0.4984 GB, free: 3.059 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002974/0.1479, allocations: 92.8 kB / 0.4985 GB, free: 2.965 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.134e-05/0.1479, allocations: 3.984 kB / 0.4985 GB, free: 2.961 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.78e-05/0.1479, allocations: 38.56 kB / 0.4986 GB, free: 2.914 MB / 366.1 MB Notification: Performance of pre-optimization done (n=8): time 1.243e-06/0.1479, allocations: 0 / 0.4986 GB, free: 2.914 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007511/0.1487, allocations: 245.3 kB / 0.4988 GB, free: 2.668 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.874e-05/0.1487, allocations: 51.41 kB / 0.4989 GB, free: 2.605 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004425/0.1492, allocations: 373.6 kB / 0.4992 GB, free: 2.227 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.954e-05/0.1492, allocations: 29.7 kB / 0.4992 GB, free: 2.191 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001717/0.1494, allocations: 220.3 kB / 0.4994 GB, free: 1.973 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.338e-05/0.1494, allocations: 31.73 kB / 0.4995 GB, free: 1.941 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/0.1495, allocations: 49.69 kB / 0.4995 GB, free: 1.887 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000178/0.1497, allocations: 342.8 kB / 0.4999 GB, free: 1.543 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002591/0.1499, allocations: 99.88 kB / 0.4999 GB, free: 1.445 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002831/0.1502, allocations: 129 kB / 0.5001 GB, free: 1.309 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004879/0.1507, allocations: 210.2 kB / 0.5003 GB, free: 1.094 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.1507, allocations: 0 / 0.5003 GB, free: 1.094 MB / 366.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001006/0.1517, allocations: 342 kB / 0.5006 GB, free: 0.75 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.1517, allocations: 12.09 kB / 0.5006 GB, free: 0.7383 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.1517, allocations: 4 kB / 0.5006 GB, free: 0.7344 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004731/0.1522, allocations: 76.78 kB / 0.5007 GB, free: 0.6562 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003091/0.1525, allocations: 55.83 kB / 0.5007 GB, free: 0.6016 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001872/0.1544, allocations: 1.463 MB / 0.5022 GB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003306/0.1547, allocations: 39.8 kB / 0.5022 GB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.315e-05/0.1548, allocations: 4 kB / 0.5022 GB, free: 14.98 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.0001754/0.1549, allocations: 157.8 kB / 0.5024 GB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.781e-05/0.155, allocations: 35.75 kB / 0.5024 GB, free: 14.78 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.999e-05/0.1551, allocations: 35 kB / 0.5024 GB, free: 14.74 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1551, allocations: 0 / 0.5024 GB, free: 14.74 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.1551, allocations: 0 / 0.5024 GB, free: 14.74 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.1551, allocations: 0 / 0.5024 GB, free: 14.74 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001008/0.1561, allocations: 0.5256 MB / 0.5029 GB, free: 14.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.1561, allocations: 0 / 0.5029 GB, free: 14.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001758/0.1563, allocations: 27.97 kB / 0.503 GB, free: 14.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.1563, allocations: 0 / 0.503 GB, free: 14.14 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.921e-05/0.1563, allocations: 11.98 kB / 0.503 GB, free: 14.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.1563, allocations: 0 / 0.503 GB, free: 14.12 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1563, allocations: 0 / 0.503 GB, free: 14.12 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005301/0.1568, allocations: 304 kB / 0.5033 GB, free: 13.81 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001126/0.1569, allocations: 43.78 kB / 0.5033 GB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.819e-05/0.157, allocations: 0 / 0.5033 GB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002308/0.1572, allocations: 19.98 kB / 0.5033 GB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.184e-05/0.1572, allocations: 7.922 kB / 0.5033 GB, free: 13.74 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.314e-05/0.1573, allocations: 8 kB / 0.5033 GB, free: 13.73 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003148/0.1576, allocations: 263.2 kB / 0.5036 GB, free: 13.48 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1576, allocations: 0 / 0.5036 GB, free: 13.48 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003531/0.1579, allocations: 83.78 kB / 0.5037 GB, free: 13.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 (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.001007/0.1589, allocations: 0.8267 MB / 0.5045 GB, free: 12.54 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008241/0.1597, allocations: 335.5 kB / 0.5048 GB, free: 12.2 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1598, allocations: 0 / 0.5048 GB, free: 12.2 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002231/0.16, allocations: 71.88 kB / 0.5049 GB, free: 12.12 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004931/0.1605, allocations: 73.41 kB / 0.5049 GB, free: 12.05 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005108/0.1656, allocations: 3.075 MB / 0.5079 GB, free: 8.875 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001806/0.1658, allocations: 161.2 kB / 0.5081 GB, free: 8.695 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000243/0.166, allocations: 50.92 kB / 0.5081 GB, free: 8.645 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001852/0.1662, allocations: 103.4 kB / 0.5082 GB, free: 8.543 MB / 382.1 MB Notification: Performance of SimCode: time 8.31e-07/0.1662, allocations: 0 / 0.5082 GB, free: 8.543 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03827/0.2045, allocations: 8.018 MB / 0.5161 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.79/12.99, allocations: 8.062 kB / 0.5161 GB, free: 0.7148 MB / 382.1 MB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PhotoVoltaics_PhotoVoltaics_Examples_SimpleCellVoltageSource_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 PhotoVoltaics_PhotoVoltaics_Examples_SimpleCellVoltageSource.fmu > PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.896645119879395] Failed to read output from testmodel.py, exit status != 0: 13.316042128950357 13.329537651 13.186097095 Calling exit ...