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.001318/0.001318, allocations: 113 kB / 18.94 MB, free: 2.957 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.001456/0.001456, allocations: 214.3 kB / 22.25 MB, free: 5.121 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.556/1.556, allocations: 230.6 MB / 256 MB, free: 8.016 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.03032/0.03032, allocations: 5.482 MB / 317.9 MB, free: 13.75 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.002069/0.002069, allocations: 67.89 kB / 446.2 MB, free: 3.949 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1099, allocations: 54.62 MB / 0.4891 GB, free: 13.23 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleSymmetric): time 0.0055/0.1154, allocations: 3.488 MB / 0.4925 GB, free: 9.719 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002683/0.1181, allocations: 1.324 MB / 0.4938 GB, free: 8.391 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004071/0.1185, allocations: 4 kB / 0.4938 GB, free: 8.387 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000841/0.1193, allocations: 238.6 kB / 0.494 GB, free: 8.152 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007155/0.12, allocations: 170.8 kB / 0.4942 GB, free: 7.984 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004416/0.1205, allocations: 123.8 kB / 0.4943 GB, free: 7.863 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008775/0.1214, allocations: 0.5791 MB / 0.4948 GB, free: 7.285 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000279/0.1216, allocations: 84.58 kB / 0.4949 GB, free: 7.195 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003215/0.122, allocations: 231.1 kB / 0.4951 GB, free: 6.969 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003934/0.1224, allocations: 254.9 kB / 0.4954 GB, free: 6.719 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.169e-05/0.1225, allocations: 52 kB / 0.4954 GB, free: 6.668 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001807/0.1226, allocations: 75.98 kB / 0.4955 GB, free: 6.594 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001276/0.1228, allocations: 119.6 kB / 0.4956 GB, free: 6.477 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00026/0.123, allocations: 230.8 kB / 0.4958 GB, free: 6.25 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007606/0.1238, allocations: 0.5487 MB / 0.4964 GB, free: 5.699 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.725e-06/0.1238, allocations: 3.938 kB / 0.4964 GB, free: 5.695 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.206e-06/0.1238, allocations: 0 / 0.4964 GB, free: 5.695 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.247e-05/0.1238, allocations: 0 / 0.4964 GB, free: 5.695 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.002248/0.1261, allocations: 0.7579 MB / 0.4971 GB, free: 4.906 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.103e-05/0.1261, allocations: 8.031 kB / 0.4971 GB, free: 4.898 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.823e-05/0.1262, allocations: 62.72 kB / 0.4972 GB, free: 4.828 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.275e-05/0.1263, allocations: 48.66 kB / 0.4972 GB, free: 4.781 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001249/0.1275, allocations: 439.6 kB / 0.4977 GB, free: 4.324 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.953e-05/0.1276, allocations: 24.44 kB / 0.4977 GB, free: 4.297 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.659e-05/0.1276, allocations: 24 kB / 0.4977 GB, free: 4.273 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000675/0.1283, allocations: 324.4 kB / 0.498 GB, free: 3.938 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.1283, allocations: 0 / 0.498 GB, free: 3.938 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.066e-05/0.1283, allocations: 15.88 kB / 0.498 GB, free: 3.922 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.113e-05/0.1283, allocations: 8 kB / 0.498 GB, free: 3.914 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007272/0.1291, allocations: 281.8 kB / 0.4983 GB, free: 3.641 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0025/0.1316, allocations: 1.28 MB / 0.4996 GB, free: 2.293 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006505/0.1322, allocations: 214.5 kB / 0.4998 GB, free: 2.074 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004146/0.1326, allocations: 136.8 kB / 0.4999 GB, free: 1.938 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.735e-05/0.1326, allocations: 4 kB / 0.4999 GB, free: 1.934 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.271e-05/0.1327, allocations: 30.56 kB / 0.4999 GB, free: 1.895 MB / 366.1 MB Notification: Performance of pre-optimization done (n=15): time 1.734e-06/0.1327, allocations: 0 / 0.4999 GB, free: 1.895 MB / 366.1 MB Notification: Performance of matching and sorting (n=15): time 0.002459/0.1351, allocations: 0.5176 MB / 0.5004 GB, free: 1.367 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.399e-05/0.1352, allocations: 55.41 kB / 0.5005 GB, free: 1.301 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004785/0.1357, allocations: 385.6 kB / 0.5008 GB, free: 0.9141 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.964e-05/0.1357, allocations: 29.7 kB / 0.5009 GB, free: 0.8789 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001797/0.1359, allocations: 216.2 kB / 0.5011 GB, free: 0.6602 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.994e-05/0.1359, allocations: 55.53 kB / 0.5011 GB, free: 0.6055 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001263/0.1361, allocations: 69.64 kB / 0.5012 GB, free: 0.5312 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.1362, allocations: 342.8 kB / 0.5015 GB, free: 192 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003318/0.1365, allocations: 115.9 kB / 0.5016 GB, free: 76 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003757/0.1369, allocations: 156 kB / 0.5018 GB, free: 15.91 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000671/0.1376, allocations: 256 kB / 0.502 GB, free: 15.65 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.1376, allocations: 4 kB / 0.502 GB, free: 15.64 MB / 382.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00134/0.1389, allocations: 457.2 kB / 0.5025 GB, free: 15.19 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.1389, allocations: 4 kB / 0.5025 GB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.139, allocations: 8.062 kB / 0.5025 GB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001018/0.14, allocations: 261.4 kB / 0.5027 GB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002344/0.1402, allocations: 47.97 kB / 0.5028 GB, free: 14.87 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002682/0.1429, allocations: 2.132 MB / 0.5049 GB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004242/0.1433, allocations: 43.77 kB / 0.5049 GB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.754e-05/0.1433, allocations: 11.98 kB / 0.5049 GB, free: 12.54 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.0002232/0.1436, allocations: 149.8 kB / 0.5051 GB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.378e-05/0.1436, allocations: 43.77 kB / 0.5051 GB, free: 12.34 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.272e-05/0.1437, allocations: 31.19 kB / 0.5051 GB, free: 12.31 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.1437, allocations: 4 kB / 0.5051 GB, free: 12.3 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.1437, allocations: 3.938 kB / 0.5051 GB, free: 12.3 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.1437, allocations: 3.984 kB / 0.5051 GB, free: 12.3 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001728/0.1455, allocations: 0.7682 MB / 0.5059 GB, free: 11.47 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.1455, allocations: 0 / 0.5059 GB, free: 11.47 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001188/0.1456, allocations: 27.92 kB / 0.5059 GB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004624/0.146, allocations: 176.8 kB / 0.5061 GB, free: 11.27 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.882e-05/0.1461, allocations: 4 kB / 0.5061 GB, free: 11.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008404/0.1469, allocations: 0.6772 MB / 0.5067 GB, free: 10.56 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.1469, allocations: 80 / 0.5067 GB, free: 10.56 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001069/0.148, allocations: 444 kB / 0.5072 GB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001469/0.1481, allocations: 51.73 kB / 0.5072 GB, free: 10.06 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.252e-05/0.1482, allocations: 8 kB / 0.5072 GB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002943/0.1485, allocations: 23.97 kB / 0.5073 GB, free: 10.03 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.638e-05/0.1485, allocations: 11.98 kB / 0.5073 GB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.482e-05/0.1485, allocations: 4 kB / 0.5073 GB, free: 10.01 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003271/0.1489, allocations: 271.2 kB / 0.5075 GB, free: 9.746 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1489, allocations: 0 / 0.5075 GB, free: 9.746 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004244/0.1493, allocations: 79.89 kB / 0.5076 GB, free: 9.668 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.00155/0.1508, allocations: 0.9846 MB / 0.5086 GB, free: 8.652 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001089/0.1519, allocations: 391.3 kB / 0.5089 GB, free: 8.254 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.1519, allocations: 4 kB / 0.5089 GB, free: 8.25 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003055/0.1522, allocations: 100 kB / 0.509 GB, free: 8.152 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005681/0.1528, allocations: 89.34 kB / 0.5091 GB, free: 8.062 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00642/0.1592, allocations: 3.456 MB / 0.5125 GB, free: 4.5 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004813/0.1597, allocations: 0.7795 MB / 0.5133 GB, free: 3.691 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001993/0.1599, allocations: 43.25 kB / 0.5133 GB, free: 3.652 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001724/0.1601, allocations: 119.3 kB / 0.5134 GB, free: 3.535 MB / 382.1 MB Notification: Performance of SimCode: time 1.443e-06/0.1601, allocations: 0 / 0.5134 GB, free: 3.535 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2809/0.441, allocations: 9.246 MB / 0.5224 GB, free: 32.26 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.98/13.43, allocations: 11.41 kB / 0.5225 GB, free: 32.26 MB / 382.1 MB " [Timeout remaining time 646] (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 & python3 -m fmpy simulate --output-file PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric_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_SimpleModuleSymmetric.fmu > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.245669581003312] Failed to read output from testmodel.py, exit status != 0: 13.543081456999062 13.557670414 13.430225715 Calling exit ...