Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.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.00135/0.00135, 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.001543/0.001543, allocations: 206.4 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.437/1.437, allocations: 230.6 MB / 256 MB, free: 7.793 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.0302/0.0302, allocations: 5.498 MB / 317.9 MB, free: 13.51 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.SimpleModuleSymmetric,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleSymmetric",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics.Examples.SimpleModuleSymmetric,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleSymmetric",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.002097/0.002097, allocations: 71.89 kB / 446.1 MB, free: 3.602 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1057, allocations: 54.61 MB / 0.489 GB, free: 12.89 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleSymmetric): time 0.004803/0.1105, allocations: 3.197 MB / 0.4921 GB, free: 9.672 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002171/0.1126, allocations: 1.215 MB / 0.4933 GB, free: 8.453 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002061/0.1128, allocations: 11.94 kB / 0.4933 GB, free: 8.441 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005591/0.1134, allocations: 206.8 kB / 0.4935 GB, free: 8.238 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004418/0.1138, allocations: 162.8 kB / 0.4936 GB, free: 8.078 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002515/0.1141, allocations: 127.8 kB / 0.4938 GB, free: 7.953 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006452/0.1147, allocations: 0.5759 MB / 0.4943 GB, free: 7.375 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002024/0.1149, allocations: 80.58 kB / 0.4944 GB, free: 7.289 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002771/0.1152, allocations: 231.1 kB / 0.4946 GB, free: 7.062 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003398/0.1156, allocations: 234.9 kB / 0.4948 GB, free: 6.832 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.237e-05/0.1156, allocations: 52 kB / 0.4949 GB, free: 6.781 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001481/0.1158, allocations: 75.98 kB / 0.495 GB, free: 6.707 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001107/0.1159, allocations: 107.6 kB / 0.4951 GB, free: 6.602 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001987/0.1161, allocations: 191.1 kB / 0.4953 GB, free: 6.414 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006589/0.1168, allocations: 0.5565 MB / 0.4958 GB, free: 5.855 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.1168, allocations: 0 / 0.4958 GB, free: 5.855 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1168, allocations: 3.938 kB / 0.4958 GB, free: 5.852 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.552e-06/0.1168, allocations: 0 / 0.4958 GB, free: 5.852 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001959/0.1187, allocations: 0.7617 MB / 0.4965 GB, free: 5.059 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.1188, allocations: 12.03 kB / 0.4966 GB, free: 5.047 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.329e-05/0.1188, allocations: 54.73 kB / 0.4966 GB, free: 4.984 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.999e-05/0.1189, allocations: 48.66 kB / 0.4967 GB, free: 4.938 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001243/0.1202, allocations: 443.6 kB / 0.4971 GB, free: 4.477 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.361e-05/0.1202, allocations: 20.44 kB / 0.4971 GB, free: 4.453 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.14e-05/0.1203, allocations: 24 kB / 0.4971 GB, free: 4.43 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007081/0.121, allocations: 350.1 kB / 0.4975 GB, free: 4.062 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.121, allocations: 0 / 0.4975 GB, free: 4.062 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.662e-05/0.121, allocations: 12 kB / 0.4975 GB, free: 4.051 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/0.121, allocations: 7.984 kB / 0.4975 GB, free: 4.043 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007873/0.1218, allocations: 277.8 kB / 0.4977 GB, free: 3.773 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002529/0.1243, allocations: 1.206 MB / 0.4989 GB, free: 2.5 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006512/0.125, allocations: 210.5 kB / 0.4991 GB, free: 2.285 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004386/0.1254, allocations: 135.9 kB / 0.4992 GB, free: 2.152 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.638e-05/0.1255, allocations: 0 / 0.4992 GB, free: 2.152 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.089e-05/0.1255, allocations: 42.56 kB / 0.4993 GB, free: 2.102 MB / 366.1 MB Notification: Performance of pre-optimization done (n=15): time 1.463e-06/0.1255, allocations: 0 / 0.4993 GB, free: 2.102 MB / 366.1 MB Notification: Performance of matching and sorting (n=15): time 0.002431/0.1279, allocations: 0.5137 MB / 0.4998 GB, free: 1.578 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.885e-05/0.128, allocations: 51.41 kB / 0.4998 GB, free: 1.516 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000504/0.1285, allocations: 393.6 kB / 0.5002 GB, free: 1.117 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.592e-05/0.1285, allocations: 29.7 kB / 0.5002 GB, free: 1.082 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001867/0.1287, allocations: 224.2 kB / 0.5005 GB, free: 0.8555 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.303e-05/0.1287, allocations: 59.55 kB / 0.5005 GB, free: 0.7969 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000117/0.1289, allocations: 65.61 kB / 0.5006 GB, free: 0.7266 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.129, allocations: 342.8 kB / 0.5009 GB, free: 392 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000343/0.1294, allocations: 115.9 kB / 0.501 GB, free: 276 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003641/0.1297, allocations: 156.1 kB / 0.5012 GB, free: 104 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006694/0.1304, allocations: 251.9 kB / 0.5014 GB, free: 15.85 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.1304, allocations: 0 / 0.5014 GB, free: 15.85 MB / 382.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001377/0.1318, allocations: 465.2 kB / 0.5018 GB, free: 15.38 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.1318, allocations: 8 kB / 0.5019 GB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.1318, allocations: 3.938 kB / 0.5019 GB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009586/0.1328, allocations: 261.5 kB / 0.5021 GB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002315/0.133, allocations: 43.97 kB / 0.5021 GB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002517/0.1355, allocations: 2.132 MB / 0.5042 GB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004158/0.1359, allocations: 43.91 kB / 0.5043 GB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.355e-05/0.1359, allocations: 8 kB / 0.5043 GB, free: 12.74 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 (26): * Single equations (assignments): 24 * 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.0002393/0.1362, allocations: 149.8 kB / 0.5044 GB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.729e-05/0.1363, allocations: 39.7 kB / 0.5045 GB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.802e-05/0.1364, allocations: 39.17 kB / 0.5045 GB, free: 12.51 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.1364, allocations: 0 / 0.5045 GB, free: 12.51 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.1364, allocations: 0 / 0.5045 GB, free: 12.51 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.1364, allocations: 0 / 0.5045 GB, free: 12.51 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00172/0.1381, allocations: 0.7315 MB / 0.5052 GB, free: 11.72 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.1381, allocations: 4.031 kB / 0.5052 GB, free: 11.72 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001195/0.1382, allocations: 27.92 kB / 0.5052 GB, free: 11.69 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004564/0.1387, allocations: 176.8 kB / 0.5054 GB, free: 11.52 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.751e-05/0.1387, allocations: 4 kB / 0.5054 GB, free: 11.51 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008154/0.1395, allocations: 0.6772 MB / 0.5061 GB, free: 10.81 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.1395, allocations: 0 / 0.5061 GB, free: 10.81 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001099/0.1406, allocations: 440.7 kB / 0.5065 GB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001467/0.1407, allocations: 55.72 kB / 0.5066 GB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.794e-05/0.1408, allocations: 4 kB / 0.5066 GB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003019/0.1411, allocations: 19.98 kB / 0.5066 GB, free: 10.28 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.499e-05/0.1411, allocations: 11.98 kB / 0.5066 GB, free: 10.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.817e-05/0.1412, allocations: 7.984 kB / 0.5066 GB, free: 10.26 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003277/0.1415, allocations: 271.2 kB / 0.5069 GB, free: 9.996 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1415, allocations: 0 / 0.5069 GB, free: 9.996 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004098/0.1419, allocations: 91.77 kB / 0.5069 GB, free: 9.906 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 (13): * Single equations (assignments): 12 * 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.001454/0.1434, allocations: 0.9675 MB / 0.5079 GB, free: 8.906 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001069/0.1444, allocations: 402.6 kB / 0.5083 GB, free: 8.5 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.1444, allocations: 0 / 0.5083 GB, free: 8.5 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003219/0.1447, allocations: 108 kB / 0.5084 GB, free: 8.395 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005597/0.1453, allocations: 81.44 kB / 0.5084 GB, free: 8.312 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006135/0.1514, allocations: 3.454 MB / 0.5118 GB, free: 4.746 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002022/0.1516, allocations: 182.4 kB / 0.512 GB, free: 4.547 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001927/0.1518, allocations: 43.27 kB / 0.512 GB, free: 4.508 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001755/0.152, allocations: 115.4 kB / 0.5121 GB, free: 4.395 MB / 382.1 MB Notification: Performance of SimCode: time 7.11e-07/0.152, allocations: 0 / 0.5121 GB, free: 4.395 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2815/0.4335, allocations: 9.459 MB / 0.5214 GB, free: 31.29 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.69/13.13, allocations: 12.16 kB / 0.5214 GB, free: 31.29 MB / 382.1 MB " [Timeout remaining time 647] (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleSymmetric_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleSymmetric.fmu > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.74371994799003] Failed to read output from testmodel.py, exit status != 0: 13.25066116405651 13.271804947 13.151126837 Calling exit ...