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.00134/0.00134, allocations: 118.9 kB / 17.17 MB, free: 5.977 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.001453/0.001453, allocations: 211.3 kB / 20.13 MB, free: 3.035 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.415/1.415, 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.02747/0.02747, allocations: 5.488 MB / 315 MB, free: 1.559 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.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.002131/0.002131, allocations: 62.59 kB / 441.3 MB, free: 37.12 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09156/0.09369, allocations: 54.59 MB / 495.9 MB, free: 8.852 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleSymmetric): time 0.003379/0.09707, allocations: 3.47 MB / 499.4 MB, free: 5.359 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00137/0.09844, allocations: 1.32 MB / 0.4889 GB, free: 4.035 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001573/0.0986, allocations: 4 kB / 0.4889 GB, free: 4.031 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004637/0.09906, allocations: 238.6 kB / 0.4892 GB, free: 3.797 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002725/0.09933, allocations: 170.8 kB / 0.4893 GB, free: 3.629 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001535/0.09949, allocations: 119.8 kB / 0.4894 GB, free: 3.512 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003663/0.09985, allocations: 0.5798 MB / 0.49 GB, free: 2.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001581/0.1, allocations: 84.12 kB / 0.4901 GB, free: 2.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001592/0.1002, allocations: 223.1 kB / 0.4903 GB, free: 2.621 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002088/0.1004, allocations: 262.9 kB / 0.4906 GB, free: 2.363 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.239e-05/0.1004, allocations: 52 kB / 0.4906 GB, free: 2.312 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001011/0.1005, allocations: 71.98 kB / 0.4907 GB, free: 2.242 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.894e-05/0.1006, allocations: 119.5 kB / 0.4908 GB, free: 2.125 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000136/0.1007, allocations: 230.8 kB / 0.491 GB, free: 1.898 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000402/0.1011, allocations: 0.5487 MB / 0.4915 GB, free: 1.348 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.1011, allocations: 0 / 0.4915 GB, free: 1.348 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1011, allocations: 4 kB / 0.4915 GB, free: 1.344 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.1011, allocations: 4 kB / 0.4916 GB, free: 1.34 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001644/0.1028, allocations: 0.8254 MB / 0.4924 GB, free: 476 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.1028, allocations: 12.03 kB / 0.4924 GB, free: 464 kB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.221e-05/0.1028, allocations: 8.75 kB / 0.4924 GB, free: 456 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.898e-05/0.1029, allocations: 58.73 kB / 0.4924 GB, free: 388 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.538e-05/0.103, allocations: 48.66 kB / 0.4925 GB, free: 340 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001058/0.104, allocations: 0.4986 MB / 0.493 GB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.283e-05/0.104, allocations: 16.56 kB / 0.493 GB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.962e-05/0.1041, allocations: 28 kB / 0.493 GB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006445/0.1047, allocations: 321.3 kB / 0.4933 GB, free: 15.42 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.1047, allocations: 4 kB / 0.4933 GB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.183e-05/0.1048, allocations: 12 kB / 0.4933 GB, free: 15.4 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.1048, allocations: 4 kB / 0.4933 GB, free: 15.4 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007257/0.1055, allocations: 286 kB / 0.4936 GB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002376/0.1079, allocations: 1.308 MB / 0.4949 GB, free: 13.73 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006763/0.1086, allocations: 303.4 kB / 0.4952 GB, free: 13.41 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004056/0.109, allocations: 136.8 kB / 0.4953 GB, free: 13.27 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.608e-05/0.109, allocations: 7.938 kB / 0.4953 GB, free: 13.27 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.246e-05/0.109, allocations: 38.55 kB / 0.4953 GB, free: 13.22 MB / 366.1 MB Notification: Performance of pre-optimization done (n=15): time 1.493e-06/0.109, allocations: 0 / 0.4953 GB, free: 13.22 MB / 366.1 MB Notification: Performance of matching and sorting (n=15): time 0.002362/0.1114, allocations: 0.5924 MB / 0.4959 GB, free: 12.6 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.44e-05/0.1114, allocations: 51.41 kB / 0.496 GB, free: 12.54 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004502/0.1119, allocations: 385.7 kB / 0.4963 GB, free: 12.15 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.616e-05/0.1119, allocations: 25.7 kB / 0.4964 GB, free: 12.12 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000176/0.1121, allocations: 224.1 kB / 0.4966 GB, free: 11.9 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.673e-05/0.1122, allocations: 55.53 kB / 0.4966 GB, free: 11.84 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000117/0.1123, allocations: 65.64 kB / 0.4967 GB, free: 11.77 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001657/0.1124, allocations: 350.7 kB / 0.497 GB, free: 11.42 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003261/0.1128, allocations: 111.9 kB / 0.4971 GB, free: 11.31 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003552/0.1131, allocations: 156.1 kB / 0.4973 GB, free: 11.14 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006189/0.1137, allocations: 251.5 kB / 0.4975 GB, free: 10.89 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1137, allocations: 0 / 0.4975 GB, free: 10.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001279/0.115, allocations: 461.2 kB / 0.498 GB, free: 10.43 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.115, allocations: 4 kB / 0.498 GB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.115, allocations: 0 / 0.498 GB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009279/0.116, allocations: 253.6 kB / 0.4982 GB, free: 10.17 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002193/0.1162, allocations: 51.91 kB / 0.4983 GB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002464/0.1186, allocations: 2.239 MB / 0.5005 GB, free: 7.707 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003486/0.119, allocations: 47.75 kB / 0.5005 GB, free: 7.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.956e-05/0.119, allocations: 15.92 kB / 0.5005 GB, free: 7.645 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 (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.0001764/0.1192, allocations: 145.8 kB / 0.5006 GB, free: 7.492 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.059e-05/0.1193, allocations: 35.77 kB / 0.5007 GB, free: 7.457 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.878e-05/0.1193, allocations: 43.31 kB / 0.5007 GB, free: 7.414 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.532e-06/0.1194, allocations: 0 / 0.5007 GB, free: 7.414 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.1194, allocations: 0 / 0.5007 GB, free: 7.414 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.181e-06/0.1194, allocations: 3.984 kB / 0.5007 GB, free: 7.41 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001652/0.121, allocations: 0.7887 MB / 0.5015 GB, free: 6.559 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.87e-06/0.121, allocations: 4 kB / 0.5015 GB, free: 6.555 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001211/0.1211, allocations: 31.92 kB / 0.5015 GB, free: 6.523 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004424/0.1216, allocations: 176.8 kB / 0.5017 GB, free: 6.348 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.969e-05/0.1216, allocations: 11.94 kB / 0.5017 GB, free: 6.336 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007949/0.1224, allocations: 0.6655 MB / 0.5024 GB, free: 5.645 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.1224, allocations: 0 / 0.5024 GB, free: 5.645 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001061/0.1235, allocations: 436.8 kB / 0.5028 GB, free: 5.195 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001441/0.1236, allocations: 136.8 kB / 0.5029 GB, free: 5.043 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.016e-05/0.1236, allocations: 0 / 0.5029 GB, free: 5.043 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002769/0.1239, allocations: 23.98 kB / 0.5029 GB, free: 5.02 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.196e-05/0.124, allocations: 15.92 kB / 0.5029 GB, free: 5.004 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-05/0.124, allocations: 8 kB / 0.503 GB, free: 4.996 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000296/0.1243, allocations: 267.2 kB / 0.5032 GB, free: 4.738 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1243, allocations: 0 / 0.5032 GB, free: 4.738 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003668/0.1246, allocations: 83.84 kB / 0.5033 GB, free: 4.656 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 (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.001431/0.1261, allocations: 0.9759 MB / 0.5042 GB, free: 3.648 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001031/0.1271, allocations: 391.6 kB / 0.5046 GB, free: 3.25 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1271, allocations: 0 / 0.5046 GB, free: 3.25 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003152/0.1274, allocations: 110 kB / 0.5047 GB, free: 3.145 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005116/0.1279, allocations: 79.38 kB / 0.5048 GB, free: 3.066 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005908/0.1338, allocations: 3.463 MB / 0.5082 GB, free: 15.49 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000398/0.1342, allocations: 0.7795 MB / 0.5089 GB, free: 14.68 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001485/0.1344, allocations: 47.25 kB / 0.509 GB, free: 14.64 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001686/0.1346, allocations: 119.4 kB / 0.5091 GB, free: 14.52 MB / 382.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1346, allocations: 3.938 kB / 0.5091 GB, free: 14.52 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03064/0.1652, allocations: 9.103 MB / 0.518 GB, free: 5.598 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.97/12.13, allocations: 11.98 kB / 0.518 GB, free: 5.586 MB / 382.1 MB " [Timeout remaining time 648] (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: 14.790855842991732] Failed to read output from testmodel.py, exit status != 0: 12.28785948897712 12.311096224 12.205814957 Calling exit ...