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.00182/0.00182, allocations: 97.92 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.002296/0.002296, allocations: 216.7 kB / 23.03 MB, free: 4.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.386/1.386, 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.02868/0.02868, allocations: 5.495 MB / 318.7 MB, free: 13.65 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.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.002044/0.002044, allocations: 63.91 kB / 446.9 MB, free: 3.762 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1027, allocations: 54.62 MB / 0.4897 GB, free: 13.04 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimplePlantSymmetric): time 0.004842/0.1075, allocations: 3.247 MB / 0.4929 GB, free: 9.773 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001956/0.1095, allocations: 1.231 MB / 0.4941 GB, free: 8.539 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001598/0.1096, allocations: 4 kB / 0.4941 GB, free: 8.535 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005499/0.1102, allocations: 214.7 kB / 0.4943 GB, free: 8.324 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003806/0.1106, allocations: 178.7 kB / 0.4945 GB, free: 8.148 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002235/0.1108, allocations: 115.9 kB / 0.4946 GB, free: 8.035 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006955/0.1115, allocations: 0.6109 MB / 0.4952 GB, free: 7.422 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002139/0.1117, allocations: 88.58 kB / 0.4953 GB, free: 7.328 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002869/0.112, allocations: 231.1 kB / 0.4955 GB, free: 7.102 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003369/0.1123, allocations: 270.9 kB / 0.4958 GB, free: 6.836 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.837e-05/0.1124, allocations: 56 kB / 0.4958 GB, free: 6.781 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001472/0.1126, allocations: 75.98 kB / 0.4959 GB, free: 6.707 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001124/0.1127, allocations: 119.5 kB / 0.496 GB, free: 6.59 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002013/0.1129, allocations: 199.1 kB / 0.4962 GB, free: 6.395 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006258/0.1135, allocations: 0.572 MB / 0.4967 GB, free: 5.82 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.1135, allocations: 0 / 0.4967 GB, free: 5.82 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1135, allocations: 0 / 0.4967 GB, free: 5.82 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.703e-06/0.1135, allocations: 0 / 0.4967 GB, free: 5.82 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.00202/0.1155, allocations: 0.7774 MB / 0.4975 GB, free: 5.008 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.1156, allocations: 12.03 kB / 0.4975 GB, free: 4.996 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.974e-05/0.1156, allocations: 8.844 kB / 0.4975 GB, free: 4.988 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.574e-05/0.1157, allocations: 62.72 kB / 0.4976 GB, free: 4.918 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001006/0.1158, allocations: 48.61 kB / 0.4976 GB, free: 4.871 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001385/0.1172, allocations: 471.5 kB / 0.4981 GB, free: 4.383 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.278e-05/0.1172, allocations: 16.66 kB / 0.4981 GB, free: 4.367 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.727e-05/0.1172, allocations: 28 kB / 0.4981 GB, free: 4.34 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008422/0.1181, allocations: 388.1 kB / 0.4985 GB, free: 3.938 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.1181, allocations: 3.938 kB / 0.4985 GB, free: 3.934 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.654e-05/0.1181, allocations: 12 kB / 0.4985 GB, free: 3.922 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.979e-06/0.1181, allocations: 8 kB / 0.4985 GB, free: 3.914 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001024/0.1192, allocations: 365.6 kB / 0.4989 GB, free: 3.555 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002432/0.1216, allocations: 1.25 MB / 0.5001 GB, free: 2.242 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001133/0.1227, allocations: 350.5 kB / 0.5004 GB, free: 1.891 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004795/0.1232, allocations: 155.6 kB / 0.5006 GB, free: 1.738 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.127e-05/0.1232, allocations: 0 / 0.5006 GB, free: 1.738 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.413e-05/0.1233, allocations: 42.48 kB / 0.5006 GB, free: 1.688 MB / 366.1 MB Notification: Performance of pre-optimization done (n=21): time 1.032e-06/0.1233, allocations: 0 / 0.5006 GB, free: 1.688 MB / 366.1 MB Notification: Performance of matching and sorting (n=21): time 0.003476/0.1267, allocations: 0.6891 MB / 0.5013 GB, free: 0.9883 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.744e-05/0.1268, allocations: 55.39 kB / 0.5013 GB, free: 0.9219 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004805/0.1273, allocations: 397.6 kB / 0.5017 GB, free: 0.5234 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.236e-05/0.1273, allocations: 29.7 kB / 0.5017 GB, free: 500 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001862/0.1275, allocations: 224.5 kB / 0.502 GB, free: 272 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.506e-05/0.1276, allocations: 75.33 kB / 0.502 GB, free: 196 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001397/0.1277, allocations: 73.61 kB / 0.5021 GB, free: 116 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001914/0.1279, allocations: 350.7 kB / 0.5024 GB, free: 15.76 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004402/0.1283, allocations: 147.9 kB / 0.5026 GB, free: 15.62 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004608/0.1288, allocations: 192.3 kB / 0.5028 GB, free: 15.42 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008376/0.1296, allocations: 312.9 kB / 0.5031 GB, free: 15.1 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.1296, allocations: 0 / 0.5031 GB, free: 15.1 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001999/0.1316, allocations: 0.5823 MB / 0.5036 GB, free: 14.51 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.1317, allocations: 8 kB / 0.5036 GB, free: 14.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.1317, allocations: 3.938 kB / 0.5036 GB, free: 14.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001206/0.1329, allocations: 329.5 kB / 0.5039 GB, free: 14.17 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002676/0.1331, allocations: 59.89 kB / 0.504 GB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002881/0.136, allocations: 2.198 MB / 0.5061 GB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004535/0.1365, allocations: 59.8 kB / 0.5062 GB, free: 11.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.413e-05/0.1365, allocations: 11.98 kB / 0.5062 GB, free: 11.7 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 (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.0002142/0.1367, allocations: 155.4 kB / 0.5064 GB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.265e-05/0.1368, allocations: 39.7 kB / 0.5064 GB, free: 11.5 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.254e-05/0.1369, allocations: 47.69 kB / 0.5064 GB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/0.1369, allocations: 7.938 kB / 0.5065 GB, free: 11.44 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.1369, allocations: 0 / 0.5065 GB, free: 11.44 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.1369, allocations: 0 / 0.5065 GB, free: 11.44 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001843/0.1387, allocations: 0.819 MB / 0.5073 GB, free: 10.56 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.1388, allocations: 4.062 kB / 0.5073 GB, free: 10.56 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001621/0.1389, allocations: 43.91 kB / 0.5073 GB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006993/0.1396, allocations: 248.7 kB / 0.5075 GB, free: 10.27 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.391e-05/0.1396, allocations: 11.98 kB / 0.5076 GB, free: 10.26 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001071/0.1407, allocations: 0.7357 MB / 0.5083 GB, free: 9.496 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.1407, allocations: 0 / 0.5083 GB, free: 9.496 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001531/0.1422, allocations: 0.5336 MB / 0.5088 GB, free: 8.941 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001503/0.1424, allocations: 71.77 kB / 0.5089 GB, free: 8.871 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.573e-05/0.1424, allocations: 11.88 kB / 0.5089 GB, free: 8.859 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000345/0.1428, allocations: 27.97 kB / 0.5089 GB, free: 8.832 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.888e-05/0.1428, allocations: 11.98 kB / 0.5089 GB, free: 8.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.567e-05/0.1429, allocations: 7.984 kB / 0.5089 GB, free: 8.812 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003297/0.1432, allocations: 279.2 kB / 0.5092 GB, free: 8.543 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1432, allocations: 0 / 0.5092 GB, free: 8.543 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000437/0.1436, allocations: 95.88 kB / 0.5093 GB, free: 8.449 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 (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.001958/0.1456, allocations: 1.084 MB / 0.5103 GB, free: 7.332 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001287/0.1469, allocations: 485.5 kB / 0.5108 GB, free: 6.844 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1469, allocations: 0 / 0.5108 GB, free: 6.844 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004604/0.1474, allocations: 151.1 kB / 0.5109 GB, free: 6.699 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000555/0.1479, allocations: 96.28 kB / 0.511 GB, free: 6.605 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006992/0.1549, allocations: 3.793 MB / 0.5147 GB, free: 2.695 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000186/0.1551, allocations: 187.6 kB / 0.5149 GB, free: 2.496 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001785/0.1553, allocations: 43.25 kB / 0.515 GB, free: 2.449 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001766/0.1554, allocations: 127.4 kB / 0.5151 GB, free: 2.324 MB / 382.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1554, allocations: 0 / 0.5151 GB, free: 2.324 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2201/0.3755, allocations: 9.965 MB / 0.5248 GB, free: 33.02 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.91/13.29, allocations: 8.812 kB / 0.5248 GB, free: 33.02 MB / 382.1 MB " [Timeout remaining time 647] (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: 15.899205498979427] Failed to read output from testmodel.py, exit status != 0: 13.45896192395594 13.479755753 13.362597157 Calling exit ...