Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.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.001345/0.001345, allocations: 117.4 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.001617/0.001617, allocations: 214.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.406/1.406, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.02763/0.02763, allocations: 5.487 MB / 315 MB, free: 1.547 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.SimpleCellVoltageSource,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleCellVoltageSource",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics.Examples.SimpleCellVoltageSource,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleCellVoltageSource",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.001895/0.001895, allocations: 69.94 kB / 441.3 MB, free: 37.13 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08727/0.08917, allocations: 54.58 MB / 495.9 MB, free: 8.859 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleCellVoltageSource): time 0.003902/0.09307, allocations: 3.307 MB / 499.2 MB, free: 5.527 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001876/0.09495, allocations: 1.274 MB / 0.4887 GB, free: 4.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003309/0.09528, allocations: 7.938 kB / 0.4887 GB, free: 4.242 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005169/0.09579, allocations: 234.7 kB / 0.489 GB, free: 4.012 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003028/0.0961, allocations: 150.9 kB / 0.4891 GB, free: 3.863 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001712/0.09627, allocations: 115.8 kB / 0.4892 GB, free: 3.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003573/0.09662, allocations: 0.5254 MB / 0.4897 GB, free: 3.223 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001673/0.09679, allocations: 84.11 kB / 0.4898 GB, free: 3.137 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001542/0.09695, allocations: 203.3 kB / 0.49 GB, free: 2.938 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001959/0.09714, allocations: 243 kB / 0.4902 GB, free: 2.699 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.039e-05/0.09719, allocations: 48 kB / 0.4903 GB, free: 2.652 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001013/0.09729, allocations: 75.98 kB / 0.4904 GB, free: 2.578 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.807e-05/0.09735, allocations: 99.61 kB / 0.4905 GB, free: 2.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001175/0.09747, allocations: 211 kB / 0.4907 GB, free: 2.273 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003981/0.09787, allocations: 0.5175 MB / 0.4912 GB, free: 1.754 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.09787, allocations: 0 / 0.4912 GB, free: 1.754 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.09787, allocations: 0 / 0.4912 GB, free: 1.754 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.993e-06/0.09788, allocations: 3.938 kB / 0.4912 GB, free: 1.75 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001586/0.09947, allocations: 0.7904 MB / 0.4919 GB, free: 0.9102 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.0995, allocations: 8.031 kB / 0.4919 GB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.039e-05/0.09952, allocations: 12.62 kB / 0.492 GB, free: 0.8906 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.483e-05/0.09956, allocations: 54.72 kB / 0.492 GB, free: 0.8281 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.678e-05/0.09963, allocations: 40.7 kB / 0.492 GB, free: 0.7891 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00079/0.1004, allocations: 460.2 kB / 0.4925 GB, free: 304 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.1004, allocations: 20.44 kB / 0.4925 GB, free: 284 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.897e-05/0.1005, allocations: 19.98 kB / 0.4925 GB, free: 264 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004583/0.1009, allocations: 287.4 kB / 0.4928 GB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.1009, allocations: 3.938 kB / 0.4928 GB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.514e-05/0.101, allocations: 4 kB / 0.4928 GB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.467e-06/0.101, allocations: 8 kB / 0.4928 GB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005749/0.1015, allocations: 232.9 kB / 0.493 GB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002123/0.1037, allocations: 1.25 MB / 0.4943 GB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003958/0.1041, allocations: 130.5 kB / 0.4944 GB, free: 14.25 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003078/0.1044, allocations: 100.8 kB / 0.4945 GB, free: 14.15 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.439e-05/0.1044, allocations: 4 kB / 0.4945 GB, free: 14.14 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.773e-05/0.1044, allocations: 30.56 kB / 0.4945 GB, free: 14.11 MB / 366.1 MB Notification: Performance of pre-optimization done (n=8): time 1.042e-06/0.1044, allocations: 0 / 0.4945 GB, free: 14.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007672/0.1052, allocations: 249.5 kB / 0.4948 GB, free: 13.86 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.365e-05/0.1052, allocations: 55.41 kB / 0.4948 GB, free: 13.79 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004471/0.1057, allocations: 385.5 kB / 0.4952 GB, free: 13.4 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.434e-05/0.1057, allocations: 25.7 kB / 0.4952 GB, free: 13.37 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001837/0.1059, allocations: 212.1 kB / 0.4954 GB, free: 13.16 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.705e-05/0.1059, allocations: 31.75 kB / 0.4954 GB, free: 13.13 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/0.106, allocations: 57.64 kB / 0.4955 GB, free: 13.07 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000173/0.1062, allocations: 342.8 kB / 0.4958 GB, free: 12.72 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002611/0.1065, allocations: 95.94 kB / 0.4959 GB, free: 12.63 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002729/0.1067, allocations: 127.4 kB / 0.496 GB, free: 12.49 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004729/0.1072, allocations: 191.3 kB / 0.4962 GB, free: 12.29 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1072, allocations: 4 kB / 0.4962 GB, free: 12.29 MB / 366.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009852/0.1082, allocations: 360.8 kB / 0.4966 GB, free: 11.93 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.1082, allocations: 9.859 kB / 0.4966 GB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/0.1082, allocations: 8.094 kB / 0.4966 GB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004663/0.1087, allocations: 68.73 kB / 0.4966 GB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002992/0.109, allocations: 55.95 kB / 0.4967 GB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001683/0.1107, allocations: 1.566 MB / 0.4982 GB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003023/0.111, allocations: 31.86 kB / 0.4982 GB, free: 10.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.985e-05/0.111, allocations: 15.98 kB / 0.4983 GB, free: 10.03 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 (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * 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: Performance of prepare postOptimizeDAE: time 0.0001512/0.1112, allocations: 141.8 kB / 0.4984 GB, free: 9.879 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.938e-05/0.1112, allocations: 39.7 kB / 0.4984 GB, free: 9.84 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.148e-05/0.1113, allocations: 35 kB / 0.4985 GB, free: 9.805 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.1113, allocations: 3.938 kB / 0.4985 GB, free: 9.801 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.1113, allocations: 0 / 0.4985 GB, free: 9.801 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.1113, allocations: 4 kB / 0.4985 GB, free: 9.797 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009587/0.1123, allocations: 0.5966 MB / 0.4991 GB, free: 9.141 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1123, allocations: 4.031 kB / 0.4991 GB, free: 9.137 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001669/0.1124, allocations: 23.97 kB / 0.4991 GB, free: 9.113 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.1124, allocations: 4 kB / 0.4991 GB, free: 9.109 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.1124, allocations: 0 / 0.4991 GB, free: 9.109 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.1125, allocations: 0 / 0.4991 GB, free: 9.109 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.1125, allocations: 3.938 kB / 0.4991 GB, free: 9.105 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005124/0.113, allocations: 300 kB / 0.4994 GB, free: 8.793 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001248/0.1131, allocations: 120.9 kB / 0.4995 GB, free: 8.656 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.558e-05/0.1131, allocations: 0 / 0.4995 GB, free: 8.656 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002233/0.1134, allocations: 19.98 kB / 0.4995 GB, free: 8.637 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.29e-05/0.1134, allocations: 15.95 kB / 0.4995 GB, free: 8.621 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.092e-05/0.1134, allocations: 8 kB / 0.4995 GB, free: 8.613 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003021/0.1137, allocations: 259.2 kB / 0.4998 GB, free: 8.359 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1137, allocations: 0 / 0.4998 GB, free: 8.359 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003594/0.1141, allocations: 71.89 kB / 0.4999 GB, free: 8.289 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008844/0.115, allocations: 0.835 MB / 0.5007 GB, free: 7.426 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008203/0.1158, allocations: 339.5 kB / 0.501 GB, free: 7.078 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.1158, allocations: 0 / 0.501 GB, free: 7.078 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002151/0.116, allocations: 67.89 kB / 0.5011 GB, free: 7.012 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004953/0.1165, allocations: 73.52 kB / 0.5011 GB, free: 6.941 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004804/0.1213, allocations: 3.07 MB / 0.5041 GB, free: 3.766 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004029/0.1217, allocations: 0.7794 MB / 0.5049 GB, free: 2.961 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001851/0.1219, allocations: 42.94 kB / 0.5049 GB, free: 2.918 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001764/0.1221, allocations: 111.4 kB / 0.505 GB, free: 2.809 MB / 366.1 MB Notification: Performance of SimCode: time 7.51e-07/0.1221, allocations: 0 / 0.505 GB, free: 2.809 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02583/0.1479, allocations: 7.19 MB / 0.5121 GB, free: 11.8 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.76/11.91, allocations: 8 kB / 0.5121 GB, free: 11.8 MB / 382.1 MB " [Timeout remaining time 648] (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PhotoVoltaics_PhotoVoltaics_Examples_SimpleCellVoltageSource_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 PhotoVoltaics_PhotoVoltaics_Examples_SimpleCellVoltageSource.fmu > PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.554854588001035] Failed to read output from testmodel.py, exit status != 0: 12.063960114959627 12.091698765 11.988876811 Calling exit ...