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.001326/0.001326, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001468/0.001468, allocations: 217 kB / 22.25 MB, free: 5.082 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.546/1.546, allocations: 230.6 MB / 256 MB, free: 8.027 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.03042/0.03042, allocations: 5.472 MB / 317.9 MB, free: 13.76 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.002284/0.002284, allocations: 71.89 kB / 446.2 MB, free: 3.938 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1405, allocations: 54.62 MB / 0.4891 GB, free: 13.22 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleCellVoltageSource): time 0.00534/0.1459, allocations: 3.338 MB / 0.4923 GB, free: 9.863 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002232/0.1481, allocations: 1.281 MB / 0.4936 GB, free: 8.578 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002024/0.1483, allocations: 11.94 kB / 0.4936 GB, free: 8.566 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006164/0.1489, allocations: 226.8 kB / 0.4938 GB, free: 8.344 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003854/0.1493, allocations: 150.9 kB / 0.494 GB, free: 8.195 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002344/0.1495, allocations: 123.7 kB / 0.4941 GB, free: 8.074 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006231/0.1501, allocations: 0.5254 MB / 0.4946 GB, free: 7.547 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002106/0.1504, allocations: 84.58 kB / 0.4947 GB, free: 7.461 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002594/0.1506, allocations: 211.2 kB / 0.4949 GB, free: 7.254 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003335/0.1509, allocations: 235.1 kB / 0.4951 GB, free: 7.023 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.077e-05/0.151, allocations: 51.94 kB / 0.4951 GB, free: 6.973 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001324/0.1512, allocations: 71.98 kB / 0.4952 GB, free: 6.902 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001104/0.1513, allocations: 99.66 kB / 0.4953 GB, free: 6.805 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002338/0.1515, allocations: 218.9 kB / 0.4955 GB, free: 6.59 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00068/0.1522, allocations: 0.5059 MB / 0.496 GB, free: 6.082 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.1522, allocations: 0 / 0.496 GB, free: 6.082 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1522, allocations: 0 / 0.496 GB, free: 6.082 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.511e-05/0.1522, allocations: 0 / 0.496 GB, free: 6.082 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.002033/0.1542, allocations: 0.7151 MB / 0.4967 GB, free: 5.336 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/0.1543, allocations: 12.03 kB / 0.4967 GB, free: 5.324 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.406e-05/0.1544, allocations: 50.73 kB / 0.4968 GB, free: 5.266 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.467e-05/0.1544, allocations: 44.66 kB / 0.4968 GB, free: 5.223 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001171/0.1556, allocations: 401.2 kB / 0.4972 GB, free: 4.801 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.374e-05/0.1556, allocations: 20.38 kB / 0.4972 GB, free: 4.777 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.868e-05/0.1557, allocations: 31.92 kB / 0.4972 GB, free: 4.746 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005662/0.1563, allocations: 275.4 kB / 0.4975 GB, free: 4.461 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.1563, allocations: 0 / 0.4975 GB, free: 4.461 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.812e-05/0.1563, allocations: 12 kB / 0.4975 GB, free: 4.449 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.176e-06/0.1563, allocations: 4 kB / 0.4975 GB, free: 4.445 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000578/0.1569, allocations: 236.9 kB / 0.4977 GB, free: 4.215 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002305/0.1592, allocations: 1.219 MB / 0.4989 GB, free: 2.918 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004128/0.1596, allocations: 138.5 kB / 0.4991 GB, free: 2.773 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003123/0.1599, allocations: 96.78 kB / 0.4992 GB, free: 2.676 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.821e-05/0.1599, allocations: 0 / 0.4992 GB, free: 2.676 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.028e-05/0.16, allocations: 34.56 kB / 0.4992 GB, free: 2.633 MB / 366.1 MB Notification: Performance of pre-optimization done (n=8): time 1.303e-06/0.16, allocations: 0 / 0.4992 GB, free: 2.633 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007659/0.1607, allocations: 249.3 kB / 0.4994 GB, free: 2.383 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.171e-05/0.1608, allocations: 51.41 kB / 0.4995 GB, free: 2.32 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004724/0.1613, allocations: 373.6 kB / 0.4998 GB, free: 1.945 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.761e-05/0.1613, allocations: 29.7 kB / 0.4999 GB, free: 1.91 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001893/0.1615, allocations: 220.3 kB / 0.5001 GB, free: 1.691 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.285e-05/0.1615, allocations: 31.73 kB / 0.5001 GB, free: 1.66 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001022/0.1616, allocations: 53.64 kB / 0.5002 GB, free: 1.602 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001822/0.1618, allocations: 342.7 kB / 0.5005 GB, free: 1.258 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002556/0.162, allocations: 91.94 kB / 0.5006 GB, free: 1.168 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002818/0.1623, allocations: 133.6 kB / 0.5007 GB, free: 1.027 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004791/0.1628, allocations: 203.3 kB / 0.5009 GB, free: 0.8164 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.1628, allocations: 0 / 0.5009 GB, free: 0.8164 MB / 366.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001011/0.1638, allocations: 348.9 kB / 0.5012 GB, free: 480 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.1638, allocations: 8.094 kB / 0.5012 GB, free: 472 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.1638, allocations: 7.938 kB / 0.5012 GB, free: 464 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005/0.1643, allocations: 76.78 kB / 0.5013 GB, free: 384 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003079/0.1647, allocations: 55.83 kB / 0.5014 GB, free: 328 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001726/0.1664, allocations: 1.459 MB / 0.5028 GB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003233/0.1667, allocations: 39.81 kB / 0.5028 GB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.459e-05/0.1667, allocations: 8 kB / 0.5028 GB, free: 14.7 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.0001646/0.1669, allocations: 149.7 kB / 0.503 GB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.876e-05/0.167, allocations: 27.81 kB / 0.503 GB, free: 14.52 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.572e-05/0.167, allocations: 43.05 kB / 0.503 GB, free: 14.47 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.167, allocations: 0 / 0.503 GB, free: 14.47 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.167, allocations: 0 / 0.503 GB, free: 14.47 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.167, allocations: 0 / 0.503 GB, free: 14.47 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000982/0.168, allocations: 0.5645 MB / 0.5036 GB, free: 13.85 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.168, allocations: 0 / 0.5036 GB, free: 13.85 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001877/0.1682, allocations: 31.97 kB / 0.5036 GB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.1682, allocations: 0 / 0.5036 GB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.494e-05/0.1682, allocations: 4 kB / 0.5036 GB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.1682, allocations: 4 kB / 0.5036 GB, free: 13.81 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1682, allocations: 400 / 0.5036 GB, free: 13.81 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005188/0.1687, allocations: 304 kB / 0.5039 GB, free: 13.5 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000105/0.1688, allocations: 47.78 kB / 0.504 GB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.868e-05/0.1689, allocations: 0 / 0.504 GB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002325/0.1691, allocations: 15.98 kB / 0.504 GB, free: 13.43 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.708e-05/0.1692, allocations: 19.95 kB / 0.504 GB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.977e-06/0.1692, allocations: 0 / 0.504 GB, free: 13.41 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003123/0.1695, allocations: 267.2 kB / 0.5043 GB, free: 13.15 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1695, allocations: 0 / 0.5043 GB, free: 13.15 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003755/0.1699, allocations: 67.89 kB / 0.5043 GB, free: 13.09 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.0008897/0.1708, allocations: 0.8378 MB / 0.5051 GB, free: 12.22 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008366/0.1716, allocations: 331.5 kB / 0.5055 GB, free: 11.88 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.1716, allocations: 3.938 kB / 0.5055 GB, free: 11.88 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002033/0.1718, allocations: 67.89 kB / 0.5055 GB, free: 11.81 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004943/0.1723, allocations: 73.45 kB / 0.5056 GB, free: 11.74 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005086/0.1774, allocations: 3.076 MB / 0.5086 GB, free: 8.559 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004703/0.1778, allocations: 0.7678 MB / 0.5093 GB, free: 7.766 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000185/0.178, allocations: 50.92 kB / 0.5094 GB, free: 7.711 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001741/0.1782, allocations: 103.4 kB / 0.5095 GB, free: 7.609 MB / 382.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1782, allocations: 0 / 0.5095 GB, free: 7.609 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04395/0.2222, allocations: 7.275 MB / 0.5166 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.97/13.19, allocations: 8 kB / 0.5166 GB, free: 0.5039 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.309650574999978] Failed to read output from testmodel.py, exit status != 0: 13.51571850899927 13.529663695 13.37447553 Calling exit ...