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.001318/0.001318, allocations: 107.5 kB / 16.45 MB, free: 6.504 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.001414/0.001414, allocations: 210.4 kB / 19.42 MB, free: 3.656 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.456/1.456, allocations: 230.6 MB / 252.8 MB, free: 8.961 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.02985/0.02985, allocations: 5.47 MB / 314.3 MB, free: 14.92 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.002805/0.002805, allocations: 71.88 kB / 440.6 MB, free: 7.852 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1113, allocations: 54.58 MB / 495.2 MB, free: 1.172 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleCellVoltageSource): time 0.005579/0.1169, allocations: 3.309 MB / 498.5 MB, free: 13.84 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002279/0.1192, allocations: 1.281 MB / 499.8 MB, free: 12.55 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002251/0.1194, allocations: 7.938 kB / 499.8 MB, free: 12.54 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007029/0.1201, allocations: 234.7 kB / 0.4883 GB, free: 12.31 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004006/0.1205, allocations: 143 kB / 0.4884 GB, free: 12.17 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002587/0.1208, allocations: 119.8 kB / 0.4885 GB, free: 12.05 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005932/0.1214, allocations: 0.5254 MB / 0.489 GB, free: 11.53 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000199/0.1216, allocations: 84.11 kB / 0.4891 GB, free: 11.44 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002522/0.1218, allocations: 207.2 kB / 0.4893 GB, free: 11.24 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003161/0.1221, allocations: 239.1 kB / 0.4896 GB, free: 11 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.812e-05/0.1222, allocations: 48 kB / 0.4896 GB, free: 10.96 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001438/0.1223, allocations: 75.98 kB / 0.4897 GB, free: 10.88 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.838e-05/0.1224, allocations: 107.6 kB / 0.4898 GB, free: 10.78 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002367/0.1227, allocations: 211 kB / 0.49 GB, free: 10.57 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007193/0.1234, allocations: 0.5098 MB / 0.4905 GB, free: 10.06 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.1234, allocations: 0 / 0.4905 GB, free: 10.06 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1234, allocations: 0 / 0.4905 GB, free: 10.06 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.586e-06/0.1234, allocations: 0 / 0.4905 GB, free: 10.06 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.00208/0.1255, allocations: 0.7826 MB / 0.4912 GB, free: 9.227 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.1255, allocations: 8.031 kB / 0.4912 GB, free: 9.219 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.022e-05/0.1256, allocations: 58.72 kB / 0.4913 GB, free: 9.152 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.207e-05/0.1257, allocations: 44.66 kB / 0.4913 GB, free: 9.109 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001055/0.1268, allocations: 468.4 kB / 0.4918 GB, free: 8.613 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.291e-05/0.1268, allocations: 24.31 kB / 0.4918 GB, free: 8.586 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.491e-05/0.1268, allocations: 24 kB / 0.4918 GB, free: 8.562 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005709/0.1274, allocations: 275.4 kB / 0.4921 GB, free: 8.277 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.1274, allocations: 0 / 0.4921 GB, free: 8.277 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.01e-05/0.1275, allocations: 12 kB / 0.4921 GB, free: 8.266 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.1275, allocations: 4 kB / 0.4921 GB, free: 8.262 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006191/0.1281, allocations: 232.9 kB / 0.4923 GB, free: 8.035 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002224/0.1303, allocations: 1.254 MB / 0.4936 GB, free: 6.699 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004075/0.1307, allocations: 138.5 kB / 0.4937 GB, free: 6.555 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003278/0.131, allocations: 104.8 kB / 0.4938 GB, free: 6.449 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.561e-05/0.1311, allocations: 0 / 0.4938 GB, free: 6.449 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.1311, allocations: 30.56 kB / 0.4938 GB, free: 6.41 MB / 366.1 MB Notification: Performance of pre-optimization done (n=8): time 1.152e-06/0.1311, allocations: 0 / 0.4938 GB, free: 6.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008119/0.1319, allocations: 257.5 kB / 0.4941 GB, free: 6.152 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.308e-05/0.1319, allocations: 51.41 kB / 0.4941 GB, free: 6.09 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004643/0.1324, allocations: 377.6 kB / 0.4945 GB, free: 5.711 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.425e-05/0.1324, allocations: 29.7 kB / 0.4945 GB, free: 5.676 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001666/0.1326, allocations: 212.1 kB / 0.4947 GB, free: 5.465 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.339e-05/0.1326, allocations: 27.75 kB / 0.4947 GB, free: 5.438 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001094/0.1327, allocations: 49.64 kB / 0.4948 GB, free: 5.383 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.00017/0.1329, allocations: 358.7 kB / 0.4951 GB, free: 5.023 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002665/0.1332, allocations: 87.94 kB / 0.4952 GB, free: 4.938 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003024/0.1335, allocations: 133 kB / 0.4953 GB, free: 4.797 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005184/0.134, allocations: 197.7 kB / 0.4955 GB, free: 4.594 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.134, allocations: 0 / 0.4955 GB, free: 4.594 MB / 366.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001057/0.1351, allocations: 350 kB / 0.4959 GB, free: 4.242 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.1351, allocations: 8 kB / 0.4959 GB, free: 4.234 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.1351, allocations: 0 / 0.4959 GB, free: 4.234 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004874/0.1356, allocations: 80.88 kB / 0.4959 GB, free: 4.152 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000311/0.1359, allocations: 59.77 kB / 0.496 GB, free: 4.094 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001814/0.1377, allocations: 1.562 MB / 0.4975 GB, free: 2.383 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000344/0.138, allocations: 43.92 kB / 0.4976 GB, free: 2.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.494e-05/0.1381, allocations: 7.984 kB / 0.4976 GB, free: 2.332 MB / 366.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.0001744/0.1382, allocations: 149.7 kB / 0.4977 GB, free: 2.176 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.955e-05/0.1383, allocations: 31.77 kB / 0.4977 GB, free: 2.145 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.57e-05/0.1384, allocations: 31 kB / 0.4978 GB, free: 2.113 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.1384, allocations: 4 kB / 0.4978 GB, free: 2.109 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.1384, allocations: 0 / 0.4978 GB, free: 2.109 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.1384, allocations: 4 kB / 0.4978 GB, free: 2.105 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001015/0.1394, allocations: 0.585 MB / 0.4984 GB, free: 1.461 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.1394, allocations: 4 kB / 0.4984 GB, free: 1.457 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000199/0.1396, allocations: 32 kB / 0.4984 GB, free: 1.426 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1396, allocations: 0 / 0.4984 GB, free: 1.426 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.1396, allocations: 4 kB / 0.4984 GB, free: 1.422 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1396, allocations: 0 / 0.4984 GB, free: 1.422 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1396, allocations: 0 / 0.4984 GB, free: 1.422 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005677/0.1402, allocations: 307.9 kB / 0.4987 GB, free: 1.102 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001293/0.1403, allocations: 120.9 kB / 0.4988 GB, free: 0.9648 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.688e-05/0.1404, allocations: 4 kB / 0.4988 GB, free: 0.9609 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002395/0.1406, allocations: 11.98 kB / 0.4988 GB, free: 0.9492 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.021e-05/0.1406, allocations: 15.92 kB / 0.4988 GB, free: 0.9336 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/0.1407, allocations: 0 / 0.4988 GB, free: 0.9336 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003163/0.141, allocations: 259.2 kB / 0.4991 GB, free: 0.6797 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.141, allocations: 4 kB / 0.4991 GB, free: 0.6758 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003883/0.1414, allocations: 75.81 kB / 0.4992 GB, free: 0.6016 MB / 366.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.0009842/0.1423, allocations: 0.8268 MB / 0.5 GB, free: 15.75 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008683/0.1432, allocations: 335.9 kB / 0.5003 GB, free: 15.4 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.1432, allocations: 4.188 kB / 0.5003 GB, free: 15.4 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002223/0.1434, allocations: 67.89 kB / 0.5004 GB, free: 15.33 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005356/0.144, allocations: 81.45 kB / 0.5004 GB, free: 15.25 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005302/0.1493, allocations: 3.063 MB / 0.5034 GB, free: 12.09 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004659/0.1497, allocations: 0.7716 MB / 0.5042 GB, free: 11.29 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002023/0.1499, allocations: 42.95 kB / 0.5042 GB, free: 11.25 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001947/0.1501, allocations: 107.4 kB / 0.5043 GB, free: 11.14 MB / 382.1 MB Notification: Performance of SimCode: time 7.92e-07/0.1501, allocations: 0 / 0.5043 GB, free: 11.14 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03632/0.1865, allocations: 7.164 MB / 0.5113 GB, free: 4.145 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.06/12.24, allocations: 7.938 kB / 0.5113 GB, free: 4.137 MB / 382.1 MB " [Timeout remaining time 648] (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: 15.034874845994636] Failed to read output from testmodel.py, exit status != 0: 12.340584292003768 12.515109516 12.389088923 Calling exit ...