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.001246/0.001246, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001389/0.001389, allocations: 217.6 kB / 23.03 MB, free: 4.945 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.388/1.388, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.02856/0.02856, allocations: 5.483 MB / 318.7 MB, free: 13.55 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics.Examples.SimpleModuleSymmetric,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleSymmetric",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.00219/0.00219, allocations: 67.91 kB / 446.9 MB, free: 3.684 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1169, allocations: 54.62 MB / 0.4897 GB, free: 12.97 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleSymmetric): time 0.005296/0.1222, allocations: 3.178 MB / 0.4928 GB, free: 9.77 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002481/0.1247, allocations: 1.219 MB / 0.494 GB, free: 8.547 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003534/0.125, allocations: 4 kB / 0.494 GB, free: 8.543 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006941/0.1257, allocations: 218.7 kB / 0.4942 GB, free: 8.328 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005679/0.1263, allocations: 162.9 kB / 0.4944 GB, free: 8.168 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003026/0.1266, allocations: 123.8 kB / 0.4945 GB, free: 8.047 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007174/0.1273, allocations: 0.5798 MB / 0.4951 GB, free: 7.465 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002037/0.1275, allocations: 84.59 kB / 0.4952 GB, free: 7.375 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000258/0.1278, allocations: 231.1 kB / 0.4954 GB, free: 7.148 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003256/0.1281, allocations: 258.9 kB / 0.4956 GB, free: 6.895 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.773e-05/0.1282, allocations: 56 kB / 0.4957 GB, free: 6.84 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000143/0.1283, allocations: 72 kB / 0.4957 GB, free: 6.77 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001176/0.1285, allocations: 119.6 kB / 0.4959 GB, free: 6.652 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002029/0.1287, allocations: 195 kB / 0.496 GB, free: 6.461 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006404/0.1293, allocations: 0.5487 MB / 0.4966 GB, free: 5.91 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1293, allocations: 0 / 0.4966 GB, free: 5.91 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1293, allocations: 0 / 0.4966 GB, free: 5.91 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.083e-06/0.1293, allocations: 4 kB / 0.4966 GB, free: 5.906 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.002013/0.1313, allocations: 0.7579 MB / 0.4973 GB, free: 5.117 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.1314, allocations: 8.031 kB / 0.4973 GB, free: 5.109 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.035e-05/0.1314, allocations: 12.69 kB / 0.4973 GB, free: 5.098 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.333e-05/0.1315, allocations: 58.73 kB / 0.4974 GB, free: 5.031 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.1e-05/0.1316, allocations: 44.66 kB / 0.4974 GB, free: 4.988 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001238/0.1328, allocations: 451.3 kB / 0.4979 GB, free: 4.516 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.755e-05/0.1328, allocations: 16.5 kB / 0.4979 GB, free: 4.5 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.157e-05/0.1329, allocations: 24 kB / 0.4979 GB, free: 4.477 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006956/0.1336, allocations: 350.1 kB / 0.4982 GB, free: 4.109 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.1336, allocations: 0 / 0.4982 GB, free: 4.109 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.404e-05/0.1336, allocations: 12 kB / 0.4983 GB, free: 4.098 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.115e-05/0.1336, allocations: 4 kB / 0.4983 GB, free: 4.094 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007309/0.1343, allocations: 285.8 kB / 0.4985 GB, free: 3.816 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002407/0.1368, allocations: 1.202 MB / 0.4997 GB, free: 2.543 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006249/0.1374, allocations: 214.4 kB / 0.4999 GB, free: 2.324 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003983/0.1378, allocations: 135.9 kB / 0.5 GB, free: 2.191 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.38e-05/0.1378, allocations: 0 / 0.5 GB, free: 2.191 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.895e-05/0.1378, allocations: 38.56 kB / 0.5001 GB, free: 2.145 MB / 366.1 MB Notification: Performance of pre-optimization done (n=15): time 1.193e-06/0.1378, allocations: 0 / 0.5001 GB, free: 2.145 MB / 366.1 MB Notification: Performance of matching and sorting (n=15): time 0.002401/0.1402, allocations: 0.5137 MB / 0.5006 GB, free: 1.621 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.435e-05/0.1403, allocations: 55.41 kB / 0.5006 GB, free: 1.555 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004792/0.1408, allocations: 385.6 kB / 0.501 GB, free: 1.168 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.178e-05/0.1408, allocations: 33.64 kB / 0.501 GB, free: 1.129 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001861/0.141, allocations: 224.2 kB / 0.5013 GB, free: 0.9023 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.408e-05/0.141, allocations: 59.5 kB / 0.5013 GB, free: 0.8438 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001185/0.1411, allocations: 65.64 kB / 0.5014 GB, free: 0.7734 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001592/0.1413, allocations: 346.8 kB / 0.5017 GB, free: 436 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003181/0.1416, allocations: 111.9 kB / 0.5018 GB, free: 324 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004036/0.142, allocations: 156.1 kB / 0.502 GB, free: 152 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006366/0.1427, allocations: 252 kB / 0.5022 GB, free: 15.89 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.1427, allocations: 0 / 0.5022 GB, free: 15.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001298/0.144, allocations: 469.1 kB / 0.5026 GB, free: 15.42 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.144, allocations: 6.812 kB / 0.5027 GB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.144, allocations: 0 / 0.5027 GB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009849/0.145, allocations: 261.5 kB / 0.5029 GB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002285/0.1452, allocations: 47.91 kB / 0.5029 GB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002467/0.1477, allocations: 2.128 MB / 0.505 GB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003857/0.1481, allocations: 47.73 kB / 0.5051 GB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.712e-05/0.1481, allocations: 12.05 kB / 0.5051 GB, free: 12.78 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.0002011/0.1483, allocations: 145.8 kB / 0.5052 GB, free: 12.63 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.341e-05/0.1484, allocations: 43.7 kB / 0.5053 GB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.924e-05/0.1484, allocations: 35.27 kB / 0.5053 GB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.1484, allocations: 4 kB / 0.5053 GB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/0.1484, allocations: 3.938 kB / 0.5053 GB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.1484, allocations: 0 / 0.5053 GB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001655/0.1501, allocations: 0.7282 MB / 0.506 GB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.1501, allocations: 4 kB / 0.506 GB, free: 11.76 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001133/0.1502, allocations: 28 kB / 0.506 GB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004622/0.1507, allocations: 168.7 kB / 0.5062 GB, free: 11.57 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.018e-05/0.1507, allocations: 4 kB / 0.5062 GB, free: 11.56 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008306/0.1515, allocations: 0.6772 MB / 0.5069 GB, free: 10.86 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.1515, allocations: 0 / 0.5069 GB, free: 10.86 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001119/0.1527, allocations: 448.8 kB / 0.5073 GB, free: 10.4 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001499/0.1528, allocations: 51.73 kB / 0.5073 GB, free: 10.35 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.209e-05/0.1529, allocations: 8 kB / 0.5074 GB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000293/0.1531, allocations: 15.98 kB / 0.5074 GB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.305e-05/0.1532, allocations: 15.97 kB / 0.5074 GB, free: 10.31 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.838e-05/0.1532, allocations: 7.938 kB / 0.5074 GB, free: 10.3 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003502/0.1536, allocations: 271.2 kB / 0.5077 GB, free: 10.04 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1536, allocations: 4 kB / 0.5077 GB, free: 10.03 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004215/0.154, allocations: 79.89 kB / 0.5077 GB, free: 9.953 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.001536/0.1555, allocations: 0.9791 MB / 0.5087 GB, free: 8.941 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001091/0.1566, allocations: 390.4 kB / 0.5091 GB, free: 8.547 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1566, allocations: 0 / 0.5091 GB, free: 8.547 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003215/0.1569, allocations: 108 kB / 0.5092 GB, free: 8.441 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005399/0.1575, allocations: 77.39 kB / 0.5092 GB, free: 8.367 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006651/0.1641, allocations: 3.451 MB / 0.5126 GB, free: 4.805 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002098/0.1644, allocations: 178.5 kB / 0.5128 GB, free: 4.609 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001859/0.1645, allocations: 51.23 kB / 0.5128 GB, free: 4.562 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000176/0.1647, allocations: 111.4 kB / 0.5129 GB, free: 4.453 MB / 382.1 MB Notification: Performance of SimCode: time 9.42e-07/0.1647, allocations: 0 / 0.5129 GB, free: 4.453 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.229/0.3937, allocations: 9.117 MB / 0.5218 GB, free: 32.19 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.89/13.28, allocations: 8.516 kB / 0.5218 GB, free: 32.18 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 os._exit(0), Time elapsed: 15.89378307107836] Failed to read output from testmodel.py, exit status != 0: 13.45380944700446 13.476433966 13.342766714 Calling exit ...