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.001946/0.001946, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.00251/0.00251, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.462/1.462, allocations: 230.6 MB / 256 MB, free: 7.965 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.03143/0.03143, allocations: 5.489 MB / 317.9 MB, free: 13.71 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.003139/0.003139, allocations: 63.91 kB / 446.2 MB, free: 3.871 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1165, allocations: 54.62 MB / 0.4891 GB, free: 13.16 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleSymmetric): time 0.006008/0.1225, allocations: 3.496 MB / 0.4925 GB, free: 9.648 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002524/0.125, allocations: 1.328 MB / 0.4938 GB, free: 8.316 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004392/0.1254, allocations: 4 kB / 0.4938 GB, free: 8.312 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000878/0.1263, allocations: 242.6 kB / 0.494 GB, free: 8.074 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006575/0.127, allocations: 162.9 kB / 0.4942 GB, free: 7.914 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003337/0.1273, allocations: 127.8 kB / 0.4943 GB, free: 7.789 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008849/0.1282, allocations: 0.5798 MB / 0.4949 GB, free: 7.207 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002352/0.1284, allocations: 88.56 kB / 0.4949 GB, free: 7.113 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003743/0.1288, allocations: 219.2 kB / 0.4951 GB, free: 6.898 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004555/0.1293, allocations: 266.9 kB / 0.4954 GB, free: 6.637 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.424e-05/0.1294, allocations: 52 kB / 0.4954 GB, free: 6.586 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001837/0.1295, allocations: 75.98 kB / 0.4955 GB, free: 6.512 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001128/0.1297, allocations: 107.6 kB / 0.4956 GB, free: 6.406 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002811/0.1299, allocations: 238.8 kB / 0.4959 GB, free: 6.172 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007728/0.1307, allocations: 0.5486 MB / 0.4964 GB, free: 5.621 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.266e-06/0.1307, allocations: 4 kB / 0.4964 GB, free: 5.617 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1307, allocations: 0 / 0.4964 GB, free: 5.617 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.032e-05/0.1307, allocations: 4 kB / 0.4964 GB, free: 5.613 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.002226/0.133, allocations: 0.7462 MB / 0.4971 GB, free: 4.836 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.133, allocations: 8.031 kB / 0.4971 GB, free: 4.828 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.773e-05/0.1331, allocations: 62.72 kB / 0.4972 GB, free: 4.758 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000116/0.1332, allocations: 48.66 kB / 0.4972 GB, free: 4.711 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001298/0.1345, allocations: 443.6 kB / 0.4977 GB, free: 4.25 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.599e-05/0.1345, allocations: 24.44 kB / 0.4977 GB, free: 4.223 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.914e-05/0.1346, allocations: 24 kB / 0.4977 GB, free: 4.199 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006902/0.1353, allocations: 324.4 kB / 0.498 GB, free: 3.863 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.1353, allocations: 3.938 kB / 0.498 GB, free: 3.859 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.051e-05/0.1353, allocations: 8 kB / 0.498 GB, free: 3.852 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/0.1353, allocations: 8 kB / 0.498 GB, free: 3.844 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007734/0.1361, allocations: 281.8 kB / 0.4983 GB, free: 3.57 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002534/0.1387, allocations: 1.276 MB / 0.4996 GB, free: 2.227 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006497/0.1393, allocations: 218.4 kB / 0.4998 GB, free: 2.004 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004236/0.1397, allocations: 132.8 kB / 0.4999 GB, free: 1.871 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.716e-05/0.1398, allocations: 7.938 kB / 0.4999 GB, free: 1.863 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.019e-05/0.1398, allocations: 38.55 kB / 0.4999 GB, free: 1.816 MB / 366.1 MB Notification: Performance of pre-optimization done (n=15): time 1.483e-06/0.1398, allocations: 0 / 0.4999 GB, free: 1.816 MB / 366.1 MB Notification: Performance of matching and sorting (n=15): time 0.002432/0.1422, allocations: 0.5098 MB / 0.5004 GB, free: 1.297 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.455e-05/0.1423, allocations: 59.41 kB / 0.5005 GB, free: 1.227 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005177/0.1428, allocations: 389.6 kB / 0.5009 GB, free: 0.8359 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.195e-05/0.1428, allocations: 25.7 kB / 0.5009 GB, free: 0.8047 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001972/0.143, allocations: 224.2 kB / 0.5011 GB, free: 0.5781 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.428e-05/0.1431, allocations: 55.53 kB / 0.5011 GB, free: 0.5234 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001194/0.1432, allocations: 61.64 kB / 0.5012 GB, free: 468 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001944/0.1434, allocations: 346.8 kB / 0.5015 GB, free: 112 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003614/0.1437, allocations: 120 kB / 0.5017 GB, free: 15.99 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003614/0.1441, allocations: 152.1 kB / 0.5018 GB, free: 15.82 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006369/0.1447, allocations: 252 kB / 0.502 GB, free: 15.57 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.1447, allocations: 0 / 0.502 GB, free: 15.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001329/0.1461, allocations: 469.1 kB / 0.5025 GB, free: 15.1 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.1461, allocations: 4 kB / 0.5025 GB, free: 15.1 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.1461, allocations: 0 / 0.5025 GB, free: 15.1 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009767/0.1471, allocations: 253.6 kB / 0.5027 GB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002248/0.1473, allocations: 47.91 kB / 0.5028 GB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002609/0.1499, allocations: 2.132 MB / 0.5049 GB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003899/0.1503, allocations: 47.86 kB / 0.5049 GB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.853e-05/0.1503, allocations: 15.98 kB / 0.5049 GB, free: 12.46 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.0001935/0.1505, allocations: 141.8 kB / 0.5051 GB, free: 12.31 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001047/0.1506, allocations: 43.7 kB / 0.5051 GB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.258e-05/0.1507, allocations: 39.12 kB / 0.5051 GB, free: 12.23 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.1507, allocations: 4 kB / 0.5051 GB, free: 12.23 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.1507, allocations: 4 kB / 0.5051 GB, free: 12.22 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.1507, allocations: 0 / 0.5051 GB, free: 12.22 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001774/0.1525, allocations: 0.7664 MB / 0.5059 GB, free: 11.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.1525, allocations: 3.984 kB / 0.5059 GB, free: 11.4 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000118/0.1526, allocations: 27.98 kB / 0.5059 GB, free: 11.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004457/0.1531, allocations: 176.8 kB / 0.5061 GB, free: 11.2 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.59e-05/0.1531, allocations: 0 / 0.5061 GB, free: 11.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008474/0.1539, allocations: 0.6733 MB / 0.5067 GB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.1539, allocations: 0 / 0.5067 GB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001188/0.1551, allocations: 440.8 kB / 0.5072 GB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001427/0.1552, allocations: 59.67 kB / 0.5072 GB, free: 9.988 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.145e-05/0.1553, allocations: 4 kB / 0.5072 GB, free: 9.984 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003013/0.1556, allocations: 23.97 kB / 0.5072 GB, free: 9.961 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.479e-05/0.1556, allocations: 7.984 kB / 0.5073 GB, free: 9.953 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.82e-05/0.1557, allocations: 8 kB / 0.5073 GB, free: 9.945 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003207/0.156, allocations: 275.1 kB / 0.5075 GB, free: 9.676 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.156, allocations: 4 kB / 0.5075 GB, free: 9.672 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003875/0.1564, allocations: 75.89 kB / 0.5076 GB, free: 9.598 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.001478/0.1579, allocations: 0.9819 MB / 0.5086 GB, free: 8.586 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001126/0.159, allocations: 395.4 kB / 0.5089 GB, free: 8.184 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.159, allocations: 0 / 0.5089 GB, free: 8.184 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003209/0.1593, allocations: 100 kB / 0.509 GB, free: 8.086 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000534/0.1598, allocations: 91.77 kB / 0.5091 GB, free: 7.996 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006471/0.1663, allocations: 3.454 MB / 0.5125 GB, free: 4.434 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004992/0.1668, allocations: 0.7834 MB / 0.5133 GB, free: 3.621 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001813/0.167, allocations: 43.25 kB / 0.5133 GB, free: 3.582 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001911/0.1672, allocations: 119.4 kB / 0.5134 GB, free: 3.465 MB / 382.1 MB Notification: Performance of SimCode: time 1.522e-06/0.1672, allocations: 0 / 0.5134 GB, free: 3.465 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2421/0.4093, allocations: 9.249 MB / 0.5224 GB, free: 32.27 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.16/13.57, allocations: 9.078 kB / 0.5225 GB, free: 32.27 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 & /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: 16.292075040983036] Failed to read output from testmodel.py, exit status != 0: 13.698805953143165 13.725869861 13.590178993 Calling exit ...