Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.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.001335/0.001335, allocations: 116.8 kB / 17.16 MB, free: 5.895 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.001449/0.001449, allocations: 212 kB / 20.13 MB, free: 2.949 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.46/1.46, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.02801/0.02801, allocations: 5.48 MB / 315 MB, free: 1.562 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.SimplePlantSymmetric,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimplePlantSymmetric",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics.Examples.SimplePlantSymmetric,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimplePlantSymmetric",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.00279/0.00279, allocations: 69.16 kB / 441.3 MB, free: 37.13 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1075, allocations: 54.59 MB / 495.9 MB, free: 8.855 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimplePlantSymmetric): time 0.003861/0.1114, allocations: 3.53 MB / 499.4 MB, free: 5.305 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001871/0.1132, allocations: 1.336 MB / 0.489 GB, free: 3.965 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003852/0.1136, allocations: 7.938 kB / 0.489 GB, free: 3.957 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006121/0.1142, allocations: 238.7 kB / 0.4892 GB, free: 3.723 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000504/0.1147, allocations: 178.7 kB / 0.4894 GB, free: 3.547 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000235/0.115, allocations: 123.8 kB / 0.4895 GB, free: 3.426 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005525/0.1155, allocations: 0.6031 MB / 0.4901 GB, free: 2.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001908/0.1157, allocations: 84.11 kB / 0.4902 GB, free: 2.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002774/0.116, allocations: 231.1 kB / 0.4904 GB, free: 2.504 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002948/0.1163, allocations: 274.9 kB / 0.4907 GB, free: 2.234 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.483e-05/0.1164, allocations: 55.94 kB / 0.4907 GB, free: 2.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001326/0.1165, allocations: 79.98 kB / 0.4908 GB, free: 2.102 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.463e-05/0.1166, allocations: 115.6 kB / 0.4909 GB, free: 1.988 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001719/0.1167, allocations: 242.8 kB / 0.4912 GB, free: 1.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004735/0.1172, allocations: 0.5719 MB / 0.4917 GB, free: 1.176 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.1172, allocations: 0 / 0.4917 GB, free: 1.176 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1172, allocations: 3.938 kB / 0.4917 GB, free: 1.172 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.515e-05/0.1172, allocations: 0 / 0.4917 GB, free: 1.172 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.00182/0.119, allocations: 0.8488 MB / 0.4926 GB, free: 280 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.1191, allocations: 8.031 kB / 0.4926 GB, free: 272 kB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.669e-05/0.1191, allocations: 12.75 kB / 0.4926 GB, free: 260 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.696e-05/0.1192, allocations: 62.72 kB / 0.4926 GB, free: 188 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.256e-05/0.1192, allocations: 48.61 kB / 0.4927 GB, free: 140 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001322/0.1206, allocations: 0.522 MB / 0.4932 GB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.06e-05/0.1206, allocations: 20.56 kB / 0.4932 GB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.57e-05/0.1206, allocations: 24 kB / 0.4932 GB, free: 15.53 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008074/0.1215, allocations: 361.3 kB / 0.4936 GB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.1215, allocations: 4 kB / 0.4936 GB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.409e-05/0.1215, allocations: 8 kB / 0.4936 GB, free: 15.15 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.103e-05/0.1215, allocations: 8 kB / 0.4936 GB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001027/0.1225, allocations: 369.9 kB / 0.4939 GB, free: 14.78 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002564/0.1251, allocations: 1.418 MB / 0.4953 GB, free: 13.28 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001146/0.1262, allocations: 431.6 kB / 0.4957 GB, free: 12.83 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005004/0.1267, allocations: 152.8 kB / 0.4959 GB, free: 12.68 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.137e-05/0.1268, allocations: 7.984 kB / 0.4959 GB, free: 12.67 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.808e-05/0.1268, allocations: 38.5 kB / 0.4959 GB, free: 12.62 MB / 366.1 MB Notification: Performance of pre-optimization done (n=21): time 1.483e-06/0.1268, allocations: 4 kB / 0.4959 GB, free: 12.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=21): time 0.003313/0.1301, allocations: 0.7584 MB / 0.4967 GB, free: 11.83 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.157e-05/0.1302, allocations: 55.41 kB / 0.4967 GB, free: 11.77 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004978/0.1307, allocations: 393.6 kB / 0.4971 GB, free: 11.37 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.317e-05/0.1307, allocations: 33.7 kB / 0.4971 GB, free: 11.33 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001805/0.1309, allocations: 224.5 kB / 0.4973 GB, free: 11.11 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.336e-05/0.131, allocations: 75.38 kB / 0.4974 GB, free: 11.04 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000133/0.1311, allocations: 73.61 kB / 0.4975 GB, free: 10.96 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001652/0.1313, allocations: 350.7 kB / 0.4978 GB, free: 10.61 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004344/0.1317, allocations: 143.9 kB / 0.498 GB, free: 10.46 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004569/0.1321, allocations: 187.3 kB / 0.4981 GB, free: 10.27 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008249/0.133, allocations: 309.4 kB / 0.4984 GB, free: 9.957 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.133, allocations: 3.938 kB / 0.4984 GB, free: 9.953 MB / 366.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001995/0.135, allocations: 0.5862 MB / 0.499 GB, free: 9.355 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.135, allocations: 8 kB / 0.499 GB, free: 9.348 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.135, allocations: 4.031 kB / 0.499 GB, free: 9.344 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001171/0.1362, allocations: 337.4 kB / 0.4993 GB, free: 9.008 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002582/0.1364, allocations: 55.91 kB / 0.4994 GB, free: 8.953 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002838/0.1393, allocations: 2.31 MB / 0.5017 GB, free: 6.469 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000434/0.1397, allocations: 55.77 kB / 0.5017 GB, free: 6.414 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.201e-05/0.1397, allocations: 11.98 kB / 0.5017 GB, free: 6.402 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 (31): * Single equations (assignments): 29 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002316/0.14, allocations: 153.8 kB / 0.5019 GB, free: 6.242 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.955e-05/0.14, allocations: 39.77 kB / 0.5019 GB, free: 6.203 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.235e-05/0.1401, allocations: 43.61 kB / 0.5019 GB, free: 6.16 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/0.1401, allocations: 7.938 kB / 0.502 GB, free: 6.152 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.1401, allocations: 0 / 0.502 GB, free: 6.152 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.1401, allocations: 0 / 0.502 GB, free: 6.152 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001937/0.1421, allocations: 0.9074 MB / 0.5028 GB, free: 5.184 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.1421, allocations: 0 / 0.5028 GB, free: 5.184 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000165/0.1423, allocations: 31.92 kB / 0.5029 GB, free: 5.152 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007101/0.143, allocations: 256.7 kB / 0.5031 GB, free: 4.898 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.572e-05/0.143, allocations: 7.984 kB / 0.5031 GB, free: 4.891 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001104/0.1441, allocations: 0.7436 MB / 0.5038 GB, free: 4.121 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.1441, allocations: 0 / 0.5038 GB, free: 4.121 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001555/0.1457, allocations: 0.5385 MB / 0.5044 GB, free: 3.562 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001664/0.1458, allocations: 136.8 kB / 0.5045 GB, free: 3.41 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.553e-05/0.1459, allocations: 19.92 kB / 0.5045 GB, free: 3.391 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003387/0.1462, allocations: 19.98 kB / 0.5045 GB, free: 3.371 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.566e-05/0.1463, allocations: 15.97 kB / 0.5046 GB, free: 3.355 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.31e-05/0.1463, allocations: 7.984 kB / 0.5046 GB, free: 3.348 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003507/0.1466, allocations: 279.2 kB / 0.5048 GB, free: 3.074 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1466, allocations: 0 / 0.5048 GB, free: 3.074 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004208/0.1471, allocations: 91.89 kB / 0.5049 GB, free: 2.984 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 (18): * Single equations (assignments): 17 * 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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002074/0.1491, allocations: 1.093 MB / 0.506 GB, free: 1.859 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001435/0.1506, allocations: 467.2 kB / 0.5064 GB, free: 1.387 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.1506, allocations: 0 / 0.5064 GB, free: 1.387 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004772/0.1511, allocations: 154.9 kB / 0.5066 GB, free: 1.238 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006023/0.1517, allocations: 87.11 kB / 0.5067 GB, free: 1.156 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007365/0.159, allocations: 3.786 MB / 0.5104 GB, free: 13.25 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004471/0.1595, allocations: 0.7884 MB / 0.5111 GB, free: 12.44 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002037/0.1597, allocations: 47.25 kB / 0.5112 GB, free: 12.39 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001941/0.1599, allocations: 123.4 kB / 0.5113 GB, free: 12.27 MB / 382.1 MB Notification: Performance of SimCode: time 1.252e-06/0.1599, allocations: 0 / 0.5113 GB, free: 12.27 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03288/0.1927, allocations: 10.17 MB / 0.5212 GB, free: 2.281 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.02/12.22, allocations: 8.062 kB / 0.5212 GB, free: 2.273 MB / 382.1 MB " [Timeout remaining time 648] (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PhotoVoltaics_PhotoVoltaics_Examples_SimplePlantSymmetric_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 PhotoVoltaics_PhotoVoltaics_Examples_SimplePlantSymmetric.fmu > PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.978502164012752] Failed to read output from testmodel.py, exit status != 0: 12.37056433496764 12.393190043 12.271658436 Calling exit ...