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.001731/0.001731, allocations: 116.8 kB / 17.16 MB, free: 5.895 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.001945/0.001945, allocations: 212 kB / 20.13 MB, free: 2.949 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.404/1.404, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.0277/0.0277, allocations: 5.479 MB / 315 MB, free: 1.594 MB / 238.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.002957/0.002957, allocations: 71.27 kB / 441.3 MB, free: 37.13 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09725/0.1002, allocations: 54.59 MB / 495.9 MB, free: 8.855 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleCell): time 0.003385/0.1036, allocations: 3.396 MB / 499.3 MB, free: 5.438 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001532/0.1051, allocations: 1.312 MB / 0.4889 GB, free: 4.121 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001637/0.1053, allocations: 4 kB / 0.4889 GB, free: 4.117 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004708/0.1058, allocations: 246.6 kB / 0.4891 GB, free: 3.875 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002763/0.106, allocations: 158.9 kB / 0.4893 GB, free: 3.719 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000169/0.1062, allocations: 111.9 kB / 0.4894 GB, free: 3.609 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003743/0.1066, allocations: 0.5682 MB / 0.4899 GB, free: 3.039 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001779/0.1068, allocations: 80.12 kB / 0.49 GB, free: 2.953 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001638/0.1069, allocations: 223.2 kB / 0.4902 GB, free: 2.734 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002102/0.1071, allocations: 251 kB / 0.4904 GB, free: 2.488 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.415e-05/0.1072, allocations: 52 kB / 0.4905 GB, free: 2.438 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001022/0.1073, allocations: 71.98 kB / 0.4906 GB, free: 2.367 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.884e-05/0.1073, allocations: 111.6 kB / 0.4907 GB, free: 2.258 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001306/0.1075, allocations: 230.8 kB / 0.4909 GB, free: 2.031 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004102/0.1079, allocations: 0.537 MB / 0.4914 GB, free: 1.492 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1079, allocations: 0 / 0.4914 GB, free: 1.492 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1079, allocations: 0 / 0.4914 GB, free: 1.492 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.325e-06/0.1079, allocations: 3.938 kB / 0.4914 GB, free: 1.488 MB / 350.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.001644/0.1095, allocations: 0.8177 MB / 0.4922 GB, free: 0.6211 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.1096, allocations: 8.031 kB / 0.4922 GB, free: 0.6133 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.359e-05/0.1096, allocations: 8.75 kB / 0.4922 GB, free: 0.6055 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.616e-05/0.1096, allocations: 54.73 kB / 0.4923 GB, free: 0.543 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.156e-05/0.1097, allocations: 48.66 kB / 0.4923 GB, free: 0.4961 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008794/0.1106, allocations: 0.4947 MB / 0.4928 GB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.387e-05/0.1106, allocations: 12.56 kB / 0.4928 GB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.12e-05/0.1107, allocations: 24 kB / 0.4928 GB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005846/0.1113, allocations: 293.1 kB / 0.4931 GB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.1113, allocations: 4 kB / 0.4931 GB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.329e-05/0.1113, allocations: 16 kB / 0.4931 GB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.1113, allocations: 4 kB / 0.4932 GB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006189/0.1119, allocations: 245.5 kB / 0.4934 GB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002178/0.1141, allocations: 1.255 MB / 0.4946 GB, free: 14.02 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005519/0.1147, allocations: 259.6 kB / 0.4949 GB, free: 13.74 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003175/0.115, allocations: 108.8 kB / 0.495 GB, free: 13.63 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.039e-05/0.115, allocations: 0 / 0.495 GB, free: 13.63 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.847e-05/0.115, allocations: 38.5 kB / 0.495 GB, free: 13.58 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.002e-06/0.115, allocations: 0 / 0.495 GB, free: 13.58 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.002177/0.1172, allocations: 0.5383 MB / 0.4955 GB, free: 13.02 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.461e-05/0.1173, allocations: 59.34 kB / 0.4956 GB, free: 12.95 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000471/0.1177, allocations: 389.6 kB / 0.496 GB, free: 12.55 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.701e-05/0.1177, allocations: 29.7 kB / 0.496 GB, free: 12.52 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000182/0.1179, allocations: 224.1 kB / 0.4962 GB, free: 12.3 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.941e-05/0.118, allocations: 43.69 kB / 0.4962 GB, free: 12.25 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001166/0.1181, allocations: 57.58 kB / 0.4963 GB, free: 12.19 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.1183, allocations: 342.8 kB / 0.4966 GB, free: 11.85 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002835/0.1185, allocations: 99.94 kB / 0.4967 GB, free: 11.75 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003132/0.1189, allocations: 141 kB / 0.4968 GB, free: 11.6 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005294/0.1194, allocations: 219.8 kB / 0.4971 GB, free: 11.38 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.1194, allocations: 0 / 0.4971 GB, free: 11.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001318/0.1207, allocations: 433.9 kB / 0.4975 GB, free: 10.94 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.1207, allocations: 9.344 kB / 0.4975 GB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.1207, allocations: 4 kB / 0.4975 GB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008783/0.1216, allocations: 249.5 kB / 0.4977 GB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001997/0.1218, allocations: 35.98 kB / 0.4978 GB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002404/0.1242, allocations: 2.22 MB / 0.4999 GB, free: 8.254 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003258/0.1245, allocations: 35.8 kB / 0.5 GB, free: 8.219 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.495e-05/0.1246, allocations: 8 kB / 0.5 GB, free: 8.211 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): 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.000173/0.1247, allocations: 149.8 kB / 0.5001 GB, free: 8.055 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.912e-05/0.1248, allocations: 39.7 kB / 0.5001 GB, free: 8.016 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.341e-05/0.1249, allocations: 39.11 kB / 0.5002 GB, free: 7.977 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.1249, allocations: 12.06 kB / 0.5002 GB, free: 7.965 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.1249, allocations: 0 / 0.5002 GB, free: 7.965 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.1249, allocations: 0 / 0.5002 GB, free: 7.965 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001259/0.1262, allocations: 0.7068 MB / 0.5009 GB, free: 7.195 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.1262, allocations: 3.984 kB / 0.5009 GB, free: 7.191 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.841e-05/0.1263, allocations: 15.98 kB / 0.5009 GB, free: 7.176 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003784/0.1266, allocations: 160.8 kB / 0.5011 GB, free: 7.016 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.669e-05/0.1266, allocations: 4 kB / 0.5011 GB, free: 7.012 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006834/0.1273, allocations: 0.6576 MB / 0.5017 GB, free: 6.328 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.1273, allocations: 0 / 0.5017 GB, free: 6.328 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006868/0.128, allocations: 357 kB / 0.502 GB, free: 5.957 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001433/0.1282, allocations: 140.7 kB / 0.5022 GB, free: 5.801 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.083e-05/0.1282, allocations: 4 kB / 0.5022 GB, free: 5.797 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002458/0.1284, allocations: 11.98 kB / 0.5022 GB, free: 5.785 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.453e-05/0.1285, allocations: 15.92 kB / 0.5022 GB, free: 5.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.355e-05/0.1285, allocations: 4 kB / 0.5022 GB, free: 5.766 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003055/0.1288, allocations: 271.2 kB / 0.5025 GB, free: 5.504 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1288, allocations: 4 kB / 0.5025 GB, free: 5.5 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003759/0.1292, allocations: 75.89 kB / 0.5025 GB, free: 5.426 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 (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.001068/0.1303, allocations: 0.9018 MB / 0.5034 GB, free: 4.492 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009437/0.1312, allocations: 367.9 kB / 0.5038 GB, free: 4.117 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1312, allocations: 0 / 0.5038 GB, free: 4.117 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002496/0.1315, allocations: 79.88 kB / 0.5039 GB, free: 4.039 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005218/0.132, allocations: 85.8 kB / 0.5039 GB, free: 3.953 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005701/0.1377, allocations: 3.334 MB / 0.5072 GB, free: 0.5039 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004368/0.1381, allocations: 0.7795 MB / 0.508 GB, free: 15.7 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001626/0.1383, allocations: 38.95 kB / 0.508 GB, free: 15.66 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001653/0.1384, allocations: 111.4 kB / 0.5081 GB, free: 15.55 MB / 382.1 MB Notification: Performance of SimCode: time 1.223e-06/0.1384, allocations: 0 / 0.5081 GB, free: 15.55 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02929/0.1677, allocations: 8.77 MB / 0.5167 GB, free: 6.945 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.84/12.01, allocations: 4.062 kB / 0.5167 GB, free: 6.941 MB / 382.1 MB " [Timeout remaining time 648] (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: 14.693424644996412] Failed to read output from testmodel.py, exit status != 0: 12.158742695988622 12.17229715 12.061598907 Calling exit ...